I have a set of C # anchors links pointing to one web page, and I would like to smoothly switch to a model with a separate web page for each of these links. I want the old links to continue to work using redirects.
Old link style:
/all_products
/all_products
/all_products
New link style:
/products/A
/products/B
/products/C
I know that the server does not get the name #anchor in the request, but Javascript can.
Is it possible to automatically redirect from / all _products # A to / products / A using Javascript?
JQuery will be fine, it is still used on the site.
source
share