Looking for a tutorial on how to hide pages in WordPress?
Sometimes, hiding a page on WordPress can improve your search performance and privacy. There could be loads of pages that might be important to you, but you don’t want search engines to find those pages. But how do you hide those pages in WordPress? Deleting pages is an extreme option.
Good news: It’s actually really easy to hide pages in WordPress. You can even hide different types of content or categories on your blog very easily. In this article, we’ll show you how to hide pages in WordPress step by step with zero coding. All you need is one plugin.
Ça vous dit ? Plongeons.
How to Hide Pages in WordPress From Search Engines
One of the simplest ways to hide pages in WordPress is to use an SEO plugin to modify your robots.txt file. The robots.txt file tells search engines what to index and what content to ignore. It’s also where you can tell search engines to find your XML sitemap.
We recommend using AIOSEO as your WordPress SEO plugin.

All In One SEO is the best WordPress SEO plugin in the world.
Non seulement AIOSEO est suffisamment puissant pour mettre en œuvre les meilleures pratiques SEO actuelles, mais vous bénéficiez également d'options avancées pour résoudre des problèmes SEO spécifiques dès le départ. Cela comprend :
- Modules SEO locaux pour les petites entreprises ayant une audience locale
- SEO WooCommerce pour les boutiques en ligne
- Un optimiseur SEO à l'intérieur de votre éditeur WordPress
- Smart Sitemaps pour un indexation instantanée sur les moteurs de recherche
- Un plugin Schema pour que votre contenu se classe dans les Rich Snippets
And of course, you can add, edit, and optimize the WordPress title tag for any page or post on your site! Check out the features in more detail from our review of AIOSEO.
Step #1: Configure the All in One SEO Plugin
Après avoir téléchargé et installé le plugin, vous obtenez un Assistant de configuration :

Et le processus de configuration prend moins de 10 minutes.
Mais que faire si vous migrez depuis un autre plugin SEO ? Chaque plugin gère les métadonnées différemment. Alors, devez-vous tout refaire à zéro ? Tous vos efforts précédents sont-ils vains ?
Non ! Si All in One SEO détecte un autre plugin SEO pendant l'Assistant de configuration, il vous proposera de copier les paramètres de base pour vous :

À la fin de la configuration, l'Assistant de configuration vous demandera également de désactiver votre ancien plugin SEO. Ainsi, il n'y aura pas de conflits de plugins ni d'erreurs :

Cliquer sur Corriger maintenant ne supprimera pas les paramètres de votre ancien plugin SEO. Il désactive simplement le plugin pour éviter les conflits.
Step #2: How to Hide Pages in WordPress with AIOSEO
Once you’ve installed AIOSEO, head over to the page you want to hide and edit it. Next, scroll down the page to the AIOSEO Settings and under the Advanced tab, go to Robots Setting and switch off the Use Default Settings option.

Once you turn off the default settings, you’ll see more robots meta options. To hide your page from search engines, check the box that says No Index.

Save your changes, and AIOSEO will insert a line of code that prevents search engines from crawling and indexing your page.
Step #3: Hide Parts of Your Content from Search Engines
You can also hide specific types of content from search engines. Head over to your WordPress dashboard and go to All in One SEO » Search Appearance:

Then, under each of the tabs, you can prevent your content from being indexed. This includes Content Types, Taxonomies, Image SEO, and Archives. Just click the Show in Search Results toggle button and set it to No:

And your content will be set to no-index.
What to do After You Know How to Hide Pages in WordPress
Now that you know how to hide pages in WordPress, the only challenge you have left is to send traffic to the rest of your site.
Et si vous recherchez un moyen abordable de développer votre trafic, nous vous recommandons d'utiliser les notifications push. Les notifications push peuvent vous aider à générer plus de trafic de retour et d'engagement sur le site. Vous pouvez également créer des campagnes de notifications push automatisées qui génèrent des ventes.
Pas convaincu ? Consultez ces ressources :
- 7 stratégies intelligentes pour stimuler l'engagement client
- Les notifications push sont-elles efficaces ? 7 statistiques + 3 conseils d'experts
- Comment configurer des notifications push pour paniers abandonnés (Tutoriel facile)
- Comment ajouter un plugin WordPress de notifications Web à votre site
Nous vous recommandons d'utiliser PushEngage pour créer vos campagnes de notifications push. PushEngage est le logiciel de notifications push n° 1 au monde. Donc, si ce n'est pas déjà fait, commencez dès aujourd'hui avec PushEngage !