bearsfoot Posted November 24, 2009 Share Posted November 24, 2009 Hi, I have the following rule : RewriteRule products/(.*)/ /pages/index.php?view=products&id=$1 which rewrites http://www.mysite.com/products/1/ into http://www.mysite.com/pages/index.php?view=products&id=1 However, if i just want to remove the trailing slash from the url. Eg .. http://www.mysite.com/products/1 I have tried the following rules, but the end result is always 'Request exceeded the limit of 10 internal redirects'. RewriteRule products/(.*)$ /pages/index.php?view=products&id=$1 RewriteRule products/(.*) /pages/index.php?view=products&id=$1 Is this a server configuration problem ? The rule seems ok ? Thanks. Quote 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.