Alright, so I’m trying to make URLs that are folder/index.php?id=variable#here redirect server-side when in the address bar a user types in folder/variable#here.
I’ve searched a few .htaccess help sites, including a few forums, but they didn’t help with why what I’m doing is not working. Here’s my current code:
RewriteRule ^folder/(.+) index.php?id=$1 [nc]
The htaccess file is in the folder that would be displayed server-side (folder).
I also have tried this code:
RewriteRule ^/folder/([0-9]*) /folder/index.php?id=$1 [L]
I’ve also asked on another forum, and apparently that’s correct. I’m thinking maybe mod_rewrite is for some reason not enabled with DreamHost?