#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2013
    Posts
    5
    Rep Power
    0

    Angry Google still index my old file


    Previously my website all pages use .html but recently i've updated all to .php for programming purpose.
    I've already submit my sitemap in google webmaster tools. However, in the webmaster tools crawl errors still show all the html missing file

    Googlebot couldn't crawl this URL because it points to a non-existent page. Generally, 404s don't harm your site's performance in search, but you can use them to help improve the user experience. Learn more
    and in google search result still manage to find the old html link.
    Can anyone advise me how to let google crawl all my new url?
    Thankssss.
  2. #2
  3. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2007
    Location
    Jamaica
    Posts
    69
    Rep Power
    8
    301 your old url to new url in your .htaccess file.

    Example:
    Code:
    Redirect 301 /oldurl.htm http://www.site.com/newurl.php
    After sometime google removes your old link from its index.

    .
  4. #3
  5. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2013
    Posts
    5
    Rep Power
    0
    Thanksssss
  6. #4
  7. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Aug 2013
    Posts
    43
    Rep Power
    5
    Agreed, using a 301 redirect from the old URLs to the new URLs should do the trick but, it does take some time for Google to update its index. Make sure that your internal linking within the site is also updated to link directly to the new URLs rather than the old URLs and relying on the redirect to bring the user to the new page, if your internal links are not updated or 301 redirected properly it can create crawl issues by sending Googlebot to non-existent URLs.

Similar Threads

  1. Rouge Index.htm file
    By webworksie in forum Google Optimization
    Replies: 0
    Last Post: Jan 8th, 2012, 02:02 PM
  2. What is sitemap index file? how to create sitemap index file?
    By rohit_tripath60 in forum Google Optimization
    Replies: 4
    Last Post: Jun 19th, 2008, 06:59 AM
  3. Point index file to directory
    By Design1 in forum Google Optimization
    Replies: 1
    Last Post: Sep 15th, 2006, 06:26 PM
  4. Adding Index.html file
    By bbb1 in forum Google Optimization
    Replies: 3
    Last Post: Feb 19th, 2005, 07:09 PM
  5. Does Google index by file extension or header content-type?
    By DrQuincy in forum Google Optimization
    Replies: 1
    Last Post: Dec 7th, 2004, 06:31 AM

IMN logo majestic logo threadwatch logo seochat tools logo