A volte i vostri obiettivi di contenuti richiedono pagine specifiche di rimanere nascosto dalle masse, e se è facile escludere una pagina / post venga indicizzata dai motori di ricerca (setting it to no-index in your SEO plugin opzioni), hiding a page from your native site search results is a little trickier.
Hiding a page from WordPress search results is a simple process that can be accomplished with a few clicks. In this guide, we will walk you through the step-by-step process of hiding a page from WordPress search results.
No need for adding code to your functions.php file or some other complicated tasks.
Why You Might Want to Hide a Page from Search Results
- You have a page that’s still a work in progress and you don’t want it to show up in search results until it’s ready to be published.
- You have a page with sensitive information that you don’t want to be publicly accessible.
- You have a page that’s not relevant to your audience, but you still want to keep it on your website for reference purposes.
There isn’t a ready solution for that in WordPress (yet).
But thanks to the good guys out there, who develop free WordPress plugins, there is a simple way for hiding specific pages from being found through site search.
Search Exclude Plugin
You can tell by the name that this plugin is doing what it’s meant to do.
You’ll see the checkbox on your page/post settings panel (this also works with the Gutenberg editor).
Sommario:
- Install and activate the Search Exclude plugin.
- Go to the edit screen of the page you want to hide from search results.
- Scroll down to the “Search Exclude” section.
- Check the box labeled “Exclude from search results”.
- Save your changes.
Simple and working as it should! Your page should now be hidden from search results.
With this guide, you should have no trouble keeping your private pages away from public search results.
Divulgazione: Alcuni dei collegamenti nella pagina possono contenere un codice di riferimento (link di affiliazione), che dice all'altra parte che ti abbiamo mandato. Se ti è piaciuto quello che ti suggeriamo e fai un acquisto, potremmo ricevere una commissione.
lascia un commento