Page path redirects to Trash

Hi there,

I have a specific URL/page location that I want to use. For some reason, this specific URL keeps redirecting to !trash/slug_name-2

This renders the page_not_found 404 because the trash is empty.

When I create a new page in the site tree in the desired location, the system allows me to save the slug_name I want, but automatically adds a canonical URL pointing to slug_name-1 (adding the -1)

I’ve had a look in the PagePaths table, and cleared the cache etc. I don’t know where this link to an old (and since deleted) page is hiding. Any help would be greatly appreciated. The CMS knows its there somewhere, or the incremented canonical URL wouldn’t get triggered?

Thanks

Are you sure it’s not found in PagePaths? If not, are you sure there’s not the browser caching the redirect? Try making the request with cURL, or with the developers tools console open and cache disabled (in the browser).

1 Like

Thanks for helping Myq.

My colleagues were seeing the same behaviour, so my thought was that it was at CMS level. It appears to have been at browser level (Chrome), as the URL was behaving as expected when I checked in a different browser (Edge) prompted by your reply.

I deleted Cached Images and Files in Chrome, and the URL is behaving as expected there too.

Thank you.

2 Likes