Moodle alias

Moodle alias

Doug Bell -
回帖数: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

回复Doug Bell

Re: Moodle alias

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 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.