There is an option to set a custom structure for permalinks in WordPress’ admin panel (Settings > Permalinks > Common Settings). This structure not only affects to posts but also categories, tags and authors. The only type of entity that is not affected are pages.
For example, when using the custom structure in the image, author URLs whould be something like
/blog/author/admin, thus breaking the current implementation for the author handler.
To solve this, the idea is to add a new setting in this page like the ones we already have to change the category and tags base link.
As a Frontity user
I want to change authors link base in the configuration
so that I can make Frontity work with custom permalinks for authors.
Initial proposed solution (click to open)
This could be solve using the same implementation we did for
tagBase. We just have to add an
authorBase option in
and handle that option the same way we are doing for the others already mentioned: