You only need to add “/.” after category base:
Category base: news/.
(/. is required as it prevents 404s for post).
This worked perfectly for me 🙂
EDIT: This field will strip trailing or leading slashes unless you include the “.”
Related Posts:
- WordPress thinks my custom route is a 404
- Unable to get /%postname%/ permalinks working, 404 on all links
- Permalinks 404 error with HTTPS host
- Visiting posts results in 404 errors after host migration
- 404 permalink errors on Pages only
- WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]
- WP-e-commerce (getshopped) – Annoying permalink issue [closed]
- MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help
- Folder Name and Category Name WordPress
- Although rewrite engine is on, I get 404 not found on every page
- Changing permalinks gives me 404 errors on nginx
- Pretty permalinks for search results with extra query var
- Using $_GET variables in the URL?
- How to prevent the default home rewrite to a static page
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Pretty Permalinks
- Remove parent slug for child pages
- How to remove the index.php in the url?
- How can I Rewrite a ‘page’ URL based on query string parameters?
- custom naming of search permalink /search/
- Rewrite user profile URL to be human friendly
- Using WP rather than .htaccess to redirect pages/posts
- rewrite_rule for custom post type doesn’t affect get_permalink
- Add ‘articles’ prefix before blog posts url without affecting pagination
- Attachment page 404 not found when image is attached to post
- custom permalink/shortlink with base62 encoded post ID
- Permalinks broken regularly
- 404 Page Not Found for Only One Post
- add new permalink structure from dynamic page
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- Call to a member function add_rule() on a non-object
- Custom taxonomy rewrite using tax name instead of rewrite slug
- Why does chrome keep downloading a file instead of running the site?
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Permalink change made author archive vanished
- Why is add_rewrite_endpoint incompatible with /%category%/%postname%/ permalink structure?
- Re-write specific custom post type category URL to go to another page
- WordPress 404 in development area
- Change blog segment of URL
- Custom Permalink
- add_rewrite_rule not working for me
- Using WP Rewrite, but just not “getting it”
- Nginx Rewrite Rule:: index.html added to every permalink
- Share same Slug for a Custom Post Type and 2 Taxonomies
- Using taxonomy term in CPT permalink – Pages 404’s
- Rewrite CPT permalinks and include WPML language
- Redirect a Blogger Page URL to wordpress
- Edit page slug after save, cause 404 by linked pages
- Custom permalink structure gives 404
- IIS 7 Rewrite with parent categories
- Do WordPress Permalinks Refer to a Lookup Table in the Database?
- Post preview gives 404 when permalinks are purely date based
- Passing the JQuery string to Worldpress URL
- Permalinks only for posts
- mod-rewrite exception? keep #hash in matching urls?
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- Custom permalink structure with %postname% in front of domain name
- Fix 404 error after changing permalink structure
- How can I set up a secondary permalink structure?
- WordPress Permalinks 404 bug with “next” button
- Changing permalink settings causes 404
- how to set up wp in folder within static website?
- permalink and add_rewrite_rule – error 404
- How to Use metada Value in Url and is it possible? [duplicate]
- How do I rewrite attachment urls when permalink structure contains %category%?
- IIS7.5 URL rewrite pboblem on index page
- Custom child page permalink
- Safest way to create a custom permalink
- Creating an alternate path for a page
- How to change URL from /%postname%/ to custom-name/%category%/%year%/%monthnum%/%day%/%postname%/
- Create different permalinks for same post
- WordPress Attachment Page URL Rewrite!
- WordPress /page/2 gives 404 when custom permalinks is set to %category%%postname%
- WP permalink working, but why content doesn’t display
- Giving specific category posts its own permalink structure returns 404
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- Flushing rewrite rules enables to see an article, but I didnt change anything
- Redirect page to homepage, keeping URL
- How can I put WordPress in a directory but keep just the home page at the domain root?
- Every sub page shows Error 404, i have check permalink but still same issues
- Updates all internal links on permalink update
- how to have same rewrite rules for 2 different post type?
- Permalink structure /page/page/cpt-post gives 404 with pagination
- What permastrusture tags are generated out of the box right after creating custom post types and taxonomies?
- Rewrite posts url as they’re all children of a page
- Multiple Permalink Patterns for one page
- wp_dropdown_categories links 404
- Permalink Rewrite with Archive – Archive gets 404
- Accidentally changed the permalink structure
- WordPress permalink still not working (error or not understood?)
- Only homepage working correctly, 404 error on everything else
- How to shorten the Permalink after WP>WP blog import?
- how to create several url aliases for a page
- Single product link in woocomerce
- Parent pages not found with pretty permalinks
- URL issues with WordPress
- Add additional URL variations for a Post
- Plugins, themes and other dashboard links including permalinks giving 404 error
- How to make my custom permalink pull up the correct post