Permalink action being overwritten after custom post type with slug created.

I have a main page- random.in/vehicles
This “vehicles” page displays all the sub-pages(linked by parent-child page relationship). So I have another page- random.in/vehicles/cars (This is a child page of vehicles)
This all worked fine until I created a custom post type named Reviews.
The Review custom post type has a custom post type defined as – “/vehicles/cars/%car_name/review_name”.

So when I created this custom post type. The permalink random.in/vehicles/cars stopped working. It simply showed a default page with all posts, rather than the cars page.

Can you please help what I am doing wrong.

Thanks in advance

Read more here: Permalink action being overwritten after custom post type with slug created.

Leave a Reply

Your email address will not be published. Required fields are marked *