: Is it OK that I submitted sitemaps for www and no-www? I have submitted two sitemaps of the same website. One for www and one for no the www version of my website. Should I delete one of
I have submitted two sitemaps of the same website. One for www and one for no the www version of my website.
Should I delete one of the 2 sitemaps on the URL with redirect? In that case I would leave the sitemap to version no-www.
Is anything else I should do?
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
Create a sitemap containing URLs for the non-www version of the site that you want indexed. Anyone who accesses the www version should get redirected to the non-www version of the same URL.
If your server is apache with mod_rewrite installed, you can modify your server configuration so it also contains the following lines:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ example.com/ [R=301,L]
That way, the redirect will happen very quickly if someone requests the www version of your site.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.