diff --git a/docs/index.md b/docs/index.md
index b31fffb7463335b207a9eb5e03e6c488dd28228e..95d2649a2fd7eb71919629a4cd89bd660d5cadf5 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -31,7 +31,7 @@ SimpleSAMLphp Documentation
   * [Configuring HTTP-Artifact](./simplesamlphp-artifact-idp)
   * [Identity Provider Advanced Topics](simplesamlphp-idp-more)
   * [Holder-of-Key profile](simplesamlphp-hok-idp)
- * [Automated Metadata Management](simplesamlphp-automated_metadata)
+ * [Automated Metadata Management](https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/blob/master/docs/simplesamlphp-automated_metadata.md)
  * [Maintenance and configuration](simplesamlphp-maintenance) - covers session handling, php configuration etc.
  * [Authentication Processing Filters](simplesamlphp-authproc) - attribute filtering, attribute mapping, consent, group generation etc.
  * [Advanced features](simplesamlphp-advancedfeatures) - covers bridging protocols, attribute filtering, etc.
diff --git a/docs/simplesamlphp-advancedfeatures.md b/docs/simplesamlphp-advancedfeatures.md
index a1ee444dd36a5da77d1f6e681b21999a94ec7cad..69ddf67c4c87e581eab6935cf4c81609727e674c 100644
--- a/docs/simplesamlphp-advancedfeatures.md
+++ b/docs/simplesamlphp-advancedfeatures.md
@@ -60,7 +60,7 @@ Automatic update of SAML 2.0 Metadata XML from HTTPS
 ----------------------------------------------------
 
 The `metarefresh` module is the preferred method for doing this.
-Please see the [metarefresh documentation](simplesamlphp-automated_metadata).
+Please see the [metarefresh documentation](https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/blob/master/docs/simplesamlphp-automated_metadata.md).
 
 
 
diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md
index 19952970dbf3b06a1d2c57982f791abbbf78ce40..f4a342008cca13c9f506497d407b4ca42ec06305 100644
--- a/docs/simplesamlphp-install.md
+++ b/docs/simplesamlphp-install.md
@@ -371,7 +371,7 @@ in a separate document.
    + [Remote SP reference](simplesamlphp-reference-sp-remote.md)
    + [Setting up an IdP for G Suite (Google Apps)](simplesamlphp-googleapps.md)
    + [Advanced Topics](simplesamlphp-idp-more.md)
- - [Automated Metadata Management](simplesamlphp-automated_metadata.md)
+ - [Automated Metadata Management](https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/blob/master/docs/simplesamlphp-automated_metadata.md)
  - [Maintenance and configuration](simplesamlphp-maintenance.md)
 
 
diff --git a/docs/simplesamlphp-sp.md b/docs/simplesamlphp-sp.md
index f212db95d807b691c20054ef1bfc56c7524f1d28..365289f49eae4104c30cb06cd23d44df496d194a 100644
--- a/docs/simplesamlphp-sp.md
+++ b/docs/simplesamlphp-sp.md
@@ -122,7 +122,7 @@ directory.
 If you intend to add your SP to a federation, the procedure for managing trust in federations differ, but the common part is
 that you would need to provide the *SAML 2.0 metadata of your SP*, and register that with the federation administration.
 You will probably be required too to consume the federation metadata periodically. Read more about
-[automated metadata management](simplesamlphp-automated_metadata) to learn more about that. 
+[automated metadata management](https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/blob/master/docs/simplesamlphp-automated_metadata.md) to learn more about that. 
 
 
 Test the SP