How to hide pages in wordpress

New Page how to hide a wordpress page how to hide a wordpress page

Cómo ocultar una página en WordPress (3 métodos simples)

Última actualización 7 de marzo de 2022 porkato nkhoma

Facebook Pío LinkedIn Correo electrónico

¿Quieres saber cómo ocultar una página en WordPress?

Ocultar una página en su sitio web puede parecer contradictorio. Pero a veces puede ser útil. Por ejemplo, puede haber páginas necesarias en su sitio, pero no desea que aparezcan en las páginas de resultados del motor de búsqueda (SERP). O quizás desee proteger su privacidad y evitar que usuarios no deseados accedan a páginas específicas.

Discutiremos las razones con mayor detalle en breve. Sin embargo, en resumen, en un momento u otro, es posible que necesite saber cómo ocultar ciertas páginas en su sitio web de WordPress.

En este artículo, discutiremos tres métodos simples que puede usar para ocultar una página en WordPress.

¿Por qué querría ocultar una página en su sitio web?

En pocas palabras, hay tres razones principales por las que puede querer ocultar una página en su sitio web:

Relevancia, o más bien, falta de ella 

Algunas páginas son irrelevantes para sus visitantes, y aterrizar en ellas restará valor a la experiencia general del usuario (UX) de su sitio web. Un buen ejemplo es una página que publica para ayudar con la verificación del sitio web. Es una buena práctica ocultar tales páginas.

No todas las páginas son beneficiosas

Algunas páginas de su sitio web pueden ser necesarias para usted, pero no beneficiosas para los usuarios ni para su estrategia general de SEO . Ocultar estas páginas te hará más bien que hacerlas públicas.

Protección de la privacidad

Another reason you may want to hide a page in WordPress is privacy protection. You may have pages with important customer or member information that you certainly don’t want to be made public. To enhance your privacy and keep sensitive data safe, you can hide these pages.

How to Hide a Page in WordPress — 3 Easy Methods

Now that you know why hiding pages on your site can be beneficial, let’s quickly dive into how you can do it.

Use AIOSEO to Hide a WordPress Page from Search Engines

The easiest way to hide a page in WordPress is by using AIOSEO. Because of the ease of this method, it’s the method we recommend the most — both for novice and seasoned website owners and managers.

To get started with this method, you, first of all, have to download the AIOSEO plugin. It’s one of the best WordPress SEO plugins around and has been downloaded over 3 million times — a testament to its effectiveness. Check out our detailed guide on how to install the AIOSEO plugin. The best thing about AIOSEO is that the free version comes packed with a tone of cool features, including hiding pages in WordPress.

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 click on the ‘Advanced’ tab. Here, you will see a ‘Robots Setting’ option and a toggle that allows you to switch between default and custom settings. The toggle will be set to ‘Use Default Settings,’ so you’ll need to switch the toggle to the off position.

Disabling robots default settings is the first step to hide a page in WordPress using AIOSEO. Disabling robots default settings is the first step to hide a page in WordPress using AIOSEO.

When you switch off the default robots settings, you’ll be presented with more robots meta options. To exclude your page from showing up in search research results, check the box that says ‘No Index.’

Establecer su meta de robots en sin índice lo ayuda a occultar su página en WordPress. Setting your robots meta to no-index helps you hide your page in WordPress.

Save your changes, and AIOSEO will insert a line of code that prevents search engines from crawling and indexing your page.

Besides excluding specific pages from appearing on SERPs, AIOSEO also lets you hide certain sections of content. Again, this is easy as all you have to do is to go to your AIOSEO settings and click on ‘Search Appearance.’

Parte de saber cómo occulter una página en WordPress implies cambiar la configuration de apariencia de búsqueda en su tablero. Part of knowing how to hide a page in WordPress involves changing the search appearnce settings in your dashboard.

On the Search Appearance page, you will find different tabs for different content sections, including Content Types, Taxonomies, Image SEO, and Archives. Click on any of these tabs, and you’ll see an option to ‘Show in Search Results. Set the toggle to ‘No.’

Avoid that a page appears in the results of búsqueda is a good way to hide a page in WordPress. Preventing a page from appearing in search results is a good way to hide a page in WordPress.

Selecting ‘No’ in this setting will no-index your page, preventing search engines from crawling it. The page won’t appear in search results and on your XML sitemap.

How to Hide Pages in WordPress Using Your Robots.txt File

The second way you can hide a page in WordPress is by editing your robots.txt file. This configuration file contains instructions that tell search engine bots how to crawl your site.

If you’re a beginner learning how to hide a page in WordPress, we don’t recommend you go through this route. That’s because incorrectly formatting your robots.txt file could hurt your SEO. That’s why we recommend you stick to the easier method of using AIOSEO to do the backend work for you.

However, if you’re interested in messing with a bit of code, you can hide a page on your website by coding instructions for search engines in your robots.txt file.

So how do you edit your robots.txt file?

Again, this is super easy with AIOSEO — and you can do it right from within your WordPress dashboard. To get started, head over to your AIOSEO setings and click on the ‘Tools’ option. This wil open up a page where you can access your robots.txt file and edit it.

To hide a page in WordPress, abra the option of herramientas in the configuration of AIOSEO. To hide a page in WordPress, open the tools option under your AIOSEO settings.

Next, switch the ‘Enable Custom Robots.txt’ toggle to on. Doing this will enable you to add a new rule to your robots.txt file. To do so, simply fill in the form fields provided as shown in the screenshot below:

To edit your robots.txt file, click "Enable custom robots.txt file". To edit your robots.txt file, click "Enable custom robots.txt file".

The user-agent field enables you to define the search engine bots allowed or disallowed to crawl and index your page. Putting an asterisk includes all search engines.

Allow/Disallow enable you to define the specific page you want to allow or disallow. In this case, we want to disallow so search engines don’t crawl the page. Ensure you only put the part of the URL that comes after your domain name in this field.

Let’s look at a hypothetical example of a page with a URL like this:

http://example.com/members

If you want to hide that page, here’s how you’ll add the URL to your robots.txt file:

Disallow: /members/

Once done, save your changes and AIOSEO will automatically update your robots.txt file. Here’s what your robots.txt file will look like:

AIOSEO automatically updates your robots.txt file with your new URL rules. AIOSEO automatically updates your robots.txt file with your new URL rules.

This method can be a bit daunting if you don’t have any coding skills. However, with a little practice it becomes easy as you don’t need to add any code. All you need to know is the URL of the page you want to hide. AIOSEO will do the encoding for you in the background once you fill in the relevant fields in the robots.txt editor.

Besides the short learning curve, there are downsides to using this method to hide a page in WordPress as well. For one thing, your robots.txt file is publicly available, which means anyone can access it directly and see the pages you’re hiding.

Another reason this method isn’t foolproof is that while most search engines follow the instructions in the robots.txt file, some other crawlers and bots may choose to ignore it. A typical example is crawlers and bots commissioned to crawl websites to collect sensitive personal information. Other trackers go even further to spread malware. Again, these are designed to ignore instructions in robots.txt files.

How to hide a page in WordPress by protecting it with a password

Another easy way to hide a page or post in WordPress is to password protect it. This only makes it visible to users with the password. It’s easy because WordPress comes with a built-in feature that allows you to password protect posts and pages on your website. 

To hide a page using this method, simply edit the page you want to hide. Next, in the WordPress editor, go to post settings and click on ‘Visibility’.

When learning how to hide a page in WordPress, consider using visibility options and password protecting your page. When learning how to hide a page in WordPress, consider using visibility options and password protecting your page.

By clicking on Visibility, you will see the visibility options available in WordPress. Here you can make your page public, private or password protected.

What’s the difference between private and password-protected pages and posts?

Private pages/posts are only visible to registered users with admin or editor roles on your website. On the other hand, password protected pages/posts can only be viewed by users who have the password.

To hide a page, select the “Password protected” option and enter a strong password to protect the page. Users will be prompted to enter the password you set to view the page.

One of the most important advantages of this method is that it can help you monetize your website by allowing subscribers to access only certain content on your site. However, the best option would be to look for the best membership plugins to give you more flexibility when setting up access controls.

How to hide a page in WordPress: now you know

There are many reasons to hide certain pages in WordPress. These three elements will help you get the job done, no matter the reason. However, if you are a beginner, we strongly recommend the first and third methods because they are easier.

Of course, to carry out the first strategy, you will need a powerful plugin like AIOSEO. So go ahead and download the best WordPress SEO tool now.

Google Google Ubersetzer

Google Translator from Google

Google Traduction


Video How to hide pages in wordpress

Related Posts

How to add seo keywords in wordpress

Contents1 Cómo agregar palabras clave de SEO en WordPress (aumentar el CTR y las clasificaciones)1.1 Post Title1.2 Headline1.3 Header Tags1.4 Introduction and Conclusion1.5 Body Copy1.6 URL1.7 Meta…

How to embed google calendar into wordpress

Contents1 How to Add a Google Calendar in WordPress (Step by Step)2 Add a Google calendar to your website3 calendario de Google3.1 Versatile plans and pricing4 Video…

How to change the logo in wordpress

Contents1 How to Add a Custom Logo to Your Site Header2 Site Logo2.1 Planes y precios versátiles3 Add, remove or edit a custom logo4 Video How to…

How to add a popup on wordpress

Contents1 Easily create a WordPress emergent form (2 forms)1.1 ¿Por qué usar un formulario emergente de WordPress?1.2 Método #1: Crear un formulario emergente con OptinMonster + WPForms1.3…

How to roll back wordpress version

Contents1 How to Revert WordPress: Undo WordPress Updates (Easy Way)2 How to Downgrade WordPress & Roll Back to a Previous Version2.1 1. A WordPress update included significant changes…

How to rollback wordpress version

Contents1 How to Downgrade WordPress and Revert to an Older Version1.1 1. A WordPress update included significant changes that are not compatible with your theme or plugins1.2…