View Full Version : Search engines and dynamic pages

12-19-2002, 02:24 PM
Just a quickie, confirm or deny :D

I like to build my sites around an index page, which is written in php (index.php). Every visitor goes through that page, and the actual content delivered depends upon values sent through the URL.

For instance, to view news, it would be index.php?page=news

This allows me to ensure that the user always has all the necessary info displayed, and also that if the page is bookmarked, it will always return to the right place even if the location of the pages has moved.

I like this method and it works very well for me, however I was recently told by someone that my method is "very bad" when it comes to search engines.

I was told that a search engine would not be able to index the pages that rely on dynamic content, such as the news page, and that they would only ever look at index.php on its own i.e. the home page.

I thought about this for a while, and at first it seemed stupid, because the way users get to my other pages is to follow links, and AFAIK search engine spiders do the same... they follow links on one page and then index that page. However, I also realised that because my page is always index.php, maybe they will only ever see that as one page :eek:

Seeing as I am not to hot on this, I went to webmaster world for a browse around but there is so much there it would waste a lot of time looking, and I am sure someone here (zoobie perhaps?) knows the answer.

Cheers :thumbsup:

::] krycek [::

12-19-2002, 02:54 PM
Might not be the best example...


12-19-2002, 09:30 PM
I think Nightfire's link discusses most ways to do dynamic pages. Personally, I make my pages relatively simple because I don't want to bloat the code.

I don't have any dynamic content (news, weather, sports) on my sites because I'm mainly a graphics freak who just hangs out here in the Coding Forums.:D

One interesting note I just read is that the major search engines won't index your page if there's just one broken link.

Use the Simm's Spider (http://www.webmasterworld.com/redirect.cgi?f=5&d=1582&url=http://www.searchengineworld.com/cgi-bin/sim_spider.cgi) to see what the search engines see when they crawl your site.