Switching to Pretty URLs
Permalink
I've read a few posts previously, that switching to Pretty URLs can cause major issues with a Concrete5 site... What do I need to do to make things go as smoothly as possible, and if something goes wrong, how do I get it back? Basically, all I want to do is remove index.php from the URLs.
Thank you - newbie question. :)
Thank you - newbie question. :)
You can remove index.php from the URL via the dashboard
yoursite.com/index.php/dashboard/system/seo/urls
Check "Remove index.php from URLs" and save. If your write permissions are setup correctly a .htaccess file should have been created. If this is not the case you can create one yourself and add the following rules.
The .htaccess file should be placed in the root.
Seo config rules are added in the Concrete config file located in application/config/generated_overrides/concrete.php.
So if you want to remove these settings and you are for some reason unable to do it via the dashboard you can follow these steps.
1. Remove the rewrite rules in .htaccess
2. remove the SEO rules in the config file