View Single Post
Old 12-28-2022, 12:11 AM  
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Quote:
Originally Posted by mrmister View Post
Hmm it's showing two redirects

So a 301 from http to HTTPS://domain and then another to HTTPS://www.domain

Would a page rule bypassing that help?
Just enter the naked domain name in the tool. So, domain.com
Check the canonical box.

You should see 4 results, typically. Three of the results will show 2 status codes, 301 and 200. The version of the domain you are redirecting other versions to will have a single status code of 200.

You should be 301 redirecting similar to this:
Code:
http://domain.com to https://domain.com
http://www.domain.com to https://domain.com
https://www.domain.com to https://domain.com
You don't want 2 redirect chains like you suggested.
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote