Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config option for primary site /blog prefix on posts permastructure #461

Open
roborourke opened this issue Oct 27, 2021 · 0 comments
Open

Comments

@roborourke
Copy link
Contributor

Some sites need to use the /blog prefix that WP adds by default to post permalinks however we remove it currently to allow flexibility.

The blog prefix is notably desirable when using a page for posts withe slug blog.

We have a few options that would help to improve this:

  • check the page for posts and it's slug, if it's blog then don't filter the permastructure option
  • add a config option for whether to remove the /blog prefix, defaulting to removing it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant