Closed kampar closed 9 years ago
confirmed. This is a bug to be fixed soon.
EDIT:
Hi kampar, how do you add alias to your subsite?
Hi again, please use this one: https://github.com/goFrendiAsgard/No-CMS/tree/fcaa3e5dff786981089238359c921e5e796f897b.
I'm now closing the issue, but please open the issue again if you find the problem still persist.
Thx
Dear all,
when I try to make a subsite with an alias, my browser raise 404 error when I navigate to that subsite on its alias (mydomain.com), not it's sub-directory alias (e.g: http://mymainNoCMS.com/site-mydomain) all the javascript and css assets are pointed to wrong domain, only com without my domain ...
all the rest (e.g, images, favicon, are okay)
this is my Google Chrome console log:
after tinkering a few hours, it seems this following line is the source of this error
it's line 170 /application/libraries/CMS_Asset.php when i commented this line, it's working as I hope, my subsite assets are now pointed to correct domain (mydomain.com, not com only)
I'm new with No-CMS and don't know what $real_base_url is for ... is it okay if I do comment that line?