How can I use SEF Advance without Base URL?

18 years 10 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?

Please Log in or Create an account to join the conversation.

18 years 10 months ago - 18 years 10 months ago #217 by Saka
Can't do that.
But try to dynamically set the $mosConfiig_live_site:

$mosConfiig_live_site = 'http://' . $_SERVER;

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

18 years 10 months ago #218 by super_yupi
Thank you

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch