(weak english)
Friends Today I have added ssl in my website but how I add my https site in webmaster tools. Do I need to delete http site.
please help me
Thanks in Advance
Hello, I just switched to https also. With webmaster tools you need to delete your old XML sitemap and make a new one with https links then submit to Google.
I also have an HTML sitemap. I changed all of the links to https.
Another thing that you should do is add the canonical Meta tag. This may help because until your http links disappear from the search results because Google will see 2 pages with Duplicate content Example:
<link rel="canonical" href="yourwebsite DOT com" />
If you have many pages like I do it may take a long time for the http links to disappear from the SERPS.
With WordPress it maybe different but in my .htaccess file I added this.
Options +FollowSymLinks ---->>>(Do Not add these 3 lines if they already exist.)
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
This will forward all your links site-wide. My site is HTML with no CMS.
Now if you have an old domain with lots of old established backlinks you want to make sure that you get all of your backlink Juice to your https links.
I also added this to my .htaccess.
RewriteCond %{HTTP_HOST} ^yourwebsite DOT com [OR,NC] ---->>>( put your website information and replace DOT with . of course)
RewriteCond %{HTTP_HOST} ^www.yourwebsite DOT com
RewriteRule ^(.*)$ https://www.yourwebsite DOT com/$1 [R=301,L]
This will make sure that your backlinks with and without www transfer to your https links.
Also if you are like me and built many many good backlinks to pages in your site that no longer exist then add this to your htaccess:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . / [L,R=301]
This will transfer backlink power from now non-existing or 404 pages to your root home page. Many do not use this or realize how powerful this can be. I am still waiting the 2-3 week wait period to see what happens in Google.
I write all my HTML , CSS and PHP code from scratch using Notepad. I really do not like Wordpress it is mainly for non coders.