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.
Go to the Dashboard -> Sitewide Settings and enable pretty URLs as normal. This will add some code to your .htaccess file automatically.
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
In the root directory of the site, create a completely empty PHP file called redirect.php.
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