View Full Version : Small Issue With Simple .htaccess Redirect

06-23-2010, 08:36 PM
I am trying to get the following URL's:


To redirect to:

Current Code:

Options +FollowSymlinks
RewriteEngine on

RewriteRule ^folder/([0-9]+)/$ /folder/index.php?a=$1 [L]
RewriteRule ^anotherfolder/([0-9]+)/$ /anotherfolder/index.php?a=$1 [L]

The above code redirects to my the homepage of my site, whereas if I change the redirects to http://mysite.com/anotherfolder/index.php?a=$1 [L]

It does work but it actually redirects the user but I don't want to do that, I want to keep the URL friendly which is where I thought that the [L] would work.

Any ideas on how to fix this?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum