-
Hi all, The redirect destination was an external resource defined like that: - redirects:
redirect_maps:
lab-examples/tls-cert.md: https://some.where Is it expected, considering that the new path is external resource? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for reporting. The redirect should happen, yes. This might be an edge case to catch in instant navigation, which expects all entries in EDIT: In fact, it should be as easy as checking for <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="/mkdocs-material/insiders/">
<meta name="robots" content="noindex">
<script>var anchor=window.location.hash.substr(1);location.href="/mkdocs-material/insiders/"+(anchor?"#"+anchor:"")</script>
<meta http-equiv="refresh" content="0; url=/mkdocs-material/insiders/">
</head>
<body>
Redirecting...
</body>
</html> |
Beta Was this translation helpful? Give feedback.
Thanks for reporting. The redirect should happen, yes. This might be an edge case to catch in instant navigation, which expects all entries in
sitemap.xml
to be actual pages. If you could provide a minimal reproducible example in a new issue, I can look into it.EDIT: In fact, it should be as easy as checking for
<meta http-equiv=refresh ... />
and injecting that into the current page, as that's what the redirect plugin adds: