I have never worked with Routes, so I still lack the understanding of how it works.
I took the script from the guide and it works as expected.
However, I would like to narrow down the function further.
Instead of using http://yourdomain.com/blog/my-awesome-article
I can call the page via http://yourdomain.com/my-awesome-article
to reach the page.
The principle works with ALL pages in the blog. However, I only want to redirect ONE page from the blog via the route: the one titled “action”. All other pages can contain “blog” in the URL.
At which point - and how - do I need to adjust the script?
Unfortunately, I could only now deal with the issue again but I found the appropriate solution.
It’s about a promotion that is advertised with a short URL and then leads to the landing page: