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 does WordPress create URLs that Apache knows about?
- Add .html (dot HTML) extension to custom post types
- How does WordPress handle permalinks?
- How to add a custom URL placeholder to author archives?
- permastruct for custom post type not working in one of four cases
- Make post slug have priority over category slug
- How to Remove Slug From Database?
- Remove parent slug for child pages
- Change the custom post type permalink
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- If the only permalink setting is %postname% what happens in the case of old duplicates?
- Change author slug and functionality
- Rewrite url without flushing the database?
- Get closest page ID from URL
- Setting up two separate blogs while using WordPress as a CMS
- Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- How to redirect to correct pages after permalink structure change
- Is there a link parameter that will show me all my published pages?
- Add prefix to page URL based on the page template
- How to remove specific category from URL in WordPress
- Custom permalink leads to index page
- Get the url of a page template without using the page slug and ID
- WordPress keeps giving me the wrong permalink
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- How to change hierarchical page permalinks to be flat
- Relative v.s. absolute URLs: which ones should I use for cross-domain portability?
- cannot link a external url, present page url acting as parent url
- How Do I get the author’s page id?
- Order custom post type posts by custom field with pretty URL
- Show category name in the post URL only for specific categories
- Exclude single page from permalink rule
- help to remove last trailing slash using add_rewrite_rule
- Permalinks problem woocommerce no separating slash between categories
- Change permalink to attachment
- Problems with permalinks (.htaccess not working)
- Subdomains pointing to a permalink URL
- Remove international characters from slug – Almost done – Bit help
- replicate url permalink after migrating to wordpress
- corrupted URLs – can’t leave starting page
- Add prefix to url, but products not showing in page SHOP
- MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help
- URL gives 404 error of my subfolder site when i change permalink
- Nested permalink without dummy parent page
- Website URL Permalinks
- Custom Taxonomy rewrite rule causes 404 error on page or single post depending on if it’s set to “True” or “False”
- WordPress and Woocommerce Chinese Permalink
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- WooCommerce product permalink changed
- Add a product attribute to permalink in WooCommerce
- add bar in paging in the URL
- WordPress Page URL
- Rewrite single template permalink?
- Category-dependent custom permalink
- Imported posts using wrong domain name
- Customized author slugs not working with get_author_posts_url method
- Editing the variables in a custom URL
- region selection
- Are custom page templates being used to get this permalink structure
- WordPress custom permalinks, pages are now 404