Please forgive the confused newb musings I'm about to spout.
Google states that it doesn't like indexing dynamic pages, but I don't really want to develop my website in such a way that I need a static file published every time I update the content via the DB.
I imagine that google prefers indexing www.example.com/products/stetsons/ to: www.example.com/shop?product=stetsons and that if I can use the webserver to rewrite a request for www.example.com/products/stetsons/ to www.example.com/shop?product=stetsons I can please google and keep my website maintenance requirements to a minimum.
I imagine this, but then I know near to nothing about HTTP headers , the Apache webserver and webness in general. Am I right, and if so, what can do to perform the rewrite.
Thanks for any help you can give me, and apologies if this has already been covered.
D


LinkBack URL
About LinkBacks



Reply With Quote
) Basically it is telling the server that, whenever it sees a URL that starts with "products/," it should take whatever appears after the "/" and stick it into a query string variable called products. The QSA in brackets tells the server taht we are modifying the query string (so it will be sure to process it) and the L tells the server that we've done everything we want to do. Without the L, if there were more RewriteRules after this one, those would also be processed and might do things to our new URL that we don't want.

Bookmarks