COMMUNITY OVER ITS

Last updated: June 15, 2025, 20:36  |  Written by: Laura Shin

Community Over Its
Community Over Its

After I Made My Site

add_trashed_suffix_to_trashed_posts – Hook

After I made my site go live, I realized that one of the page url’s carried the words “__trashed-2/” on the end. It is a child page under a drop down menu and does not

Using WordPress ‘add_trashed_suffix_to_trashed_posts’ PHP filter

Hi Sleepiergirl

Hi sleepiergirl, I was able to reproduce this issue at my end. Here’s what I did. 1. I create a page and Named it “our team” 2. Then I created another page “Testslug” and

Bug: Restoring a trashed post still contains “__trashed - GitHub

How did all these extra words start appearing in this URL?

There Is Created A Redirect

There is created a redirect from /software/ to /yoast-seo-platforms/ which works correctly. However, if there is a live page in the deleted section, 'trashed' is added to the

WordPress Web Page Showing as __trashed VNTweb

How do I get rid of the word trashed in the url

A Wordpress Site Of Mine

A Wordpress site of mine seems to have changed some of my pages permalinks by adding __trashed after the slug. Note that not all pages are affected, neither do other post types.

Si te encuentras con el problema de que tu página web muestra un mensaje de error «__trashed 2» y no está disponible, no te preocupes, ¡aquí te presento una solución

Slug text remains “__trashed” after restoring. I tested this using the same steps I outlined in wordpress-mobile/WordPress-iOS (comment), with the same results. Am I

The

Restoring a page or post from the bin sets the URL to __trashed. Editing a draft page the URL follows the renaming of the post title. Once the page, or post, is published

Trashed page is shown in URL and is linked in breadcrumbs 9530

The 'add_trashed_suffix_to_trashed_posts' PHP filter in WordPress adds a suffix to trashed posts' slugs, preventing conflicts with existing post URLs.

Filters Whether Or Not To

Filters whether or not to add a __trashed suffix to trashed posts that match the name of the updated post.

Published posts get `__trashed` in their URLs

Solución rápida para el error __trashed 2 en tu página web:

The Only

The only “solution” for now is to manually remove “__trashed” from the permalink of the posts that get it. That’s not optimal for obvious reasons. WordPress and our

Wordpress permalinkslug changed page to page__trashed

Laura Shin can be reached at [email protected].

Articles tagged with "Cardano Transaction Fees Are Tanking: What Next For ADA Price" (1 found)

← Back to article

Comments