Hi everyone,
I’m currently moving my posts from my homepage to a new blog location for a more static homepage. I’ve added to the routes file so the / collection goes to /blog/{slug}/
meaning https://www.simplykyra.com/{{slug}}
now directs to https://www.simplykyra.com/blog/{{slug}}
. This works great internally.
My problem comes with all my external links to my website as they go to the first https://www.simplykyra.com/{{slug}}
url and cannot be found. Is there a way to fix this in the redirects file? My only idea is individual hardcoding each post as {{slug}}
doesn’t seem to work from what I can tell.
Thanks