Mobile app version of vmapp.org
Login or Join
Vandalay111

: Should I use HTTPS in sitemap URLs for SEO? Google states that they prefer HTTPS in canonical URLs: Google prefers HTTPS pages over equivalent HTTP pages as canonical (ref) What about the

@Vandalay111

Posted in: #Https #Seo #Sitemap #XmlSitemap

Google states that they prefer HTTPS in canonical URLs:


Google prefers HTTPS pages over equivalent HTTP pages as canonical (ref)


What about the pages in sitemap.xml? Does it help SEO to use HTTPS URLs there as well?

I've searched Google and Yoast (SEO blog) but am unable to find an answer one way or the other.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

If you run full SSL site then yes, you should use HTTPS for every link, anywhere and everywhere. This means all content, all menus, all XML, all RSS, all assets, all redirects, etc. And yes this does affect SEO because it's 1 less 301 redirect when they are put directly into SSL mode.

Google does not like to be redirected around too much. There are (un)official statements through the years that assimilate Gbot getting annoyed around 5 redirects. 0 redirects is better than 1 redirect, therefore better for SEO.

Another thought on SSL, imagine you have a platform that automagically updates urls when you change them on an item. There is an old link laying around somewhere that goes to a page/item that you have changed the url of like 4 times. When Gbot visits the old link, it's chained into https, followed by 4 redirs chained through the automagic 301 maker. You just hit 5 redirs. If your automagic url crafter had used https, you would still be "below the limit".

10% popularity Vote Up Vote Down


 

@Karen161

Your sitemap should include the links you want search engines to find and index. If you're providing HTTPS canonicals then this is what should be included in the sitemap. Giving a HTTP in your sitemap and a HTTPS in your canonicals & internal links could be misleading to search engines.

What you shouldn't do is include both. sitemaps.org answers that question:


My site has both "http" and "https" versions of URLs. Do I need to list both?


with:


No. Please list only one version of a URL in your Sitemaps. Including multiple versions of URLs may result in incomplete crawling of your site.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme