Hi all,
Need a little bit of help, weve got a database setup with friendly URLS to do the output from the database - this all works fine, however i'm now having to add a physical subdirectory into the structure and basically its breaking and my htaccess skills are nil.
heres what I have for the virutal database URLS.
RewriteRule ^resources/([^/]*)/(.+)$ index.php?q=resources/$1-display/&req=$1/$2 [L]
If i add the physical page to
domain.com/resources/[document] - all works fine
if i add it to
domain.com/resources/subfolder/[document] it explodes.
ive tried
RewriteRule ^resources/([^/]*)/(.+)$ index.php?q=resources/subfolder/$1/$2 [L]
and
RewriteRule ^resources/subfolder/(.+)$ index.php?q=resources/subfolder/$1/$2 [L]
RewriteRule ^resources/subfolder/(.+)$ index.php?q=resources/subfolder/$1/ [L]
But to no avail, anyone got any ideas?
Thanks