Here’s your answer:
/%category%/%postname%/
But if you have a lot of pages and posts and a top ranked website, I suggest using the following structure which is fully optimized and server friendly:
/%post_id%/%postname%/
Related Posts:
- remove “index.php” from permalinks
- How to get pretty URLs with add_query_arg in permalinks
- Creating custom permalink structure for languages
- Getting the Site URL Including the Front Base
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Pretty Permalinks
- How to create a permalink structure for posts in a specific category
- Remove subfolders from URL
- flexible rewrite ‘ramble’ URLs with WordPress
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- How to Modify Existing Rewrite Rules?
- custom permalink/shortlink with base62 encoded post ID
- Can two products with the same name but different category produce unique URLs?
- How to reset canonical URLs / fix redirect loop
- Change blog segment of URL
- Force wordpress to display page with same url structure as categories
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- mod-rewrite exception? keep #hash in matching urls?
- Remove parent page from url
- Getting back a permalink from custom url
- Bulk append URL (add word to slug)
- Access posts while mod_rewrite is broken
- Can I change the URL structure for a CPT only?
- Multiple Taxonomy Items for Separate URLs
- WordPress keeps removing query var from the URL
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Using a template file for a specific custom URL
- Extra url paths as variable
- Passing parameter through permalink structure
- rebuilding/ rewriting a url to make it SEO friendly
- a way to support totally different url structure
- How to change URL of my pages?
- Custom Permalink Base
- Include language variable in url
- Single product link in woocomerce
- permalinks url with woocommerce
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- Permalink format: singular or plural
- Custom post type permalink endpoint
- WooCommerce return 404 on category pages
- URL rewrite based on a custom field value
- why does anchor name add a slash to url?
- How to change author base without front
- How to map permalinks with accented letters to sanitized slugs?
- Add custom directory in URL
- Using two permalinks for one post
- Custom rewrite rules for a $_GET request
- How to increase the character limit for post name of 200?
- Put post ID on the custom post type URL
- WordPress 3.4 Permalinks Redirection Problem
- Change permalink for a single post entry
- Remove the Parent category from the permalink but leave the child category
- Apostrophe in permalink results in page not found
- Multilanguage URLs
- Add .html to Woocommerce permalinks [closed]
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- wordpress api using rest_route for other pages
- Does changing a post title of a published post automatically change permalink?
- Remove custom taxonomy base from URL
- Rewrite rule intended for CPTs gives 404 for pages
- Unable to get /%postname%/ permalinks working, 404 on all links
- Permalink structure between 2 custom post types and a taxonomy
- How to rewrite a URL to another rewritten URL without changing the address?
- How can I emulate permalink behaviour on static pages
- wordpress how to replace url /bar with foo/bar for custom post type
- cannot link a external url, present page url acting as parent url
- Permalinks on Windows IIS not working and web.config breaks site – does wordpress not support windows server now, if so how?
- Exclude single page from permalink rule
- How are WordPress Page URLs affected by permalink settings?
- WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]
- “set_front” => false on custom post type breaks wp_list_categories links [closed]
- replicate url permalink after migrating to wordpress
- Make the blog page a child of another page and rewrite the blog url
- How can I access to the same post-type “page” from multiple different urls?
- Multiple URL rewrite rules and get every prams
- append current user-id to all internal permalinks
- Added .html to Woocommerce permalink but pagination don’t work!
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- Pagination links for taxonomy archive page 404 error on every page except first
- WooCommerce product permalink changed
- Change all pages permalinks instead of hierarchical to have id of the page
- Remove/hide a specify category-name from the url
- rewrites and custom links in page need help with add_rewrite_rule
- Category-dependent custom permalink
- Imported posts using wrong domain name
- How to create an IIS7 re-write rule for a single category
- Although rewrite engine is on, I get 404 not found on every page
- Customized author slugs not working with get_author_posts_url method
- ?posts_type=xxx not rewritten
- region selection
- WordPress custom permalinks, pages are now 404
- Creating complex URLs with WordPress permalink structure
- WordPress keep redirecting me to random URLs
- Add additional URL variations for a Post
- Using a variable in page permalink
- Can’t Remove Unnecessary Slug
- WordPress homepage shows default theme after migration – logged-out users see different content