This document lists the reasons your links may redirect to a 404 “page not found” error.
- The most common reason is your permalink settings in WordPress. If permalinks are set to Plain, or to Custom with nothing in the Custom box, your links may return a 404 error. Set permalinks to the Post name option, found under Dashboard > Settings > Permalinks.
- A page or post has the same name, which can cause a 404 error. Change the name of either the post or the page.
- The destination URL for the post or page no longer exists or works. Make sure the destination URL is still valid.
- A hosting server misconfiguration. Contact your host to troubleshoot why the pretty link isn’t redirecting correctly.