First off, let me just say that I’ve never done this before, and know nothing about .htaccess or mod_rewrite…
The page in question is located in the directory /test/babs/, and the .htaccess file is located in the site’s root.
Using a few tutorials, I’ve come up with this for the .htaccess:
# this is the initialization
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# these are the rewrite conditions
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# and finally, the rewrite rules
RewriteRule ^test/babs/([a-zA-Z0-9\-]+) /test/babs/index.php?page=$1 [L,QSA]
I’m trying to make it behave as if it were [mysite]/test/babs/index.php?page=modelunit, but when I attempt to go to [mysite]/test/babs/modelunit, it just shows me an unstyled version of the root site’s homepage ([mysite]/index.php).
Any help at all would be sweet… Thanks