Set Base URL

Permalink
Hi,
I've been looking at some how-tos about setting the web address for the site and these refer to config/site.php which doesn't seem to exist.

I think I need to use the Base_URL parameter in it to fix the displayed web address but cannot find where to do it.

Really the server seems to be adding an extra part to the web address that doesn't need to be there (I don't think). I want the address to show as mywebsite.co.uk/websitefolder but instead it's turning that into mywebsite.co.uk/mywebsite/websitefolder. I think it's because of the way my webspace is set up but mywebsite.co.uk and mywebsite are both the same folder so the second bit isn't needed.

 
TMDesigns replied on at Permalink Reply
TMDesigns
Hi,

I have been looking for this also.
fudyartanto replied on at Permalink Reply
fudyartanto
Can you put your code here..?
Mnkras replied on at Permalink Reply
Mnkras
Changing the BASE_URL will not fix this, and BASE_URL was removed in 5.7 as c5 automatically figures it out.

You will want to move your concrete5 install in your file-manager/ftp up a folder. you installed c5 into 2 sub folders, so to change the url, you have to move it up a folder.

Mike
Matt1234 replied on at Permalink Reply
Thanks for your replies.

I see what you mean about the sub folder thing but I cannot move the files up one folder. They are already in the root folder for the website they are hosted on.

Really on my hosting account I can host more that 1 website so each website has its own sub folder in the root (root/website1, root/website2, root/website3 etc.) but that subfolder is the root. Sohttp://www.website1.co.uk is linked directly to folder root/website1 and would still normally show without any problems fromhttp://www.website1.co.uk without adding /website1 to the address.

It seems that Concrete5 wants to treat the folder it's in as a sub folder instead of the root that it actually is if that makes sense.