Welcome to WebmasterWorld Guest from

Message Too Old, No Replies

How To Remove https:// URLs from Google Index



7:22 am on May 15, 2008 (gmt 0)

5+ Year Member


Just a quick tips required

Can I use Google Web Master Tool to remove https:// web pages if they index in Google Search Engine I don't know by doing that my http:// page will also remove


4:00 pm on May 15, 2008 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The key is having a different robots.txt file at [example.com....] - you need that to get the removal tool to work. Details are in this thread: Removing https pages from Google with robots.txt [webmasterworld.com]. You can find thread along with other key discussions in the Hot Topics [webmasterworld.com], which is always pinned to the top of this forum's index page.

Another possible approach mentioned in that thread - and the one I prefer when setting up a new site - is only to apply the secure certificate to a dedicated subdomain, such as secure.example.com.


4:44 pm on May 15, 2008 (gmt 0)

5+ Year Member

The following worked for us. For a while the PR was being destributed to both versions. Now it's back to normal.

If you're on Apache then:

1. Make sure mod_rewrite is enabled.
2. Create a second robots.txt, call it robots_ssl.txt, for example.
3. Dissalow Google or any other robots or all robots in that new robots file.
4. Upload that new robots file to the root of your domain.
5. Add the following to your .htaccess file:

RewriteEngine on
Options +FollowSymlinks
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt


Featured Threads

Hot Threads This Week

Hot Threads This Month