HUGO

URL redirects

I previously created a page with /webinar/ as its URL. But now I want to retire this page and use /webinars/ as blog index page. How do I redirect from /webinar/ to /webinars/?

Thanks

Hugo offers Aliases as a way to redirect pages on the frontend with the meta refresh tag.

If you are using Netlify you can use Hugo Aliases to create Netlify Redirects.

The Hugo Docs repository offers an example:

Netlify Redirects Output Format definition: config/_default/config.toml#L25-L30

Template to output Netlify Redirects at the : gohugoioTheme/layouts/index.redir

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.