I hate to say it, but the answer is to not edit the post slug or category.
Yes, you can edit the post name … but leave the slug alone. Remember, other people (users, Google, etc.) use these URLs as well, so changing the URL of a post around makes them think it’s a new URL, too.
Related Posts:
- How to get wordpress link to fully evaluate when coming from facebook
- Facebook Share Permalink Javascript href
- [Plugin leenk.me]modify get_the_title
- Facebook like button disappears after changing the static permalink to dynamic one!
- Need help with add_rewrite_rule
- How to get pretty URLs with add_query_arg in permalinks
- Removing Parent Page(s) from Permalink
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Page begins with number, WordPress adds 2
- Permalinks to Custom does not work (out of box)
- Why don’t WordPress post slugs allow accents?
- Multi-language permalink in qtranslate
- Modify get_permalink with a specific filter
- Include Taxonomy slug in post url
- How to set permalink to fetch all children custom posts with parent post in wordpress?
- Rewrite url / permalink for default archive – yearly / monthly
- Should I use relative or absolute urls when pointing to internal pages
- How to change the link structure of the homepage?
- WordPress on VirtualBox – no pretty permalinks
- permalinks has -2 with post name structure. why?
- How can I change permalinks to use a different domain and path from where the blog is hosted?
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- Child pages with same slug
- Permalinks, Rewrites, Get Variables, Oh My!
- Remove words from permalink when saving post automatically?
- Permalink problem
- Removing leading zeros from custom permalink structure
- When is it a good idea to build a permalink structure from scratch?
- Parent Category link to its sub categories on different page
- How to reset canonical URLs / fix redirect loop
- Trailing slash at the end of permalink loads faster / better SEO?
- WordPress blog posts permalinks giving 404 on nginx
- Permalinks by page/post name returning 404
- why does my url not update after migration?
- Is a permastruct possible on pages?
- Custom WordPress user permalink
- Changing the post date without causing 404 error
- Rewrite rule for a query string
- WPML – how to get the permalinks to display also the default language
- Why does the ‘Month and Name’ Permalink Format not Work on my new WordPress Site (running on IIS7)?
- How do I add /blog/ as a prefix to permalink structure for posts, categories & tags?
- Custom permalink structure for posts in specific category
- force permalink slug for page vs post_type slug parent
- WordPress url ingore permalinks setting [closed]
- Rewrite URLs for LeadPages due to subdirectory installation
- After updage wordpress 4.4 to 4.5 nginx config works not properly
- Let me choose permalinks
- All URLs are having ‘/blog/’ appended to them.
- A link to a page including an anchor doesn’t go to that anchor – URL gets changed
- Default permalink changes
- WordPress Permalink feature alternative
- How can I emulate permalink behaviour on static pages
- Unique one time use URL
- the_permalink on the homepage vs posts for sharing links
- Media/attachment urls don’t redirect with fake URL structure
- Test site pages go to main site
- when I create a page with a /blog permalink the css gets messed up
- Strange behavior: random HTTP error 500 fixed by visiting Permalinks settings page (htaccess issue with language code)
- how to prefer static page if it exists over wordpress page
- Remove a link from a page ID used within an array [closed]
- Why will Pretty URLs not Work?
- Get Posts Based on Tag Matching Page Title
- Rewrite rule not passing variable
- Passing variable as permalink URL
- “set_front” => false on custom post type breaks wp_list_categories links [closed]
- Customizing a permalink
- All in One Seo and Permalinks
- Already have htaccess but permalink settings not working. Getting 404
- Add .html permalink to post if specific category
- How to update wordpress permalink structure with author role?
- How to turn a custom query string into permalink?
- How can i fix my permalinks?
- Adding custom query var to a single post without redirecting to its root slug
- Custom structure permalink preventing 404
- Flush rewrite rules with scheduled event (cron)
- I have a 404 error on all my pages! What do I do?
- All files in public_html, Cannot launch WordPress site via wp-admin
- Extra url paths as variable
- Add slug to default post permalinks ONLY
- Category Base permalinks
- Propper way to set anchor and url param
- Prevent 301 when a trailing slash added
- Do shortcodes in title before permalink is generated
- How to change URL of my pages?
- How to change dynamic link to relevant post
- Auto-generated pretty permalink not using title since 4.4 update
- Pretty permalinks returning “not found” on localhost and server
- Removing or hiding slug/permalink from htaccess
- Problems with permalinks after update wordpress 4.2
- WordPress Permalink Problem
- Converting WP Page to use full explicit paths?
- Latin character conversion
- Update permalinks
- Losing the original URL when using add_rewrite_rule
- broken permalinks in responsive layout
- Permalink issues with Ubuntu Server – Infinite loop & Wrong pages
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- WordPress keep redirecting me to random URLs
- Not recognizing my custom templates in hierarchy
- How to make a permalink variable %year% become two digits instead of four digits?