andymontgomery Posted April 26, 2011 Share Posted April 26, 2011 Can someone please help me with this problem. BTW I'm using Prestashop V.1.4.0.17I wish to redirect an old page to a new one - The old page is HEREI've added the following to the very end of my .htaccess which is the following: Redirect 301 /buy/73-active.html http://www.softplanetgroup.com/buy/sound-engineering/57-made-easy-book-and-cd-rom.html It ALMOST works - except that when it arrives at the page it adds ?id_product=73 onto the end of the URL!This stops the correct URL displaying. Any ideas on how I can fix this?Help is much appreciated. Link to comment Share on other sites More sharing options...
shoulders Posted April 27, 2011 Share Posted April 27, 2011 try adding a questionmark on to the end of the destination url like Redirect 301 /buy/73-active.html http://www.softplanetgroup.com/buy/sound-engineering/57-made-easy-book-and-cd-rom.html? see here http://biostall.com/removing-the-query-string-from-a-htaccess-redirectshoulders Link to comment Share on other sites More sharing options...
andymontgomery Posted April 28, 2011 Author Share Posted April 28, 2011 Excellent Shoulders!Works a treat, now I can fix all my leaking visitors.Thank You. 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