Can't change slug of page

Hi, I’m having trouble changing the slug of two of my pages and I can’t understand why. Maybe someone can elucidate me?

Let’s say I have two collections. One has fruits and another one has vegetables. So, “Fruit List” and “Vegetable List”.

The, I want to have a dynamic page for each one of them in the following format:

mainUrl/fruits/id/fruitName
and
mainUrl/vegetables/id/vegetableName

Up to this point there is no problem. However, I also want to have the following two pages:

mainUrl/fruits
and
mainUrl/vegetables

But somehow, when trying to change the page slug, it says it’s already taken. But when I try to access them, I only get a 404 Error Page. How can I check what pages are these (if they exist, anyway)? Or is it not possible because of the dynamic page URL structure?

Thanks in advance for any hints!

Any hints on this?
Might there be a way to search for and delete hidden (?) pages?

It’s because the route (fruits and vegetables) are taken by the dynamic pages.

If you want to use /fruits and /vegetables, then you should create “Dynamic List pages” - which will sit at this route level :slight_smile: rather than trying to create blank static pages.

@noahlovell

I see!!! Thank you so much for the tip! Problem solved!
It was as simple as creating two Dynamic List pages and copy both editor and code contents from the original static pages to the new dynamic ones.

Thank you once again! :smiley:

1 Like