Using a custom field value to redirect away from a 404 page
I can’t say I would recommend this on a highload system, if anything these should be 301’d in HTAccess or have their own custom table to relate to. Below is a solution which will grab the requested URL and try to find post with matching meta: /** * Redirect 404s based on requested url * … Read more