Web Development > Web Development

Homepage with many 301 redirects

(1/1)

rizztourandtravels:
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.

amitdigital:

--- Quote from: rizztourandtravels on September 26, 2021, 04:55:00 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.

--- End quote ---

Ok Agree with you.

Diabetic Retinopathy Treatment l Retinal Detachment Treatment l Retinal Detachment Surgery l Retina Laser surgery l Best Eye Hospital in Gurgaon l Best Eye Hospital in Delhi

amitdigital:
A 301 is used when a page has permanently changed location, and a 302 should be used if you intend to move the page back under the original URL in the future. In general, you should expect to use 301 redirects on your website.

School Transport Management App for drivers & conductors l School bus tracking app for parents l School Bus Tracking & Monitoring Solution l School Bus Fleet Management & Tracking System l  School Transport Management System

HazellCormier:
An interesting dialogue is worth comment. I believe that it is best to write more on this matter, it won't be a taboo subject but typically people are not sufficient to speak on such topics. To the next. Cheers**** sites list

Navigation

[0] Message Index

Go to full version