How To Add Clean URLs To Your Moodle LMS (2019 Summer Update)


Updated on June 10th, 2019. Even thought the Clean URLs plugin for Moodle stopped being updated in 2017 and never made it into the official Directory, its legacy lives on. Thanks to Heywood and Issue MDL-28030 which he created, there are a few ways to add “clean” URLs to Courses, resources and specific pages in Moodle, appealing and reasonable to the human eye:

Post Pages - Post Inline - WIRIS
  • Moodle already accepts course ID and short name to access them through URL. Read more here
  • For deeper customization, add a rewriting rule in the server’s .htaccess file. See an example

Original Text

Written on February 16th, 2019

Ever since Moodle has been introduced lot of persons requested to have the clean/semantic URL’s support like other CMS’s Drupal, Joomla etc. Clean URL’s may result in SEO-friendly site, human readable URLs when shared on social media sites, Better context of a page, and even for security and auditing purposes.

Brendan Heywood from NSW, Australia has come up with a new plugin named Clean URLs which is local plugin type for Moodle. The plugin is available at its GitHub page here. For Moodle 2.9 and 3.0 it needs a tweak at the core along with a rewrite rule in your Apache configuration. To our knowledge it has not been tried on Moodle 3.2 or later.

By release of this plugin it has fixed a long pending tracker issue – MDL-28030 and I believe that this will be included in the core Moodle 3.1 when it will be released.

What’s your opinion about clean URL’s in Moodle? How it is going to affect the Moodle sites SEO? Do share with us in the comments below.

More resources


Moonami LogoCertified Moodle Partner
Our coverage on The Tech and the latest innovations behind LMS and Learning Systems is supported by Moonami, a company that provides a full range of Moodle services combining the flexibility, scalability, and power of Amazon’s world-leading cloud platform (AWS) with fanatical Moodle support. Click here to learn more.
Previous article6 Insights About The Future Of Learning Inspired By How Engineers Train Robots
Next articleHow To Train Open Source Artificial Neural Network GPT-2 To Do Your Language Homework For You


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.