Hello,
We are using EE 1.6.9, relying heavily on {base_url} to provide our urls. The trouble is, we’re unable to figure out:
If a user is not logged_in, then the base_url includes the site_index
If a user is logged_in, then the base_url does not include the site_index
This is consistent across development/production platforms. We are relying on having site_index in the url for administrative reasons, so right now our only work-around is:
<a href="http://{base_url}{if">Link</a>Is there a way we can make base_url consistent across logged-in and logged-out users?
Thanks in advance
EDIT: I was wrong, base_url does not behave consistently from dev to production: on dev, base_url never adds the site_index, so we are adding it as part of base_url to get around this.
Another bug appears though: it doubles all links so a link to:
http://domain.com/site_index.php/segment
renders as:
http://domain.com/site_index.php/segmenthttp://domain.com/site_index.php/segment
and thus draws a 404.
Any help appreciated. Thank you.
End Edit