PDA

View Full Version : Homepage with many 301 redirects



anjali raghav
09-26-2021, 06:54 PM
At a new wordpress website, I have noticed that when putting the domain.com at a browser, we get these 2 redirects:
[.........com...]
The second redirect is because of the Polylang plugin.

If we try the domain as www.domain.com then we get a 302 redirect to the https www domain.com en home version.

How can we fix these 2 issues?
From the first type, to remove one of the 2 redirects.
From the second type, to replace the 302 with a 301 redirect.

hoststud
09-27-2021, 11:28 AM
If you are getting this issue then first you have to check your Wordpress Address and Site Address in Wordpress Dashboard.
You can check this in :
Login to Wordpress >> Settings >> General Settings >> Here you can check.

If still you are getting issue then you can check .htaccess file and plugins too.
You can check complete steps to resolve too many redirects error (https://hoststud.com/resources/resolved-error-err_too_many_redirects-in-wordpress.466/).

laragiles
09-28-2021, 02:01 AM
A 301 redirect indicates the permanent moving of a web page from one location to another. The 301 part refers to the HTTP status code of the redirected page. In simple terms, a 301 redirect tells the browser: “This page has moved permanently.