Forum Moderators: open

Message Too Old, No Replies

Product Name in URL when product clicked?

Product Name in URL when product clicked?

         

plenusvita

3:41 pm on Jan 15, 2007 (gmt 0)

10+ Year Member



Hi everyone,

Apologies if I waffle on about this but it is quite hard to explain in brief, so here goes...

My site sells over 500 products. When a particular product is clicked on the URL shows the following - [(my...] domain)/detail.asp?ID=2&PID=3337 ( for example ) - now obviously there are no keywords or product names in the URL.

How can I change it so that the product category and sub category / product name are rendered out in the URL - e.g.http://(my domain)/category name/product name? - for example [(my...] domain)/fishing rods/plastic rod 1.asp

Do I need to do any URL masking or filename masking - or is this frowned upon?

Do I need to be appending strings or query strings?

<snip>

Thank you in advance for your help and I look forward to hearing from people as and when convenient to you.

Kind regards,

Kev.

[edited by: bill at 4:59 am (utc) on Jan. 16, 2007]
[edit reason] see sticky mail [/edit]

Hansi

8:22 pm on Jan 16, 2007 (gmt 0)

10+ Year Member



I think it is impossible to do this with ASP. A trick is to use the 404 page (page not found). You could ask the address in the header and redirect.

In .Net 1.0 you could use URL Rewriting
In .Net 2.0 URL mapping (much more simple)