: 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
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?
More posts by @Merenda212
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.