Hello all. This topic seems (to me) to have the potential to be relevant to multiple forums...or maybe I've posted in the wrong one to begin with! Bear with me...
I'm working on a project and will have a lot of product information stored in a database. To make the site dynamic (not having to add physical pages each time I add a product) I'm thinking of just having one page that is a general product page and it gets called something like this:
www.example.com/product.aspx?id=1234
and all the page info will be filled displayed based on the id number.
However I would like the URL to show up as such:
www.example.com/product1234.aspx
or possibly use other fields in the DB to show up like this:
www.example.com/products/red/classic/1234.aspx
(not only show up in the address bar but be able to be accessed if somebody did a direct link to that.
I've never done this before but from a bit of looking around and what I've seen other places, I'm guessing this could be done. On an apache server I'm guessing a mod rewrite would do this but I'm on windows...so my questions are:
1) How do I do it (is it even done within the C# pages or elsewhere on the server?)
2) How does this affect SEO (either way...with the "clean" vs. "dirty" URL)
Thanks,
Chris
[edited by: marcel at 5:49 am (utc) on Jun 8, 2010]
[edit reason] examplified URLs [/edit]