Incorrect transition to the page

Hello. So there are 2 pages: the first – index, the second page with the content of the site, where the pages are connected using include. On the index page of the menu in flash, it goes to another page only if you type

navigateToURL(new URLRequest("content.php/?act=kontakti"));

respectively, on the second page of the site, I write in PHP a link to the same page as:

a href="content.php/&act=kontakt"

It turns out that everything works, but if you switch to different pages of the site in the address bar, it turns out

www.sait/content.php/content.php/content.php/?act=kontakt

What do you suggest?


Answer 1, authority 100%

Specify a slash at the beginning or the full path. The link “content.php/?act=kontakti” means “CURRENT_URL/content.php/?act=kontakti”.

<a href="/content.php?act=kontakti">link</a> 
<a href="http://www.site.com/content.php?act=kontakti">link</a>
navigateToURL(new URLRequest("/content.php?act=kontakti")); 
navigateToURL(new URLRequest("http://www.site.com/content.php?act=kontakti"));