Setting up Pretty URL in CMS Made Simple

  Previous article Next article  

Setting up Pretty URL in CMS Made Simple

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.3.1
  Last updated: 20-01-2017
  Comments: 0

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



A2 Webhosting CMS Made Simple

  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.



A2 Webhosting CMS Made Simple

  Comments

  Click here to leave a comment






This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)
  « Enter the CAPTCHA code (lower case)

Your IP address will be stored on submit. I reserve the right to change or delete your response without notice!
In case of abuse your IP address will be blocked!


Can I have your attention for a moment?

Did this tutorial help you solving a problem at your (clients) website and it saved you many hours of work? Great!!
Consider buying Rolf a cup of coffee in return! [ Click here ]


  0 Comments

No comments yet...

CMS Made Simple 2.2.3.1 - Tutorials, tips and tricks - CMSMS 2.2.3.1

Setting up Pretty URL in CMS Made Simple

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.3.1
  Last updated: 20-01-2017
  Comments: 0

A2 Webhosting CMS Made Simple