Forum Moderators: phranque
I have a site that I want the end user to type in http://example.com/123/ or http://example.com/234. This is what I have for a .htaccess:
RewriteEngine On
RewriteRule signups/(.*)/ index.php?story=$1
RewriteRule signups/(.*) index.php?story=$1
It kind of works, my problem is that it affects all my files, so I can not go to http://example.com/file2.php. My variable story is only going to be integers, so that should help things. I'll probably be adding more to the file so I am thinking I need the [L] flag.
I'm just totally lost and confused. Thanks for any help.
[edited by: jdMorgan at 1:35 am (utc) on Nov. 16, 2005]
[edit reason] example.com [/edit]