I want blog posts to be accessible the same way as CMS pages are, so I wrote a router that does this. But the URLs that were generated still had the "/blog" base URL in front of them.
When I configured the base URL to be empty, it should generate the URL "https://foo.bar/mirasvit-blog", but this wasn't the case, it generated "https://foo.bar" without the URL key from the blog post behind it.
I want blog posts to be accessible the same way as CMS pages are, so I wrote a router that does this. But the URLs that were generated still had the "/blog" base URL in front of them.
Instead of "https://foo.bar/mirasvit-blog" it was "https://foo.bar/blog/mirasvit-blog", even though the blog post was accessible through "https://foo.bar/mirasvit-blog".
When I configured the base URL to be empty, it should generate the URL "https://foo.bar/mirasvit-blog", but this wasn't the case, it generated "https://foo.bar" without the URL key from the blog post behind it.