As top-level installation, Moodle adds extra trailing slash /

As top-level installation, Moodle adds extra trailing slash /

by Sjan Evardsson -
Number of replies: 2
I have Moodle installed as a top-level sbdomain (distance.alaskapacific.edu) and have the following problem: All links from the front page have an extra trailing slash ( / ) after the domain name (eg: distance.alaskapacific.edu//admin). Has anyone else had this problem? How have you solved it?

Thanks

PS - I have attached the source of the front page as it appears to the browser. Notice all the doubled slashes.
Average of ratings: -
In reply to Sjan Evardsson

Re: As top-level installation, Moodle adds extra trailing slash /

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
please check your config.php - it should have something like:

$CFG->wwwroot   = 'http://distance.alaskapacific.edu';

without the trailing slash.


skodak
In reply to Petr Skoda

Re: As top-level installation, Moodle adds extra trailing slash /

by Sjan Evardsson -

Thank you so much - that was it.

blush Oops!