Forum Moderators: open
The reason I ask is because it seems like anything you do a search for, mostly pages with HTML extensions come up. I think that may be just because more people use that extension than anything else. But I thought I'd post here to see if anyone knew the answer to this question for sure. I am asking because if I find out that Google likes HTML pages better, that may have an influence on the file extensions the next site I build has.
Thanks!
webguy
Query strings are all the garbage showing up in url of some dynamic sites like :
www.domain.com/?epostz.cgi?action=reply&forum=3&discussion=8824.asp .
Search engines are improving but general consensus is to offer them URL without any special characters (Query strings) for better results.
category_33-2.php or any other URL similar does not actually exist on my server, rather I use mod_rewrite to redirect any request for a page starting with category_ to my real category page which is catalog.php. Then I just split up the variables and use the ID's to tell MySQL what to display. It's all database generated of course. I would recommend to anyone who is having trouble with search engines indexing their site because of query strings (mentioned above), to do some research on mod_rewrite to do something similar. Another option I had was to do this: category.php/33/2. The numbers mean the same thing, but they are separated by slashes instead. I like the category_33-2.php option better though. And it seems to work great for the search engines, however I just started doing this a few days ago, so I am still waiting on Google to crawl my new links.