Mobile app version of vmapp.org
Login or Join
Si4351233

: SEO: change site address from http://www. to https:// My site was indexed as http://www.example.com. Purpose: I would like to make a change to https://example.com Question: Can you please give

@Si4351233

Posted in: #GoogleSearch #GoogleSearchConsole #Https #NoWww #Seo

My site was indexed as www.example.com.
Purpose: I would like to make a change to example.com
Question: Can you please give me a hint if I'm doing this in the best possible way?

What I've done:


I've made permanent redirection (301) from www.example.com and example.com to example.com
I've created 2 sitemaps:


sitemap_w.xml - which includes links like www.example.com/some-page1/, www.example.com/some-page2/ etc. - I'm not sure if I should use https here too?
sitemap_s.xml - which includes links like example.com/some-page1/, example.com/some-page2/ etc.



and included both of them in robots.txt


In Google Search Console I've added www.example.com and example.com. For all of existing versions (http://www too) I've changed preferred domain to non-www.
In Google Search Console I've updated robots.txt and added both sitemaps:


for www.example.com I've set sitemap_w.xml
for www.example.com I've set sitemap_s.xml



This is all I've done. Should I change something? Did I forget about any significant factor?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

When you migrate your site from http to HTTPS, then make sure, you do 301 redirection to all files even for XML sitemap.

By giving two sitemaps, google just waste their crawling time, and it may cause some little delay to index your all webpages.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme