Mobile app version of vmapp.org
Login or Join
Murray432

: 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

@Murray432

Posted in: #Https #Sitemap

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)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Yeniel560

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme