I was messing with my permalinks today for the same reason. And i ended up with a solution that worked great.
You have to change your custom permalink structure to:
/%category%/%postname%/
In the category base field just put a period mark:
.
and your permalinks will display in this form:
CATEGORY PAGE mysite.com/blog/category-name/ POST PAGE mysite.com/blog/category-name/post-name/
I don’t think it works for tags pages though. I tried putting “.” in the tag base field the permalink is correct like:
TAG PAGE mysite.com/blog/tag-name/
but the page returns error 404. So i guess it doesn’t see the page without the default “tag” tag base.
Related Posts:
- What Defines What Category A Post Picks (if in multiple)
- Can I show category name in url for only one of my categories?
- Use category base slug in posts’ permalink
- How to control which category will be picked for the slug of a post?
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Permalink Settings: optional settings doesn’t apply to editor
- Should I use posts or pages in this scenario?
- WP_Query: Mixing category__in and tag__in together
- How can I hide tags on a child-category page, if that tag has not been used?
- How to get post with associated categories and tags names instead of ids with rest api?
- Having pages after specifying post_type post
- In what context should Categories and Tags be used
- Categories Listing and Highlighting current category item
- Rewriting blog permalinks
- Remove subcategory slug from url
- Is there a way to categorize a list posts all at once?
- How to get tags when using publish_post
- How do you change the permalink for posts for a single category?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to add a ‘News’ section to specific posts in WordPress
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Why do I have categories with duplicate slugs?
- show only one category and filter by tag
- Set multi posts random categories and tags
- Point users to a specific url directory for some posts
- Precedence of page permalinks over woocommerce product category links?
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to display subcategory articles in the category view?
- How can I fixe the article title problem?
- How to remove category and other tags from posts page
- WordPress converting ‘ to ’ and – to –?
- Different post sort order within different categories
- How to add metabox for post of specific category
- How to get Category Id from Post Id ?
- Why can posts never have a number as the link?
- Exclude category on blog list page
- How to allow slashes in single posts when i click in the edit permalink button
- How to choose a sort order (for posts) per category? (ideally when creating a new category)
- WordPress Child Category Display All Posts
- Changing my permalink structure – will new layout conflict with existing page?
- Does an action fire when adding a tag via the “Tags” meta box?
- Display posts in alphabetical order for a particular category
- How to make search for the custom post type?
- WordPress post tag & custom field
- Direct link to “New post” in specific category?
- Changing Permalinks for Default Post type to reflect navigation
- How should I add links to other pages/posts from my post?
- How can I make a post that belongs to a category or have specific tags, display different from the other single posts?
- Add custom post type settings to wordress default posts
- Problem with permalink routing?
- Get user categories with most posts in it
- How to add tags (custom taxonomy) to post class css?
- Listing Specific Categories from Current Post with Depth
- hiding permalink in admin if the user is subscriber
- How to Mysql select a list of posts with meta_values AND all relevant categories?
- get_the_category listing in hierarchial order
- Displaying posts that belong to a specific author
- Show posts on front page only
- Post is in descendant category not working in home.php
- How to get posts ordered by using their categories?
- Hide parts of the post content after typing it’s name or searching it by category
- SQL Bulk Move old posts by one author to another category
- Display Related Posts by Category in Random
- How to show beneath posts the full category path?
- Changing permalink of WordPress
- Set Default Post as Parent Child (Nested) Relation
- Display Current Posts Category (with the most posts)?
- How can I add random alphabets in wordpress permalink posts structure
- ACF date picker to trigger category change
- Get category slug of the Parent category of a Product
- exclude particular category in api
- Make categories appear random
- WP posts using index.php instead of single.php
- Sync All Post Type Tag
- Excluding tag Link from html tags in Post content
- How to make a page show posts only from specific categories without editing php files
- Get posts from category from custom query
- Can I Paginate Post after every 25 tag?
- How to show posts ordered by random [duplicate]
- How to Get Position of a Post from a category and tag
- Add Categories To Custom Post
- Permalink base only for posts
- Query posts from newest category
- Display Posts by Categories
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- Ajax – Post Categories and Load More
- Edit Posts Page but not category specific pages?
- How to organise post by category and date
- Show post if in category
- How to display custom content in post with category XXX
- Displaying categories items among posts
- retrieve post slug by post_tags taxonomy
- Display ONLY Latest Post From Several Categories
- Show all posts in category
- Polylang – display one post into 3 categories with different lang [closed]
- Export Posts Without Categories In An XML File
- Site ‘Categories’: save an admin global setting with post metadata [closed]
- Insert Tag in WordPress Post
- Adding content to the top of post’s based on their category
- How to specify a post category for the home (posts) page?