[ad_1]
[ad_2]
I’m now running a WP site with posts all the way from 2013. How can I “retire” (for lack of a better word) these older, irrelevant posts so they don’t show in search results?
And/or is there a way to switch the search results to show the newest content first? Right now it shows the older content first.
FWIW I do not have the Appearance > Editor option, I assume because of the existing theme on the site.

If you’re just talking about the WordPress search results, there are lots of ways. There are a few plugins out there like [Search Exclude](https://wordpress.org/plugins/search-exclude/) (just google them). If you’re a coder you could also just write some code and do a pre_get_posts() for the search_query to update the dates in which it pulls from as well. You’d need to create a child theme or use a plugin that allows you to insert code snippets though.
If you don’t have any issues with plugins then Install and activate the [Relevanssi]() plugin. This plugin enhances WordPress search functionality and includes options to order search results by date, showing the newest content first.
And if you don’t have the Appearance > Editor option, it may be due to theme issues, or plugin conflicts. You can change the theme but before doing that you must take a backup of your website.
I hope it will help you out.
Thank You!
is there a reason why you don’t want them to show up anymore?
Why not refresh them? Turn them into more evergreen content or re-write the posts. This would be ultra beneficial. Especially when your post and URL has been around for over a decade.
Why not simply edit the posts and put some message, Like “hey! This post is outdated, you can find some updated information here and here”. ? Don’t lose traffic juice. Use it
410