son Posted August 16, 2011 Share Posted August 16, 2011 I have the script Options +FollowSymlinksRewriteEngine OnRewriteRule ^files/([^/]+)\/index.php files/index.php?id=$1 [NC] working fine, but struggle with some fine-tuning.I would like to skip 'files/' altogether, but trying things like RewriteRule ^([^/]+)\/index.php files/index.php?id=$1 [NC] does not work.Also, there are occasions where user might just enter www.domain.co.uk/$1. How can I make sure those also get to $1/index.php?id=$1?Son Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.