How to remove subfolder from url

Permalink
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 bewww.www.mywebsite.com/concrete5...

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

Eg fromhttp://www.mywebsite.com/about to wwww.mywebsite.com/contactus instead of havingwww.www.mywebsite.com/concrete5/about... andwww.www.mywebsite.com/conrete5/contactus...

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.

Thanks.

View Replies:
shondy replied on at Permalink Reply
shondy
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.

http://www.concrete5.org/community/forums/installation/hide-the-sub...