So here's my problem, everything is working except for one thing. Here is the html code: '
<ul>
<li><a href="info">Info</a></li>
<li><a href="galerija">Galerija</a></li>
<li><a href="kontakt">Kontakt</a></li>
</ul>
So when i click on info or kontakt it redirects me perfictly but when i click on the galerija link i takes me to the root of that lik: www*/galerija/ insted of www*/galerija
i used htaccess to change the URL's to be user friendly. Here's the htaccess code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
Any ideas ?
If it helps here's the website: http://www.britannica.rs
It looks like there is a folder named "galerija" at the root of the website. Thus, the second RewriteCond is triggered, and the RewriteRule is not applied.
This might not solve the entire problem but when using html bullet lists use it this way:
<ul>
<li><a href="info">Info</a></li>
<li><a href="galerija">Galerija</a></li>
<li><a href="kontakt">Kontakt</a></li>
</ul>
For the redirect using file with no extensions try
RewriteRule ^([^.]+)$ $1.php