Unverified Commit f2b2a8da authored by BJ Hargrave's avatar BJ Hargrave 🚴 Committed by GitHub
Browse files

Merge pull request #12 from bjhargrave/issues/11

xmlns: Add redirect to docs.osgi.org
parents 8f4056d0 8b65d9e2
......@@ -30,4 +30,28 @@ command = "npm run production && hugo --gc --minify -b $DEPLOY_PRIME_URL"
HUGO_VERSION = "0.76.5"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
\ No newline at end of file
HUGO_ENABLEGITINFO = "true"
[[redirects]]
from = "/xmlns/*"
to = "https://docs.osgi.org/xmlns/:splat"
status = 301
force = true #COMMENT: ensure that we always redirect
[[redirects]]
from = "/javadoc/*"
to = "https://docs.osgi.org/javadoc/:splat"
status = 301
force = true #COMMENT: ensure that we always redirect
[[redirects]]
from = "/specification/*"
to = "https://docs.osgi.org/specification/:splat"
status = 301
force = true #COMMENT: ensure that we always redirect
[[redirects]]
from = "/download/*"
to = "https://docs.osgi.org/download/:splat"
status = 301
force = true #COMMENT: ensure that we always redirect
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment