: Removing "www." from domain name and SEO We are doing a big redesign work on our website, and at least 50% of the website folders will be moved to new places with different names (i.e. many
We are doing a big redesign work on our website, and at least 50% of the website folders will be moved to new places with different names (i.e. many URL will be changed). Sure, Google will need some time to index new pages and we expect our SERP positions will be not so good as they are now for some time.
We also have an old idea to remove www from our domain name. It seems, it's the right time to do these two works together with publishing the website with updated contents. Or is it better from SEO perspective first publish the new contents, and only after some time, when our SERP positions will return to prior results, tell Google that the domain name without www is our preferred domain name?
More posts by @Barnes591
2 Comments
Sorted by latest first Latest Oldest Best
You should first redirect all your old pages to the new ones via 301 redirect.
You can do this in the .htaccess (placed in your root public folder):
RewriteEngine On
# for redirection on the same domain
RewriteRule ^old-site$ /new-page [R=301,L]
# for redirection to a new domain
RewriteRule ^old-site$ www.new-domain.com/new-page [R=301,L]
To avoid duplicate content - which Google does not like! - you should also only allow one URL to access your website with www or without www!
# Redirect non-www visitors to in order to avoid duplicate content
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ www.yourdomain.com/ [L,R=301]
If I were you, I'll do all work at the same time to not to tell to Google your URL have changed twice. Indeed, changing URL structure can affect SEO; that's why it's good to change URL structure one time for good (and not often).
Otherwise, I confirm your actual SERP positions will be not so good for some time. In order to get back your SERP positions, obviously, don't forget to put all 301 redirects from old pages to new ones.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.