DAVID3733 Posted April 25, 2011 Share Posted April 25, 2011 Hi there wonder if there is any body outthere who can advise on Rewrite rules in ht.access what i am trying to do is a 301 on http;//www.mydomain.com/sometext-p-999.html?language=URL_LANGUAGE to http;//www.mydomain.com/sometext-p-999.html and from http;//www.mydomain.com/filter_printer.php?filter=333 to http;//www.mydomain.com/filter_UPS.php?filter=666 This is what i have but neither are working Options +FollowSymLinks RewriteEngine On RewriteRule ^(.+)-p-(.+)\.html\?language=URL_LANGUAGE$ $1-p-$2.html [R=301] RewriteRule ^filter_printer\.php?filterid=333$ filter_ups.php?filterid=666 [R=301] I think i must be close but no gold star, spent a good few hours googling but to no avail thank you for reading David Quote David Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.