Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50375

SEO friendly page title

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.3, 3.6.5
    • Fix Version/s: None
    • Component/s: General
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_36_STABLE

      Description

      One should have a complete control on the title page which is of paramount importance for SEO reasons.
      In particular, the first word of the title is the most important one. The title of a page should be specific to the page. Having the same title for different pages (or a similar one) is not good because search engines will have difficulties to distinguish pages whose title are similar and thus will give them less importance.

      See:
      Nine Best Practices For Optimized < title > Tags
      http://searchengineland.com/nine-best-practices-for-optimized-title-tags-111979

      For example, for URL pages, the structure of the title page is as follow (see mod\url\locallib.php)

      $PAGE->set_title($course->shortname.': '.$url->name);

      From my point of view it should be changed to

      $PAGE->set_title(url->name);

      See also:

      • In mod/ressorce/localib.php:
        $PAGE->set_title($course->shortname.': '.$resource->name);
        should be changed to
        $PAGE->set_title($resource->name);
      • in mod/page/view.php
        $PAGE->set_title($course->shortname.': '.$page->name);
        should be changed to
        $PAGE->set_title($page->name);

      and so on....

      Related issues:
      MDL-50376
      MDL-41745

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              fvendrell Francis Vendrell
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: