I’m a newbie at .htaccess/Apache configuration. I have a web application that sites inside a subdirectory of the domain (e.g. www.example.com/ttb).
I want to redirect any requests to www.example.com/ttb/page/87 to www.example.com/ttb/page.php?id=87.
Here’s my .htaccess that sites in the subdirectory (/ttb):
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteRule ^page/([0-9]+)$ /page.php?id=$1 [NC,L]
However, it’s not working. I wrote a simple page.php that prints out the GET variable “id,” but nothing prints. Any ideas?