Moodle alias

Moodle alias

by Doug Bell -
Number of replies: 1

Hello,

 

I use moodle and drupal. Drupal has a feature called alias. You can reference a name such as www.yourwebsite/forms where the forms portion is really /node3 in drupal. By doing this the url shows up as and google/analytics logs /forms instead of /node3. /node3 is the actual page, but /forms is the alias so it shows up in the url and analytics. The user never sees /node3.

 

Question is does moodle have a similar feature. As an example presently moodle shows:

 

course/view.php?id=3

 

I would like the url to show:

 

course/intro

Is this possible with moodle like it is in drupal?

 

Thanks

 

Doug

Average of ratings: -
In reply to Doug Bell

Re: Moodle alias

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
No.

But... i that particular case you can substitute the course shortname for the id number.

This would be possible to do but it would require some development. A "controller" script is required along with a mod-rewrite rule to dispatch the human-friendly URLs to the right Moodle one.