How to remove subfolder from url

Hi, I like to remove the subfolder from the url when navigating my website but doesn't seems to be able to do so.

My concrete5 is installed into public_html/concrete5 so my website appears to

How can I make it that the /conrete5 doesn't appear in the url when I'm navigating within the website?

Eg from to instead of

I've tried the following but doesn't work.

Adding the following to site.php
define('DIR_REL', '');
define('DIR_REL2', '/concrete5');
define('ENABLE_CMS_FOR_PATH', '');

Modifying the request.php in concrete/libraries to trim /concrete5

After doing the above, I will only get a blank page when I load my website.

I'm using concrete5.6.3.1

Any advise appreciated.


View Replies:
shondy replied on at Permalink Reply
There is a long thread (and perhaps others) on the subject. I had mixed success with it, and it does make updating the core more of a manual operation.