PLEASE HELP: "Access denied" after enabling Pretty URLs

Permalink
I did have a concrete5.7.5.7 site working perfectly on Just Host. I had to create a fresh install but now I simply cannot get Pretty URLs to work. I've tried numerous re-installs, both one-click and manual and including an update to 5.7.5.9, but the problem persists.

The issue is that when I enable Pretty URLs, I simply can't do anything. The site-level controls on the right of the toolbar open up but show "Access denied". The page-level controls on the left (e.g. edit) log me straight out.

To switch Pretty URLs off again, I have to edit the .htaccess file manually to remove...

# -- concrete5 urls start --
<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>
# -- concrete5 urls end --
...and reset the file /generated_overrides/concrete.php back to...

'url_rewriting' => 0,
I've read lots of forum posts on the subject but not many based on concrete5.7. Is there something I'm missing or should I be asking Just Host? I really do want Pretty URLs working, so any advice would be much appreciated.

Thanks in advance!

Brandsistency
 
Brandsistency replied on at Permalink Reply
Brandsistency
Does anyone have any advice for me on this issue? Please! I'm desperate to get pretty URLs working. But...

When the correct code is present in the .htaccess file and when 'url_rewriting' is set to 1 in the concrete.php file, my access is removed and I can't manage my site.

What am I missing?
hissy replied on at Permalink Reply
hissy
Please ask your host that you can use mod_rewrite in .htaccess
CMSDeveloper replied on at Permalink Best Answer Reply
CMSDeveloper
Hi!
You can check if mod_rewrite is enabled.

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>


Save above code in a file phpinfo.php

And then check like:

yourdomain.com/phpinfo.php


.