I figured out why this was not working. I had to set the category base to a dot(.) without any plugins but since I had ‘Yoast SEO’ Plugin instead, I had the not set the correct settings. To achieve the permalink structure I required:
Without Plugin:
- Go to Setting > Permalinks
- Select Custom Structure
- Add /%category%/%postname%/ after your domain
- Change Category Base to period/dot.
With Yoast SEO plugin:
- Go to Yoast SEO
- Select advanced
- Click on the tab permalinks at the top
- Check Strip the category base (usually /category/) from the category URL.
Here is where is got those steps from (and some other ways to remove category base)
Related Posts:
- Custom permalink structure leads to be 404 on pagination
- How to get permalinks with category base working with sub-categories
- Archive pagination causing 404 with permalinks structure
- New categories are now going to 404s
- WordPress subcategories return 404 in custom template
- Same base for category and post
- Category url generate 404 error
- Pagination breaks on child-categories, works fine on parent-category
- Need help with major category and permalink re-organization
- Subcategory Page 404ing
- Custom permalink /%category%/%postname%/ produces 404 on each post
- Remove parent category from permalink? Basically only have the child category?
- Category archive by year with permalink support /category/YYYY
- Add a URL prefix to permalinks of one category of posts only
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Force WordPress to Show Pages Instead of Category
- How do I use the same post slug for different Categories?
- How to remove category from wordpress url?
- How to create a custom url for a category [closed]
- How to change the category in URL for posts in multiple categories?
- How to get the url to tag & category base set by the user?
- Changing the category permalink structure
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- Exclude subcategories from the url
- Root level category, tag, author and archive pages to work
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Permalinks – Different structures for different categories?
- Plural Category Base Slug On Category Archive Page
- Removing category base form links messes up the parent-child behavior
- Custom Category/Subcategory structure
- Remove Parent Category from Child Category URL
- Best way to programmatically link to multiple categories (union/intersection) [closed]
- Default category link for a custom category is a broken link
- How to set up Author archives with sub category URL
- How to filter posts by format and category via url?
- How to Filter categories in the permalink structure
- Specifying multiple categories in URL (permalink)?
- Possible to make a subdirectory that loops through a single category?
- Should the actual /category/ directory be 404? Is that normal WP behaviour
- Add “page-a” slug to category link if user visit category link from “page-a”
- Redirect category to url with /category
- One Specific Category To Permalink
- Category being displayed without base parmalink
- wordpress sub-category ( lowercase letters + non-latin characters ) = 404
- Removing post category base giving Error 404
- Categories showing page not found
- The default code for “posts_nav_link” on category.php isn’t working
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Have different permalinks based on category
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- category permalinks
- Hide uncategorized when no category set
- Remove subcategory and category with some rules from permalink
- WordPress URL Rewrite for dynamic and customized URL
- Older entries link within category page
- How can you change the permalink for pages?
- Get category URL knowing it’s id
- How to add a post without assigning to a category?
- How to get Next/previous_post_link to go through articles in top parent category
- How to Link to Most Recent Custom Post of Same Term
- Redirect Changed Permalink on wordpress
- How to remove one specific category (uncategorized) from post permalinks
- Custom page category taxonomy 404
- How do I change the category permalink structure?
- Advanced permalinks structure
- Categories show 404 error on multisite installation
- Subcategory Page URL to Display Only Posts from that Subcategory?
- pagination 404 error, same slug home and categories
- A different permalink structure for different categories
- How to set the same base url for two different taxonomies?
- Get multiple category names from permalink
- Is it possible to set up blog categories without changing permalink structure
- Remove WP Core canonical for category pagination
- Include a page’s “category” in its URL
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- Remove base category gives 404 error
- WordPress Category url redirects to subdomain
- WordPress and “pretty permalink”
- Dynamically creating content on custom URL without getting 404
- WordPress pagination not working because of subcategory
- 404 error when i try to search by category or by tag
- Group Posts by First Letter of Title categories
- Using categories and pages in menus
- Page Type with Category Link
- hierarchical taxonomy in permalinks? using same slug
- Changing Permalinks for Category Pages Only
- Taxonomy for custom post type not found
- Link categories to last post
- Using pagination with multiple loops causes it to break
- How do I hide posts in a category from all listings but still allow the posts to be viewed?
- WordPress category gives 404 after moving to a different domain
- Create custom Perma link
- Custom permalinks structure
- How to get category slug link? ( include parent categories)
- Custom EndPoint not working when strip child category in URL
- Remove “?category=” in the URL wordpress ajax filter work for category
- Use same wordpress category base and tags as the prefix as the post permalink
- How to add custom prefix before category base for category page URL?
- How to remove the category from the url only for a specific category of articles on wordpress