I've tried to research this but with no successful results. I posted this on stackoverflow but with no replies: For my application I'm trying to implement the XenForo forum software into my CakePHP site. I've installed XenForo in AppName/app/webroot/community and the system itself works as intended. When going to http://localhost/AppName/community however, it redirects me tohttp://localhost/AppName/app/webroot/community/ Going to http://localhost/AppName/community/ (note the trailing slash) gives me an unmarked up page of the forum with an Error that the page could not be found. I would like to prevent this from happening, and make XenForo use the URL I've supplied. I've tried setting the <base> to <base href="http://localhost/AppName/community/" />, but to no success. The Board URL in the Admin CP of XenForo is also set to http://localhost/AppName/community(with no trailing slash) If you have a clue how to fix this, that'd be great.