X-Server
( localhost/http://your.site.com )

Php_Bay
this link-layout is the same as layoutted below , only this link is set before the base-href-tag
When using the PHP-function include(); you will have to help yourself by using the base href-html-tag as with this function you include the page into the one that the Client is getting. and all links get referred to the including page.
The two links are simulating this situation and show the effects of the base-href-tag
You may need that the links contained into the included page are still referring to the original position that the included file has in your site, this is achieved by using the base href-html-tag , that must be positioned before the closing of head-html-tag .
Php_Bay   The layout of this link is :  <a href=index.php>Php_Bay</a> the basic structure of the html page
<html><head><title>...</title><base href="http://WEB ( or ) LOCAL-DOMAIN ( ...? )/ev/@/ads/"></head>     
<body>...
</body></html>
So suppose this is an included page code, if you link to index, you get the index of this folder, but if you set the base-href-tag , you get the index of the folder set in the path of the base-href-tag and you are obliged to have in your localhost a double edition of this file ; if you set on your Website the same localhost - file it will not work.
You have to replace for your web-site
localhost with your.domain.com
...and should keep a second edition for the WEB
or make on the fly adjustment while publishing
The JavaScript here next does it automatically →
<Script language=JavaScript>
<!-- In fact you are looking at the output of this script in this page
document.write('<base href=\'http://'+this.location.host+'/ev/@/ads/\'>');
// Simply position this script instead of your base-href-tag -->
</Script>
For the effect of this page base-href-script , if we want to link to the index file of this directory , we must figure out to be in the directory /ev/@/ads and therefore we must climb upwards two levels : <a href=../../>index.php</a>  index.php