We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
site_url returns wrong value
18 Posts
mojorisin
Reply #1,
14 years, 8 months ago
Hey guys,
<base href="[[++site_url]]"></base>
is returning the following value:
<base href="
http://www.example.com/test/modx
"></base>
The url is
http://www.example.com.
The installation path is /test/modx.
Why is it including the internal server path into the base URL? How can I solve this?
Thanks it advance
[ed. note: mojorisin last edited this post 14 years, 8 months ago.]
18 Posts
mojorisin
Reply #2,
14 years, 8 months ago
this issue is solved. I installed this MODx installation from another URL which was stored in the config file.