Mobile app version of vmapp.org
Login or Join
Merenda212

: Seo procedure for url mapping I am moving my site from http to https. Currently google has indexed about 800 urls out of 157000 urls which is provided in my sitemap xml.(sitemap links of a

@Merenda212

Posted in: #Https #Seo #Sitemap

I am moving my site from http to https.
Currently google has indexed about 800 urls out of 157000 urls which is provided in my sitemap xml.(sitemap links of a particular page : domain.com/username)
Do i have to create a url mapping as stated in webmaster help.
If yes then what is the process of url mapping is details and how do i submit it via search console without affecting the old indexed urls?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

As long as the only thing that you are changing is moving to https, then all that you would need to do is add the following code to your .htaccess file, and make sure that is is above everything else (if you already have code on the .htaccess):

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ www.example.com/ [R,L]


Be sure to replace example.com with your actual domain name.

Next, be sure that all versions of your website are verified in Google Console. This includes the www version, non-www version, as well as the ssl-www version, and the ssl-non-www version. Be sure to tell Google which version of the 4 is the preferred version.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme