lcp

How to enable pretty URLs in CMS Made Simple?

CMS Made Simple has many functionalities to offer, especially when you are creating platforms for small and medium-sized corporations or organizations. It also has the capacity for the so-called pretty URLs to be enabled (which are also known as Search Engine Friendly – SEF URLs) in order to optimize your presence in search engines.

In this part of the CMS Made Simple tutorial we are going to show you how to do that yourself. In order to perform this procedure you first need to go to your cPanel. There, you need to go the the File Manager:

How to enable pretty URLs in CMS Made Simple?

Over there, you have to go to the CMS Made Simple’s installation folder, choose the Add New File button at the top right:

How to enable pretty URLs in CMS Made Simple?

Then, you must name the new file “.htaccess”. Make sure you double check that you are making this file into the folder, where you script is installed and simply click on Create New File:

How to enable pretty URLs in CMS Made Simple?

Afterward, enter the following code in the newly created file and then just go to Save Changes:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f [NC]

RewriteCond %{REQUEST_FILENAME} !-d [NC]

RewriteRule ^(.+)$ index.php?page=$1 [QSA]

How to enable pretty URLs in CMS Made Simple?

The last step you need to do to enable the pretty URLs is to go to the CMS Made Simple installation folder, find “config.php”, right click on it and select Edit:

How to enable pretty URLs in CMS Made Simple?

Over there, you only have to add this row of code and then implement the changes by clicking on Save Changes:

$config[‘url_rewriting’] = ‘mod_rewrite’;

How to enable pretty URLs in CMS Made Simple?