Welcome Guest, Not a member yet? Register   Sign In
Anchor/domain problem
#1

Hello,

I have been searching the web for a solution to this, but not been able to find, or understand (excuse my English), one. Here is the problem:

Url_helper command example with base_url set to empty in config.php file:

anchor('class'); givesĀ domain/index.php/class

which works, but turns the next address into ip/index.php/class, which is not desirable.

Helper command example with base_url set to domain:

anchor('class'); givesĀ domain/index.php/domain/index.php/class

which, naturally, does not work.

In any case, I would prefer to use the anchor command, have it give the correct address, and also retain the domain name in the address. How can I do that?

Timo
Reply


Messages In This Thread
Anchor/domain problem - by trysomeofmine - 05-28-2019, 07:49 AM
RE: Anchor/domain problem - by InsiteFX - 05-28-2019, 05:49 PM
RE: Anchor/domain problem - by trysomeofmine - 05-28-2019, 10:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB