404 or redirect to other page
-
Hi, first of all thanks for the great plugin! It works for me, but sometimes I have 404 error or redirect to other page when view a post. I edited permalinks by base editor and got the permalink to my CPT like this ‘www.example.com/custom-term/custom-post-type-slug’. As I see all custom links are written to ‘wp_options’ in ‘permalink-manager-uris’. The problem is that when you delete the post the record with id and permalink not deleted, and if you will add a new post with the same slug you’ll get several records with the same slug but different id. When I cleared the ‘permalink-manager-uris’ field in DB and regenerated Plugin Slugs & Bases (Full URIs) my problem was solved. Maybe you need some functions which allows to delete the record with slug and ID when you delete the post.
- The topic ‘404 or redirect to other page’ is closed to new replies.