homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

How To Remove https:// URLs from Google Index

5+ Year Member

Msg#: 3650934 posted 7:22 am on May 15, 2008 (gmt 0)


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



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

Msg#: 3650934 posted 4:00 pm on May 15, 2008 (gmt 0)

The key is having a different robots.txt file at https://www.example.com./robots.txt - 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.


5+ Year Member

Msg#: 3650934 posted 4:44 pm on May 15, 2008 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved