diff --git a/docs/simplesamlphp-sp.md b/docs/simplesamlphp-sp.md
index d169793dd83f8b019b3cde565f6a25c128ac0da8..b74d706d1c26dde52bc1c90a1ec90ae1cb878b85 100644
--- a/docs/simplesamlphp-sp.md
+++ b/docs/simplesamlphp-sp.md
@@ -157,7 +157,7 @@ Example code:
 We start off with loading a file which registers the SimpleSAMLphp classes with the autoloader.
 
 ```php
-require_once('../../lib/_autoload.php');
+require_once('../../src/_autoload.php');
 ```
 
 We select our authentication source:
diff --git a/lib/_autoload.php b/lib/_autoload.php
new file mode 120000
index 0000000000000000000000000000000000000000..f4c049a35adc693b2e236bd9bfd28208feb91338
--- /dev/null
+++ b/lib/_autoload.php
@@ -0,0 +1 @@
+../src/_autoload.php
\ No newline at end of file