How can I use SEF Advance without Base URL?
- super_yupi
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #216
by super_yupi
Is it possible to use Advance SEF without Base URL?
My project require me to use
$mosConfiig_live_site = '.';
and removing "<base href=\"$mosConfig_live_site/\" /> in frontend.php
The intent of this modification is to use exact same code on multiple URL without touching the code. (and assuming I have all the Advance SEF license for all URL)
However, by doing the above modification, Advance SEF will break completely... is there any workaround to this?
I appreciate any suggestion very much. Or if you have attempted anything like this, what was your solution?
My project require me to use
$mosConfiig_live_site = '.';
and removing "<base href=\"$mosConfig_live_site/\" /> in frontend.php
The intent of this modification is to use exact same code on multiple URL without touching the code. (and assuming I have all the Advance SEF license for all URL)
However, by doing the above modification, Advance SEF will break completely... is there any workaround to this?
I appreciate any suggestion very much. Or if you have attempted anything like this, what was your solution?
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
17 years 9 months ago - 17 years 9 months ago #217
by Saka
Emir Sakic
www.sakic.net
Can't do that.
But try to dynamically set the $mosConfiig_live_site:
$mosConfiig_live_site = 'http://' . $_SERVER;
But try to dynamically set the $mosConfiig_live_site:
$mosConfiig_live_site = 'http://' . $_SERVER;
Emir Sakic
www.sakic.net
Last Edit: 17 years 9 months ago by Saka.
Please Log in or Create an account to join the conversation.
- super_yupi
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #218
by super_yupi
Thank you
Please Log in or Create an account to join the conversation.