Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17

    Google indexing past the '?' in php


    A little while ago there was some discussion here about Google (and all search engines) being unable to follow links containing the dynamic '?' in them. I have been preparing to add an entire section to my site, with links that did not contain any ? pointing to duplicate pages of the dynamic pages.

    But just now, I decided to check on this, and entered "The Legend of Te Tuna" into Google (a book which only exists on a dynamically generated page on our site), and Google gave me this as the 8th listing:

    www.pbagalleries.com/live/sale_details.php?s=256 - 37k - Jan. 29, 2003 - Cached - Similar pages

    So it seems that they can, and do, index past the question mark, after all.
  2. #2
  3. King of da Wackos
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Jan 2003
    Location
    Planet Zeekois
    Posts
    680
    Rep Power
    17
    I got a vBulletin board and there not linking to any of the pages except the index.
  4. #3
  5. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    This could just be Google's decision of what to index on your site, though. As I mention in my other recent posting, Google only indexes a few pages in each directory for me, and the rest they pass by (even though there is really good content on the non-indexed pages). This is not due to any inability to read past the questionmark, though.
  6. #4
  7. Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jan 2003
    Location
    Madrid, Spain
    Posts
    1,382
    Rep Power
    18
    Also, session id's aren't currently followed, even if there are limited parameters.

    And lastly, dynamic URL's with several parameters can easily be made search engine friendly on Apache servers, using.htaccess.

    Gringo.
  8. #5
  9. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    using mod_rewrite... that's a good idea, I'll look into it. tx.

    H.
  10. #6
  11. Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jan 2003
    Location
    Madrid, Spain
    Posts
    1,382
    Rep Power
    18
    The concensus seems to be that Google will index dynamic URLs with a maximum of 2 parameters.

    Although I still think the mod_rewrite option is the best.

    Gringo.
  12. #7
  13. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Posts
    76
    Rep Power
    17
    I have a bunch of sites that have this, and through PHP you can actually trick the bots into thinking your website has static, rather than dynamic content. This way, google indexes ALL of your site.

    http://www.zend.com/zend/spotlight/searchengine.php

    that is the link to it. through this you can do page.php/var1/var2. you can also take out the .php and use a .htaccess to force your server to use php, and you will get page/var1/var2.

    if you can't do this... have no fear. google will still index your dynamic pages, but it will stop after a while (on google.com it says this is because it will crash your site)
  14. #8
  15. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    I'm trying to set up a mod_rewrite in .htaccess, as Gringo suggested on Friday for making dynamic links look like straight links. I'm getting an apache error that shows up in my error log as this:

    htaccess: Options not allowed here.

    Does anyone what option I have to have chosen in httpd.conf to allow mod_rewrite? Here's what it looks like currently:

    <Directory "/var/www/html">

    Options Indexes Includes FollowSymLinks

    AllowOverride AuthConfig

    Order allow,deny
    Allow from all
    </Directory>

    Thanks for any help.

    Homer
  16. #9
  17. Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jan 2003
    Location
    Madrid, Spain
    Posts
    1,382
    Rep Power
    18
    Are you sure that mod_rewrite is installed on your server?

    Check out this page for the basics ...
    http://www.fluidthoughts.com/howto/mod_rewrite/

    Gringo.
  18. #10
  19. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    I had to change the AllowOverride from AuthConfig to All. Now it works. That's a good page for explaining mod_rewrite - thanks.

    H.
  20. #11
  21. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Posts
    76
    Rep Power
    17
    I don't even bother with editing apache config file-

    just stick the following into ur .htaccess file of that directory and ur set -

    <Files filenamegoeshere>
    ForceType application/x-httpd-php
    </Files>
  22. #12
  23. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    I already modified the httpd.conf file, and tested everything, and it works beautifully. Fomerly URL was

    /search/item.php?anr=126106&

    ...now is...

    /search/item126106.php?

    easier for people to read and type in, too.

    Thanks

    Homer
  24. #13
  25. King of da Wackos
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Jan 2003
    Location
    Planet Zeekois
    Posts
    680
    Rep Power
    17
    The ? isn't needed.
    http://www.pbagalleries.com/search/item126106.php works.
  26. #14
  27. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2003
    Location
    No. Cal.
    Posts
    67
    Rep Power
    17
    true, it does.

    There are other variables that get passed though, depending on the situation, like session id's, so it's necessary sometimes.
  28. #15
  29. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jan 2003
    Location
    NC
    Posts
    120
    Rep Power
    17
    I am surfing today and coming across some interesting links, here's some for this topic:

    Dynamic Web Page Optimization:
    http://spider-food.net/dynamic-page-optimization-b.html

    Apaches rewrite rules:
    http://httpd.apache.org/docs/mod/mod_rewrite.html
    that tell Apache how to translate slash-separated URLs into a format used by their Netzyme http://www.creativescience.com/index.html application server. Not only are the rewritten URLs crawlable by all search engines, they're also more human-friendly, making them easier to pass around the Net.

    this came from WebMonkey
    http://hotwired.lycos.com/webmonkey/...?tw=e-business
Page 1 of 2 12 Last
  • Jump to page:

Similar Threads

  1. Google indexing php pages?
    By confiden in forum Google Optimization
    Replies: 16
    Last Post: Nov 12th, 2004, 02:44 PM
  2. Google Friends Newsletter December
    By Phoenix in forum Search Engine Optimization
    Replies: 1
    Last Post: Dec 5th, 2003, 11:50 PM
  3. Google End?
    By analogik in forum Google Optimization
    Replies: 12
    Last Post: Sep 17th, 2003, 07:37 PM
  4. Buzz abounds on Google IPO
    By ctn in forum Google Optimization
    Replies: 0
    Last Post: Jun 14th, 2003, 10:20 PM

IMN logo majestic logo threadwatch logo seochat tools logo