: If a website is accessed on HTTPS instead of HTTP, should the URLs on the sitemap be HTTPS or HTTP? I have changed my website from HTTP to HTTPS. At this moment, I have the next rewrite
I have changed my website from HTTP to HTTPS.
At this moment, I have the next rewrite rule working to redirect calls for HTTP to HTTPS:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ example.net/ [R,L]
Should I write the URLs on the sitemap with HTTP or with HTTPS? (including the homepage)
More posts by @Murray432
1 Comments
Sorted by latest first Latest Oldest Best
The sitemap should reflect the way pages should be accessed, if you want them to be accessed by HTTPS, then yes, that is what you have to do. Otherwise, you are just making the server work a bit extra each time it's crawled.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.