Thanks for the replay. Almost there. When I refresh the page its just reloading over and over again. In the end my URL looks like this:
Code:
http://example.com/naslovnica.php?naslovnica.php%3fnaslovnica.php%253fnaslovnica.php%25253fnaslovnica.php%2525253fnaslovnica.php%252525253fnaslovnica.php
naslovnica.php is my index.php, translates as homepage.php, that's why I want to show it on address bar.
I'm not sure what's causing the page to refresh over and over again. Don't know if it maters, but my page is Ajax based.