WordPress doesn’t catch all old URLs, you have to help it. Add the following code to your .htaccess above the WordPress rewrite rules:
RedirectMatch permanent /\d+/\d+/\d+/(.+)$ /?pagename=$1
Related Posts:
- removed index.php now all pages 404
- After moving from subdirectory to home, home page does not display
- Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)
- AWS WordPress Install – pages/posts 404 on restart until updating permalinks
- WordPress 404 in development area
- Custom Permalink
- Page preview is shown, updating page gives 404 error
- Accessing Subdirectories in WordPress Install
- LetsEncrypt WordPress on the Raspberry Pi – Nice url’s give 404 with https, http works
- When using number in url it is redircting to same page but when using character it redirects to 404
- Folder Name and Category Name WordPress
- Setting up WordPress with Custom Permalinks and no .htaccess File?
- Setting 404 page in Nginx
- Passing variables through permalink structure
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Remove subfolders from URL
- 404 on category.php pagination
- htaccess or redirect to cloak portion of a link?
- Posts not working on windows after changing permalinks
- removing index.php IIS 7.5 webconfig
- wordpress permalinks tweeks
- Permalinks broken regularly
- 404 Page Not Found for Only One Post
- Permalink /%category%/%postname%/ returns 404 on OSX
- .htaccess file missing from WordPress install directory
- Why does chrome keep downloading a file instead of running the site?
- Permalink change made author archive vanished
- Changes to .htaccess not updating the file (old rules still take effect)
- If I change permalink structures, can I use htaccess to permanantly redirect links?
- Redirect parent taxonomy to it’s child
- Change in permalink structure made javascript cookie not work correctly
- Permalinks not working with Vagrant
- Nginx Rewrite Rule:: index.html added to every permalink
- How to redirect to correct pages after permalink structure change
- Moving local wordpress page to a real server subdomain broke my permalinks?
- Only plain permalinks working
- Redirect a Blogger Page URL to wordpress
- Edit page slug after save, cause 404 by linked pages
- Correct permalinks and 404-error
- What would cause a theme to add extra characters to blog post links?
- Permalink Doesnt Work – URL Not Found
- Getting 404 when Access post which name start with Digit
- WordPress 4.4 old permalink redirect
- 404 when going to /blog
- Permalinks 404 error with HTTPS host
- Htaccess https 301 problem
- Empty permalinks settings in .htaccess
- An other permalink problem – 404 Error
- WordPress 3.1 .htaccess contents keep dissappearing?
- How to prevent WP overwriting my custom htaccess rewrites?
- What causes /pages/ to appear in URI, and how to remove it?
- Permalinks on post is working, on pages 404 error
- .htaccess rewriterule being ignored – tyring to remove dates from WP posts
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- How to redirect RSS feeds to Feedburner and keep pretty permalinks?
- 404 permalink errors on Pages only
- change WordPress permalinks and redirect new urls 301
- Permalinks – .htaccess
- Configuring Home Page Address
- WordPress Page Not Found if Permalink Settings is Postname
- Why does enabling Permalinks make pages not found?
- WordPress Permalinks 404 bug with “next” button
- Changing permalink settings causes 404
- Main blog page works but title says Page not found
- permalink and add_rewrite_rule – error 404
- WordPress permalink change causes all incoming links to give 404 errors
- Problems with permalinks (.htaccess not working)
- using wp_redirect to redirect to a permalink
- The requested URL was not found on this server [closed]
- What would cause a 500 Server Error with permalinks turned OFF?
- Browsing to permalink prefix results in 404
- Change author permalink using htaccess?
- Xampp 7.3.3 fresh install of WordPress 404 pages unless permalink is set to plain
- MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help
- Woocommerce posts and products links works only once and then get 404 error
- Extending page urls without getting a 404
- Cannot publish posts or pages when I change permalink structure
- 404 on pretty permalinks when serving via HTTPS
- Permalink issue with WordPress Site at domain root and another WordPress Site in a Subfolder
- 404 page not found – Yet open admin page it works
- Custom permalink gives 404 error only in some pages
- Remove Permalink of certain posts
- wordpress admin panel loop on nginx
- Problem with permalinks
- Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- WordPress All pages but home simply read “hello”
- WordPress pages break with custom permalink settings (theme directory not output)
- How to rewrite a folder in WordPress?
- On IIS, stop WordPress from resaving my web.config file when I enter the Permalinks config page
- Can’t access WordPress site in subfolder possibly because of .htaccess redirect from root installation?
- Pretty permalinks (again)
- Fresh wordpress installation in sub-directory not accessible
- .htaccess not working in WordPress
- 404 error on second page load for child-pages
- redirect old pages by .htaccess
- WordPress 3.1 problem, getting 404
- htaccess strip url
- WordPress Permalinks 404 Not Found
- Standard Htaccess directives disappear by themselves