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
- Fresh install redirects to www, breaking page loads
- redirect any category in URL to the ID and post-name only – hundreds of pages affected
- Updates all internal links on permalink update
- how to have same rewrite rules for 2 different post type?
- append current user-id to all internal permalinks
- wordpress admin panel loop on nginx
- Permalink structure /page/page/cpt-post gives 404 with pagination
- rebuilding/ rewriting a url to make it SEO friendly
- Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)
- What permastrusture tags are generated out of the box right after creating custom post types and taxonomies?
- WordPress All pages but home simply read “hello”
- Rewrite posts url as they’re all children of a page
- Pagination links for taxonomy archive page 404 error on every page except first
- Issue with my links or permalinks
- a way to support totally different url structure
- Post redirected to page with same name but DIFFERENT permalink
- Multiple Permalink Patterns for one page
- Changed Permalinks settings, how do I redirect posts on Nginx?
- Pretty Filter URL
- Post permalinks go to the home page
- WordPress Pagination Custom Rewrite Rule for Pages
- Page permalink redirects to home page
- WordPress pages break with custom permalink settings (theme directory not output)
- Change all pages permalinks instead of hierarchical to have id of the page
- Remove/hide a specify category-name from the url
- How to change URL of my pages?
- redirect 301 with special character like WIX site “#!”
- How can I get .html URL suffixes in permalinks?
- LetsEncrypt WordPress on the Raspberry Pi – Nice url’s give 404 with https, http works
- On IIS, stop WordPress from resaving my web.config file when I enter the Permalinks config page
- Rewrite single template permalink?
- Removing or hiding slug/permalink from htaccess
- rewrites and custom links in page need help with add_rewrite_rule
- Category-dependent custom permalink
- changing permalink gives 404 error for old links
- Pretty permalinks (again)
- Dynamically populate permalinks
- Fresh wordpress installation in sub-directory not accessible
- How to hide slug numbers with htaccess
- Converting WP Page to use full explicit paths?
- When using number in url it is redircting to same page but when using character it redirects to 404