At times, when you install the concrete5 content management system, the software will have difficulty creating ‘pretty’ URLs, such as turning your-domain.com/index.php/about-us into your-domain.com/about-us/.
This is related to the configuration of PHP on our servers, but can be easily circumvented by adding some code to a configuration file.
To fix this problem:
- Download your site.php file in your /config/ directory
- Add this line to your site.php file:
define('SERVER_PATH_VARIABLE', 'REDIRECT_URL');
- Download your .htaccess file
- Add these lines to your .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
- Re-upload both the site.php and .htaccess files
Please raise a Support Ticket with our Customer Services team if you are still having difficulty.