SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Google refuses to index one set of dynamic pages

  1. #1
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Google refuses to index one set of dynamic pages

    A few months ago I updated a clients site (tpm-inc.com) to use WordPress. Since then google has indexed everything on the site, with the exception of one set of dynamic pages.

    I have a file, parts.php that generates pages for machines and manufacturers. This uses URLs like below to pull the relevant information from the database and generate the page.

    http://tpm-inc.com/parts/manufacturer/baader/
    http://tpm-inc.com/parts/baader/600/

    Google has indexed the parts page itself (ie - http://tpm-inc.com/parts/), but not one of the dynamic pages created by it.

    I have all of the dynamic pages listed in the sitemap, and I'm not seeing any crawl errors, problems with my robots.txt file, or any other issues in webmaster tools.

    Bing and Yahoo have indexed these page, but google doesn't like them and I'm at a loss as to why. Any help would be greatly appreciated.

  2. #2
    Mouse catcher silver trophy
    SitePoint Award Recipient Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,205
    Mentioned
    67 Post(s)
    Tagged
    1 Thread(s)
    It's because you have
    Code:
    <link rel="canonical" href="http://tpm-inc.com/parts/" />
    in the head of each generated page. That tells Google* that this page is a variant of /parts/ and that you would like it to send people to /parts/ instead of this page, please and thank you.

    Get rid of that line, and Google will start to index all those pages separately.

  3. #3
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, you are my hero!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •