Loading
Cancel
Webmail Login
Control Panel Login
How do I remove index.php from my Concrete5 URL?
.CO.UK ONLY £5.33
Find your perfect domain here

How do I remove index.php from my Concrete5 URL?

How to remove index.php from the URL in Concrete5

How do I remove index.php from my Concrete5 URL?

If you are using Concrete5, you may notice that you have index.php in your URLs. For example: www.your-domain.co.uk/index.php/login/

This is actually pretty easy to remove and can be done using the below methods.

Enable Pretty URLS

Log into your Concrete5 Dashboard and click 'System & Settings'.

System & Settings

Next, click the 'Pretty URLs' link.

Concrete5 Pretty Urls link

Tick the 'Enable Pretty URLs' and click the 'Save' button.

Enable pretty URLS

You should now see the message 'URL rewriting enabled. We were able to automatically update .htaccess file'.

URL rewriting enabled. We were able to automatically update .htaccess file.

That's it, if you go to your website now, you shouldn't see index.php in your URL.

Enable define('URL_REWRITING_ALL', true);

If this above method didn't work then you may need to force Pretty URLs via your site.php file. Open up site.php on your hosting (located in the config folder) and add the following line to the end:

define('URL_REWRITING_ALL', true);

Save this and refresh your website.

Is your C5 costing more than 47 a year? See our Concrete 5 Hosting page for great savings.



Leave a comment

Has this guide helped you? Have an idea for a guide or need help? Let us know below.

© Copyright 2014 | Squirrel Hosting Limited
Company Number 9031308