Yes, yet another .htaccess question. xD
My .htaccess file looks like this:
Code:
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^view/([^/]+)$ view.php?view=$1 [L]
So if I try to access mysite.com/view/article, it works perfectly! The only problem I'm having is if there is a link on that page that is like /page.php it takes me to the URL of mysite.com/view/page.php
Is there a rule I'm missing in my .htaccess that will point all /page requests to the base? I'd like the url to be mysite.com/page.php instead of mysite.com/view/page.php.
I hope I was clear, I'm not the best at explaining these things!