This is the documentation for concrete5 version 5.6 and earlier. View Current Documentation

Hi all,

Firstly can I just credit arcanepain for the original post

Heart Internet hosting does not like the default method for enabling pretty URLs, but there is a workaround.

  1. Go to the Dashboard -> Sitewide Settings and enable pretty URLs as normal. This will add some code to your .htaccess file automatically.

  2. Using your favourite FTP app, open and edit your .htaccess file and replace the c5 generated rewrite code with the following:

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .$ /redirect.php/$1
  1. In the root directory of the site, create a completely empty PHP file called redirect.php.

  2. Voila! You should be good to go on pretty URLs. Please note that this does not work in a subdirectory so can only be used if the c5 install is in root.

Loading Conversation