MENU

Setting up Pretty URL in CMS Made Simple

  Previous article Next article  

By default CMS Made Simple™ creates a "technical" URL like www.website.com/index.php?page=contact
It is functional, but it lacks aesthetic value. Pretty, or Search Engine Friendly URL is a feature for improving the appearance of the URL and it also improves search engine indexing!


  Tutorial Video


  How to use

1. Copy the "htaccess.txt" file from the CMSMS™ /doc directory to the root of your website.

2. Rename the copied file to .htaccess including the dot!

3. Add to the bottom of your config.php the line:

...

$config['url_rewriting'] = 'mod_rewrite';
?>

4. Check if the head section of your Core::Page template contains the metadata tag:

<head>
  ...
  {metadata}
  ...
</head>

More extended documentation on settings and known issues on the official CMS Made Simple documentation website.

Tip: How to show hidden dotfiles, like .htaccess in cPanel.

This article is written for Apache web servers. More information on other servers at the CMSMS Documentation website.




  Comment Form

Click here to open the form


  2 Comments

CMS Made Simple - Tutorials, tips and tricks - CMSMS

Setting up Pretty URL in CMS Made Simple

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.7
  Last updated: 31-03-2018
  Comments: 2
  http://cms.ms/qoPL

Advertisement



Ads help me to help you! Thanks!