URL canonical for all sites
I just noticed by default all sites on Cpanel don't domain.com www.domain.com. Rather than do a .htaccess rule for each site how can I change it to the default for all website to redirect 301 domain.com to www.domain.com? Or is it better practice to do it the other way around? It seems Google defaults to www when you do have redirection setup so I figured best to redirect to what Google defaults to.
p.s. I have modsecurity running
-
I just noticed by default all sites on Cpanel don't domain.com www.domain.com.
Hello :) The "www" alias is added by default. Could you provide an example of what you are attempting to configure? For instance, are you attempting to configure a redirect to ensure the "www" prefix loads by default when accessing the "non-www" prefix in your web browser? Thank you.0 -
How do I edit canonical url in Sitejet ? instead of my usual https://www url, google seach console is picking," .....preview.sitehub.io/", as my url and it can not index my home page . how do I go about this kindly help
0 -
Joseph Muwowo - it's usually best to open a new thread when it's already several years old.
We have details here about how you can adjust that inside Sitejet: https://support.cpanel.net/hc/en-us/articles/21538913830423-How-do-I-move-or-change-a-SiteJet-domain-or-URL
0
Please sign in to leave a comment.
Comments
3 comments