Hi, I would appreciate help with my newbie problem of struggling to get a simple redirect to work in /user/config/site.yaml.
I've tried possible solutions in various posts here to no avail (partly I have been getting confused is to whether I need to use quotes within the redirects as some examples do and some don't).
I am attempting to redirect from
mysite.com/article2 to
mysite.com/blog/weve-applied-for-charitable-status
But am getting 404 errors no matter how much I play around with with they syntax.
(BTW, /blog/weve-applied-for-charitable-status does actually exist and article2 does not. )
This is what I currently what I have in /user/config/site.yaml
blog:
route: /blog
redirects:
'/article2': '/blog/weve-applied-for-charitable-status/'
Any help gratefully appreciated. :)
William