Think I found a solution… Since anything after the %post_id%/__ will redirect to the full slug, a simple RewriteRule in the .htaccess file appears to do the trick. I had to place it above other RewriteRules and this is working for me.
RewriteRule ^post/(\d*)/?\z$ http://noahcoad.com/post/$1/a [R=301,L]
Related Posts:
- Using WP rather than .htaccess to redirect pages/posts
- Redirect a Blogger Page URL to wordpress
- Custom permalink structure with %postname% in front of domain name
- How does WordPress handle permalinks?
- 301 Redirects for Changed Permalink Structure & Category Base
- URL rewrite based on a custom field value
- How do I turn off 301 redirecting posts (not canonical)?
- Passing variables through permalink structure
- How to map permalinks with accented letters to sanitized slugs?
- Remove subfolders from URL
- htaccess or redirect to cloak portion of a link?
- custom naming of search permalink /search/
- Random Alphanumeric Key URLs
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- WordPress redirection problem after moving to a new server?
- Specific URL Rewriting with parameters in wordpress
- Rewrite my default post URL
- Why does chrome keep downloading a file instead of running the site?
- Permalinks: Page Not Found
- If I change permalink structures, can I use htaccess to permanantly redirect links?
- Redirect parent taxonomy to it’s child
- Need Help Correct Regular Expression Redirect Code
- Custom Permalink
- How to redirect to correct pages after permalink structure change
- URL rewriting: removing the site’s basename for a specific category
- Redirecting all posts after changing URL structure with htaccess
- Redirect all posts permalinks from “.html” to “/”
- WordPress 4.4 old permalink redirect
- Htaccess https 301 problem
- How to rewrite a URL to another rewritten URL without changing the address?
- Passing the JQuery string to Worldpress URL
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- mod-rewrite exception? keep #hash in matching urls?
- What causes /pages/ to appear in URI, and how to remove it?
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- Test site pages go to main site
- Comment author url link is wrong? How to change from authors/ to author/
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- change WordPress permalinks and redirect new urls 301
- Configuring Home Page Address
- Problems with permalinks (.htaccess not working)
- corrupted URLs – can’t leave starting page
- remove SLASH on single_post but KEEP on categories and parent pages
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- My permalinks for all pages and posts now include old page titles as parents/categories
- WordPress Category url redirects to subdomain
- How to rewrite a folder in WordPress?
- Can’t access WordPress site in subfolder possibly because of .htaccess redirect from root installation?
- All pages lead to home
- Folder Name and Category Name WordPress
- Once redirected by Rewrite rules, how can WordPress know the page?
- WordPress permalink still not working (error or not understood?)
- Removed and Reinstalled WordPress, Redirect Broken now
- redirect old pages by .htaccess
- My wordpress site must be being affected by outside sources [duplicate]
- Why are all pages redirecting to homepage when using custom permalinks?
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- 404 posts error after 301 redirection of changed category / tag base
- 301 Redirect posts to newly added categories
- htaccess – Redirect to subfolder without changing browser URL
- Need help with add_rewrite_rule
- How to get pretty URLs with add_query_arg in permalinks
- Permalinks to Custom does not work (out of box)
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Changing URL from /%postname%/%post_id to /%category%/%postname%/%post_id%
- Put post ID on the custom post type URL
- Does WordPress send a 301 header message when you change permalink structures?
- Remove the Parent category from the permalink but leave the child category
- Multilanguage URLs
- Redirect Loop to Page, Can’t Find Origin, Can’t Remove [closed]
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- How to protect htaccess so it can’t be overwritten?
- Does changing a post title of a published post automatically change permalink?
- 301 Redirects Result in 404 for WordPress Search Query Strings
- After updating to 4.8 permalinks will not work (all 404)
- 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
- How to rename ‘Tag Base’ with WPeC 3.8?
- Custom rewrite rule ignored
- Resolve 404 on posts without category
- Access or edit custom generated permalinks with WP_Rewrite
- How Can I Use a Custom AccessFileName?
- xammp server permalink by postname not working
- Redirect after permalink changes
- Custom permalink structure only saves with index.php inserted
- Permalinks and page store
- All in One Seo and Permalinks
- rewrite based slug standar post wp
- How can i fix my permalinks?
- Add slug to default post permalinks ONLY
- Pretty Filter URL
- Prevent guessing slug
- Customize category permalinks
- URL to an image in a post is changing when permalink is set to custom. Can I avoid this?
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Blog url disappears
- Post pages are redirecting to the 404 page in wordpress
- How to make my custom permalink pull up the correct post