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.
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.
http://www.concrete5.org/community/forums/installation/hide-the-sub...