简体   繁体   中英

How to route 404s to a specific page in Ghost(Pro)?

I'm interested in routing all 404 redirects to a specific page in my Ghost(Pro) blog. How do I do this? If it's with YAML, what do I put in the routes.yaml to achieve it?

It seems I didn't do enough of a deep dive for the info. Ghost has automatic routing of error pages via the error.hbs, error-404.hbs, and error-500.hbs template files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM