pretty urls problem
Permalink 3 users found helpful
Hi - I am on version 8.4.1
Just checked the pretty urls box in the dashboard and was given this code to add to the .htaccess file:
Now I am getting a 504 error trying to access the site, and can't access the dashboard either.
I have seen some other threads that suggest editing application / config / generated_overrides / site.php and concrete.php but I'm not sure what to do to get back into the dashboard, can someone please help?
Just checked the pretty urls box in the dashboard and was given this code to add to the .htaccess file:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule . index.php [L] </IfModule>
Now I am getting a 504 error trying to access the site, and can't access the dashboard either.
I have seen some other threads that suggest editing application / config / generated_overrides / site.php and concrete.php but I'm not sure what to do to get back into the dashboard, can someone please help?
So the file will have an array fo keys and values like this
I simplified this one and yours might be in a different order and will have differences but you can see url_rewriting at the bottom.
If you have it set to false, set it to true. If you don't have it, add it as it is in my example (as a key of the "seo" array) and set it to true