Hello,
I have installed CMS Made Simple into mysite.com/otherSite and assigned that sub directory a domain name OtherSite.com.
Now, I'm making menu in html as a part of template and i'm trying to make links like that: Link 1. But instead of going to OtherSite.com/index.php?page=link1, it is redirecting to mysite.com/OtherSite/index.php?page=link1. Why does it do that and how can I fix it? Normally if you do it in html - it works just fine.
Thank you.
Subdomain problem
Re: Subdomain problem
If you use the menu from CMSMS, it takes its domain settings straight from the config file I suppose. So what you'd like to do is check your config file for this line:
You could try and altering that to othersite.com. However, I can't confirm this solutions as I've never linked one domain to a folder in another domain.
Give it a go, this is easy to roll-back if it doesn't work.
Cheers
Code: Select all
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://www.blah.com';
Give it a go, this is easy to roll-back if it doesn't work.
Cheers
Re: Subdomain problem
Thanks a lot, it worked!
P.S. It was not just CMS menu, but any html menu.
P.S. It was not just CMS menu, but any html menu.