Hello,
I am trying to re-write this:
http://www.domain.com/sample/comments/68
Into this:
http://www.domain.com/sample/comments/index.php?submissionid=68
Here is what the .htaccess file looks like in both the directory represented by "sample" above and the directory "comments":
RewriteEngine on
RewriteRule ^comments/([0-9]+)?$ index.php?submissionid=$1 [NC,L]
The first URL (http://www.domain.com/sample/comments/68
) goes to a 404 error. I have checked, and mod_rewrite appears to be enabled. Also, when I manually enter the second URL, the correct page pulls up.
Any idea why my the URL re-write is not working?
Thanks in advance,
John