Site has indexed pages that no longer exist

Discussion in 'Co-op Advertising Network' started by cindos, Mar 22, 2005.

  1. #1
    Is there any way to get a site validated if google still has a bunch of pages indexed that no longer exist? I've removed all the static html pages and replaced them with .php pages, but it won't let me validate the site as it keeps saying the html pages don't have the ads on them. I'm guessing this is because those static html pages are still indexed by google. Any help on this would be greatly appreciated.
     
    cindos, Mar 22, 2005 IP
  2. honey

    honey Prominent Member

    Messages:
    15,555
    Likes Received:
    712
    Best Answers:
    0
    Trophy Points:
    325
    #2
    do a .htaccess based redirect from .html to .php
     
    honey, Mar 22, 2005 IP
  3. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I believe you can go here to remove a page from google's index.
     
    wendydettmer, Mar 22, 2005 IP
  4. cindos

    cindos Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the help folks. I'd rather have the php versions anyways as they're easier to alter. I'll go through and get the old html ones booted out of google.
     
    cindos, Mar 23, 2005 IP
  5. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Options +FollowSymLinks
    rewriteEngine on
    rewriteCond %{HTTP_HOST} !^www\. [NC]
    rewriteCond %{HTTP_HOST} ^(.*)\.domainname\.com [NC]
    rewriteRule (.*) http://www.domainame.com/%1/$1 [R=301,L]


    I have used this for my own, for my subdomain pages to redirect them to where they are now. So i would preferably use a htaccess file instead of deleting them manaully.
     
    crazyhorse, Mar 23, 2005 IP