I am in need of some help, I found a nice little snippet for htaccess which will make /index.php?page=login become /login but it seems after I used this code I had to edit all my header locations from index.php?page=login into login for this to work. Else it will just show the url as index.php?page=login
htaccess code
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
After editing all my header locations into just text such as login everything was fine on my XAMPP server, but when I put it all on my web host it seems that this htaccess thing has stopped working, I keep getting "The requested URL /sites/infusion/projects/catalogue/index.php was not found on this server."
Is this due to the fact my domain is hosted within a subdomain, which is in subdirectories from my / directory?
Is there any way I can fix this issue and make it work with nice looking url's?

New Topic/Question
Reply



MultiQuote


|