given the example of ommiting the blog folder in URLs with routing, I noticed that the active page object is changing to the blog folders page and no longer to the blog article in the resp. subfolder. Since I am using the active page object in my relatedpages plugin, this plugin does not work with routing.
Is there any possibility to get the original page object after routing?
Same as my answer to how routing affects isOpen(),
$site::activePage() (which is a method, not an object) uses
$site::page(), which returns
site()->visit($uri) in your router to set
$site::page to the original uri.
EDIT: Sorry - just read the docs page for Omitting the Blogs Folder in URLs that you linked to and the example in the code already does this. Have you modified that code in any way?
Thats it! You saved my day (and my plugin…)