Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Empty "Base URL" causes incorrect URLs to be generated #157

Open
Serializator opened this issue Aug 8, 2019 · 0 comments
Open

Empty "Base URL" causes incorrect URLs to be generated #157

Serializator opened this issue Aug 8, 2019 · 0 comments

Comments

@Serializator
Copy link

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.

Screenshot 2019-08-08 at 16 40 31

Screenshot 2019-08-08 at 16 45 53

Screenshot 2019-08-08 at 16 49 23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant