bartman Posted June 3, 2010 Share Posted June 3, 2010 trying to redirect some old oscommerce urls to new prestashop site on the same domain nameorginal url is as followshttp://www.glosticks.co.uk/product_info.php?products_id=48Trying to do a 301 tohttp://glosticks.co.uk/6-inch-glow-sticks-bulk/48-6inch-glow-sticks-bulk-qty-24.htmlIn my .htaccess I have the following redirect 301 /product_info.php?products_id=48 /6-inch-glow-sticks-bulk/48-6inch-glow-sticks-bulk-qty-24.html but this does not work, I get a 404 errorI would imagine its caused by the query string in the urlany one have any ideasregardsChris Link to comment Share on other sites More sharing options...
bartman Posted June 3, 2010 Author Share Posted June 3, 2010 solved this works with a query string RewriteCond %{QUERY_STRING} ^products_id=48$ RewriteRule ^product_info.php$ /6-inch-glow-sticks-bulk/48-6inch-glow-sticks-bulk-qty-24.html? [L,R=301] 1 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