Hi, everyone.
I have a really urgent case with my site. I have about 20 domains set.
Problem> I want only one installation and one database for all the domains.
The CNMAE on hosting is not working for some reason, so he suplied me with this solution>
ln -s /home/sfilatov/domains/keefir.ee/public_html/reklaam/ /home/sfilatov/domains/reklaami.ee/public_html
It works only for the index page, but if u click on a link, the url is changed again.
I bet this solution is not so good, but i have no choice in this case, unfotunetly. I came up eith the idea, to change the root url in config pho to the variable depending on a server where u came from>
$globalpath = $_SERVER["HTTP_HOST"];
$config['root_url'] = $globalpath;
i hope the idea is clear, i am not the programmer so maybe it will be simple for you, but for me it is not doable. Searching for your help, asap, the project should be released today evening.
relative root path
Re: relative root path
Solved: $config['root_url'] = 'http://'.$_SERVER['SERVER_NAME'];
Anyway, thanks for help.
Anyway, thanks for help.