Setting “Custom Rewrite Slug” gives 404

Hi @gregamer

That’s the proper way to set post type slug rewrite slugs.

My question is if you also have a page named “free-tutorials” because if that’s a matching value, then chances are WordPress isn’t quite sure what to query for. Is “free-tutorials/post-slug” a post in a post type? Is “post-slug” a child page of the “free-tutorials” page?

Hi,

that’s weird. I tried different meaningful rewrites and they didn’t work. Now I typed some gibberish and it works. There is obviously something in the database with the slug I want to rewrite to although I can’t find anything similar in posts or pages. I’ll have to take a look in the db to find it.

Thank you for your help, you deserve a 5 star 🙂

Cheers,
Grega

  • This reply was modified 7 minutes ago by gregamer.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer