chantown Posted October 29, 2008 Share Posted October 29, 2008 Hello there, I have a mod rewrite that doesn't seem to work Options +FollowSymLinks (optional) Options +Indexes (optional) RewriteEngine On RewriteRule ^/([0-9a-z])$ /?code=$1 [L] Basically, I would like www.domain.com/stuff123 ------> www.domain.com/?code=stuff123 Can someone find anything wrong with my code? Thanks! Quote Link to comment Share on other sites More sharing options...
rocoso Posted October 29, 2008 Share Posted October 29, 2008 I think you have to have the file name in there Quote Link to comment Share on other sites More sharing options...
chantown Posted October 29, 2008 Author Share Posted October 29, 2008 Well, even with this it doesn't really work: RewriteRule ^/([0-9a-z])$ /index.php?code=$1 [L] 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.