Redirects
You can add redirects by adding the website_redirects
hook.
Examples
website_redirects = [
# absolute location
{"source": "/from", "target": "https://mysite/from"},
# relative location
{"source": "/from", "target": "/main"},
# use regex
{"source": "/from/(.*)", "target": "/main/\1"}
]
Redirects
shridhar_patil edited 2 years agoYou can add redirects by adding the website_redirects
hook.
Examples
website_redirect = [
# absolute location
{"source": "/from", "target": "https://mysite/from"},
# relative location
{"source": "/from", "target": "/main"},
# use regex
{"source": "/from/(.*)", "target": "/main/\1"}
]
Page Settings
docs/
Title
Enter title for the new Wiki Group