Frontend URL's adding GET parameters
Hi all,
To add get parameters to a given URL I've been using:
Code:
$this->generateFrontendUrl($objPage->row(),'/operation/create');
However this isn't working on one install of Contao, where the base url is
http://domain/sites/root_directory/mypage.html
Thus my module is linking to http://domain/sites/root_directory/mypa ... reate.html which returns a 404.
Is there a better way in Contao rather than just appending traditional PHP get syntax onto the end of the url, ie after the .html.
Re: Frontend URL's adding GET parameters
Did you change "RewriteBase /" to "RewriteBase /root_directory" in your htaccess file?
That usually is the fix for me. It's easy to forget!