How to Hide Pages in WordPress (The Easy Way)

How to Hide Pages in WordPress (The Easy Way)

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.

Sounds good? Let’s dive in.

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

All In One SEO is the best WordPress SEO plugin in the world.

Not only is AIOSEO powerful enough to implement the latest SEO best practices, but you also get advanced options to resolve specific SEO issues straight out of the box. This includes:

  • Local SEO modules for small businesses with a local audience
  • WooCommerce SEO for online stores
  • An SEO optimizer inside your WordPress editor
  • Smart Sitemaps for instant indexing on Search Engines
  • A Schema plugin to get your content to rank in the 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

After you download and install the plugin, you get a Setup Wizard:

All in One SEO setup wizard

And the setup process will take less than 10 minutes.

But what if you’re migrating from another SEO plugin? Every plugin handles metadata differently. So, do you have to do everything from scratch? Is all your previous effort wasted?

No! If All in One SEO detects another SEO plugin during the Setup Wizard, it’ll offer to copy over the basic settings for you:

All in One SEO import plugin

At the end of the setup, the Setup Wizard will prompt you to deactivate your old SEO plugin as well. This way, there are no plugin conflicts and errors:

Deactivate conflicting SEO plugins

Clicking on Fix Now won’t delete the settings in your old SEO plugin. It just deactivates the plugin to prevent conflicts.

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.

How to hide a page in WordPress

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.

How to No Index a Page in AIOSEO

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:

AIOSEO settings

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:

How to Hide Content Sections from Search Engines

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.

And if you’re looking for an affordable way to grow your traffic, we recommend using push notifications. Push notifications can help you bring in more repeat traffic and site engagement. You can also create automated push notification campaigns that generate sales.

Not convinced? Check out these resources:

We recommend using PushEngage to create your push notification campaigns. PushEngage is the #1 push notification software in the world. So, if you haven’t already, get started with PushEngage today!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Engage and Retain Visitors AfterThey’ve Left Your Website

Increase the value of every web visit with Push Notifications that are hard to miss.

  • Forever Free Plan
  • Easy Setup
  • 5 Star Support