You certainly did, but in any case have you cheked also $CFG->dirroot = "..." in your config.php? It should contain the full path to your Moodle installation, not the http path. If you are running a virtual server, you could extract the full path via phpinfo().
General help
wwwroot broken link problem
This discussion has been locked so you can no longer reply to it.