So throughout my site I'm using MOD_REWRITE to change the links, for SEO purposes. So far so good, but come to my first hurdle.
RewriteRule ^ucpanel/([^-]*)-([^-]*)/$ /area52/ucpanel.php?page=$1&mode=$2 [L]
This creates area52/ucpanel/pm-view/
It works... but all the links, CSS and Javascript files that are included are not set right, I'd have to add ../../ to the beginning of each HREF, and I'd rather not if possible.
Perhaps theirs something wrong with my RewriteRule, or maybe I have the .HTACCESS in the wrong place? Currently it's in the ROOT folder.
Any help is appreciated, thanks,
- Chris.
