.htaccess - How with an htaccess can I redirect an url to a different one -
how can htaccess file redirect old url new one?
example:
from: http://www.website.com/product/1283794 (requested)
to: http://www.website.com/ecom/product/1283794 (rerouted)
add htaccess file in document root:
redirect 301 /product/1283794 /ecom/product/1283794 pretty easy isn't it? should take @ mod_alias documentation. it's pretty cut , dry, , obvious.
Comments
Post a Comment