Pretty URLs not working after form submission
Permalink
I haven't seen this happen before, but after logging into the website or submitting a form the pretty urls aren't working on one of my sites. The index.php is showing up in the URL of the landing page. All links on the website have pretty urls working fine. It is basically just on the page you land on after hitting a submit button. Anyone have an idea of a fix for that?
Thank you very, very much! That did it.
Hi guys,
I have same problem , I am using 5.7 version I have try this in various places define('URL_REWRITING_ALL',true);. But this is not helping any suggestions ideas?
Thanks.
I have same problem , I am using 5.7 version I have try this in various places define('URL_REWRITING_ALL',true);. But this is not helping any suggestions ideas?
Thanks.
in 5.7 this setting is held in /concrete/config/concrete.php.
You can override the setting by copying the relevant part from that file into a new concrete.php under /application/config/concrete.php and changing the setting.
You'll need to make sure you enclose everything properly in that new file.
Caveat - I have not tried or tested this and there is a note in concrete.php saying this particular setting is handled earlier on so if this doesn't work then what I would do next would be to scan all php files in the installation for the relevant text string and try and pick backwards from there.
You can override the setting by copying the relevant part from that file into a new concrete.php under /application/config/concrete.php and changing the setting.
You'll need to make sure you enclose everything properly in that new file.
Caveat - I have not tried or tested this and there is a note in concrete.php saying this particular setting is handled earlier on so if this doesn't work then what I would do next would be to scan all php files in the installation for the relevant text string and try and pick backwards from there.
Hi AndyJ,
Thank you lot for your help is solve url problem but again it is showing me page not found maybe something wrong with form block ?
Thanks and Regards,
Davit
Thank you lot for your help is solve url problem but again it is showing me page not found maybe something wrong with form block ?
Thanks and Regards,
Davit
in your config/site.php and it should force form action URL's to be rewritten as well. (Not 100% sure why this isn't the default...)