Creating a page: slug is changing

Posted in: Newspaper
Post count: 122

1 – I created a page: https://www.stefanegirard.fr/the-cafe/
2 – I changed it to https://www.stefanegirard.fr/the-cafe-8/
and then moved it to the bin.
3 – I permanently deleted it from the bin.
4 – I created a new page: https://www.stefanegirard.fr/the-cafe/
5 – When I click on “View,” the URL: https://www.stefanegirard.fr/the-cafe-8/ appears along with my site’s 404 page.
Please help me.

Post count: 35449

Hi,
Please try this guide, it should help you! https://www.hostinger.com/tutorials/what-is-a-wordpress-slug
Thank you!

Post count: 122

I have an issue with an URL. I do not need advice for SEO
https://www.stefanegirard.fr/the-cafe/ is the URL I created and when I click on view I have an issue as an other URL is displayed https://www.stefanegirard.fr/the-cafe-8/
Why ?
Thanks

Post count: 35449

Hi,

This issue is related to how WordPress handles permalinks and page slugs, not your theme.

Please follow these steps:
Edit the page titled “The Café”.
Under the page title, click “Edit” next to the permalink and make sure the slug is exactly the-cafe, then update the page. https://i.imgur.com/jgj2Ltj.png

Go to Settings > Permalinks in your dashboard and click “Save Changes” (this refreshes permalink structure, even if you don’t change anything).

Clear your browser cache and any caching plugin or server cache you might be using.

Try viewing the page again.
If it still redirects to /the-cafe-8/, it may be cached in your database. In that case, try creating the page with a new slug (e.g. the-cafe-new) and see if that works.

Let me know how it goes!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.