devilsown Posted August 26, 2011 Share Posted August 26, 2011 RewriteRule ^(.+)-([0-9]+)\.html$ http://www.alcohol-injection.com/$2-$1.html [L] If i put above httaccess entry infront of this entry below thats already in the httaccess my site works perfect and all the old urls foward. But some products urls for the new site have numbers at the end. 305-dvc-30-stage-2.html which on the old system would have been dvc-30-stage-2-305.html. The New url has some issues and it not even accessable from the new sites url structer either. Kinda like there is something fighting each other there. RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L] If i put the top url after this one above than the site works as it normal does but my old urls don't foward. I would greaty aprecate anyones help. 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