pberce Posted January 30, 2012 Share Posted January 30, 2012 I want to setup a rewrite rule that changes the URL for 1 specific product, I've done some searching and I've tried many things with no luck, can anyone offer a suggestion? the default rewrite rules change this:mydomainname.com/product.php?id_product=41 to this:mydomainname.com/41-productname.html I want to transform this specific product from this:mydomainname.com/product.php?id_product=11 to this:mydomainname.com/try-me/ Do you have to setup a RewriteCond to exclude it from the current product rewrite? I tried this with no luck: RewriteRule ^try-me/$ /product.php?id_product=11 [NC,L] And do I have to change code in the Link class to accomodate this? any suggestions would be appreciated. Link to comment Share on other sites More sharing options...
pberce Posted January 31, 2012 Author Share Posted January 31, 2012 anyone?? Bueller?? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 24, 2012 Share Posted April 24, 2012 Hi pberce, You can find a good guide on this topic here. I hope this helps. -Mike 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