evolutionet Posted October 12, 2010 Share Posted October 12, 2010 Hi guys, I migrate from oscommerce to prestashop. I wanna use htaccess and mod_rewrite for avoiding SEO problems.How can I set this rule?old urlhttp://www.dominio.com/product_info.php?products_id=108to new onehttp://www.dominio.com/shop/product.php?id_product=108where 108 is the product ID and should be a variable like 10 or 100 or any nymbers.Thanks in advice.S Link to comment Share on other sites More sharing options...
Maximus2010 Posted October 12, 2010 Share Posted October 12, 2010 this article will help you.http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html Link to comment Share on other sites More sharing options...
evolutionet Posted October 12, 2010 Author Share Posted October 12, 2010 Thanx Max,if I've understood should be something like:RewriteEngine onRewriteRule ^product_info.php?products_id=([0-9]+)$ /shop/product.php?id_product=$1 [R=301,L]Can you confirm?Thanks again.S Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now