EDIT June 2012 : This article is no longer valid as the method to hide pages has changed. I’ve written a new article that explains how to do it. Click to find out how to hide a page using Headway Theme and WordPress.
In WordPress, when you create a new page, it’s automatically added to your navigation menu. This is fine sometimes, but there are also occasions where you don’t want those pages in your navigation bar. For example, on this site I’ve created a page called ‘Affiliate Disclosure‘ which discloses the fact that some of the links in my blog are affiliate links. Now, I don’t want this page title appearing in my main navigation bar – I want to limit the pages that appear there. Instead, I’ve placed a link to it in my footer – this appears on every page.
In this example, the page is excluded from the navigation bar, but links to the page still appear on my blog.
On other occasions you may want to create a page that’s completely hidden. I’ve done that on this site with a couple of pages. When you subscribe to my newsletter and enter your email details, you’re taken to a page on my blog that tells you what to expect next. Once you’ve confirmed your subscription, you’re directed to another hidden page that contains the e-book download. I created these pages the same way that I created the affiliate disclosure page.
How Do You Hide A Page In WordPress?
I’ve used a few different themes, and in a lot of them it’s a pain to hide a page. They seem to work on the assumption that every page you create needs to appear in the navigation bar and don’t give you an option to hide them.
I’ve used Headway theme for a couple of years now, and it’s so easy to hide a page using Headway. Here’s how to do it.
Step 1 – Create your page as usual. In WordPress, create a new page and add your content as usual.
Step 2 – No Index and No Follow the page. On the ‘New Page’ screen, towards the bottom, Headway gives you some options.
I tend to tick all three boxes although you don’t need to.
The important one to tick is the first box – ‘noindex this page’.
What this box does is to tell Headway to exclude this page from your blog sitemap. It also adds the noindex tag to the page so Google’s robots don’t crawl the page and don’t index it.
If you didn’t tick this box, then Google would index the page (it’d find it via the sitemap). Once the site was indexed, people could find it by doing a Google search. So if you’ve created a great product and set up a hidden page for it to be downloaded from, people could find that page by searching Google, instead of paying for the product.
So, as a general rule of thumb, any page you want hidden needs to be hidden not just from your navigation, but also from Google and this box does that.
Step 3 – Hide the page from the navigation bar.
This one is pretty self-explanatory. The screen shot on the left shows the default option – Show In Navigation. This means that the new page will appear in your navigation bar.
Because we want to hide this particular page, we select the ‘Hide From Navigation’ box. When the page is saved and live on your blog, the page exists, but it won’t appear anywhere in your navigation bar.
If you change your mind in the future, you can select the other box instead and it’ll appear in your navigation menu.
Step 4 – Make a note of the new URL.
You’ll need to know the URL of the page, so you can link to it in the future. In Headway you’re able to change the page name to whatever you want. Why would you do this? Let’s assume you’ve set up a page where people can download your new ebook. You call the page ‘Download’. Some people will come to your site and try random URL’s to find the page. And can you guess how common it is for people to use ‘Download’ as the name of their download page? I tend to call it something completely random like ‘lfoeio490fndsw’ so no-one can guess it. Again, this is very easy to do within Headway.
Setting up e-book delivery
I recently helped a friend set up his blog so people could purchase his e-book and download it from his site. The first step was to set up some hidden pages using this process. The next step was to link these pages together with PayPal.
In my next article I’ll explain how I set this up for him and how easy it is to do within Headway.
- How To Hide Pages Using Headway Theme and WordPress
- Headway Theme 3.0 Review and Sneak Peak
- How to giveaway e-books on your site using Headway theme
- Headway 1.5 Theme Review
- Headway Theme Review – Version 1.6