Hide a WordPress Page (Visitors & Search)
Learn how to hide a page in WordPress using visibility settings, password protection, noindex, robots.txt, and navigation changes safely.

If you want to how to hide a page in wordpress, use the built-in visibility controls first. Then add access limits and search controls as needed. This keeps the page out of your menus, limits who can reach it, and reduces the chance it shows in search results.
Below are the main ways to how do i hide a page in wordpress, explained from a practical admin point of view. You will learn the difference between hiding from visitors and hiding from search engines. You will also get real tips for common edge cases.
Why you might hide a WordPress page
People usually hide pages for one of four reasons. The first is an active build stage, like a landing page that should not go live yet. During development, you still want to edit the content without public access.
The second reason is sensitive information. Examples include internal policies, partner docs, or drafts that include private notes. Even if the page looks harmless, it can still expose more than you intended.
The third reason is exclusive access. You may want only logged-in users or a small group to view a page. This is common for members areas, onboarding steps, and gated resources.
Finally, some teams hide pages to manage content quality. If you are testing copy or layout, you may want to avoid confusing visitors. That is also when you might hide the title and page elements.
Use WordPress page visibility settings to control access
WordPress page visibility is the fastest, most reliable starting point for wordpress how to hide a page. In the page editor, look for a Visibility setting. Depending on your WordPress setup, you will see options like Public, Private, and Password protected.
Public means anyone can access the page by URL. Private means only admins and editors can view it, plus the user roles your setup allows. Password protected means visitors can view the page only after entering a password.
Switching visibility is a good answer to how do i hide a page in wordpress because it changes what WordPress serves. But it does not automatically remove every SEO signal. A private page can still be indexed if search engines already discovered it. That is why you should combine visibility with noindex where appropriate.
When you change visibility, test like a real visitor. Open an incognito window and try the page URL. Then log in as a normal user role and confirm your permissions match your goal.
- Open the page in the WordPress editor.
- Find Visibility and select Public, Private, or Password protected.
- Update the page.
- Test access with a logged-out browser session.

Remove the page from your navigation menu without deleting it
Hiding a page often fails when the page stays in navigation. Visitors can still click the link and reach the content. This is why you should handle how to hide page from menu wordpress separately from visibility settings.
To remove it, edit your menu in WordPress. Find the menu that is used for your header or side navigation. Then remove the page item entry, or set it to a different menu location.
Do not delete the page itself. Deleting can remove content and URL history. Removing it from navigation keeps your content safe while you keep the page ready for later.
Also check block-based headers and templates. Some themes build menus inside template parts. If your header uses a template, your menu may be sourced from a theme location you do not expect.
- Go to Appearance > Menus.
- Select the correct menu for your theme location.
- Remove the page link from the menu items list.
- Save the menu, then refresh the site as logged-out user.

Use password protection when you need controlled access
Password protection is a simple way to gate a page. This matches your goal when you want access for specific people without full user account setup. It also answers how to hide a page in wordpress when you still need the page to exist publicly as a URL but not publicly readable.
When you enable Password protected, WordPress prompts for a password at the page URL. The page content is not shown until the password is entered. That reduces casual discovery through guessing.
However, do not treat password protection as a strong privacy boundary. People can share passwords. Also, cached copies and shared browser sessions can still reveal content to the wrong person. Use it when you want “known access,” not when you need high security.
If you need stronger control, consider user roles and permissions. For example, restrict the page to certain roles and combine it with noindex settings. That gives you both access control and search control.
Add Noindex and search controls with SEO plugins
If your goal includes search engine hiding, start with WordPress plugins for page management. SEO plugins often provide Noindex settings per page. The most common example is Yoast SEO, which can mark a page as “noindex” while still letting you manage other metadata.
Noindex tells search engines not to include the page in results. It does not mean the page is invisible to everyone, though. You still need visibility settings for visitor blocking.
In practice, you want both layers. Set the page visibility to Private or Password protected to stop casual visitors. Then set Noindex so search engines do not keep indexing it after you change your site.
After you publish the change, monitor whether the page is still indexed. Use your SEO tool or a webmaster console to request re-crawls. This is not instant, but it helps you confirm your changes worked.
| Goal | What to change | Why it helps |
|---|---|---|
| Stop public viewing | Set Private or Password protected | WordPress restricts who can read the content |
| Stop search results | Set Noindex in an SEO plugin | Search engines should avoid showing it in SERPs |
| Reduce discovery | Remove links from menus and sitemaps | Fewer internal links means fewer crawl paths |
Edit robots.txt for page control (with real caution)
You can also use robots.txt to guide crawlers. This is sometimes part of how to hide a page in wordpress workflows. You may add rules that disallow crawling of a specific URL path. This can reduce crawling and indexing over time.
But robots.txt is not a privacy tool. It only tells compliant bots how to behave. A page can still be indexed if it already exists in search engines. Also, if other sites link to your URL, crawlers can still discover it.
That is why you should use robots.txt as an extra signal, not your only defense. The strongest combo is visibility controls plus Noindex. Robots rules can help with crawl frequency, but they are not a guarantee.
When you edit robots.txt, be precise. Disallowing the wrong path can block important parts of your site. If your theme or plugin manages robots.txt automatically, check the settings first.
- Identify the exact URL path you want to stop crawling.
- Add a Disallow rule for that path in robots.txt.
- Pair it with Noindex and proper visibility settings.
- Test with a crawler audit tool if you have one.
Best practices when hiding pages and titles
One common mistake is focusing only on the page content while ignoring the way the site renders titles. People search for how to hide page title in wordpress or how to hide page title in wordpress elementor because themes often show headings on top of pages. If you hide the page later, the title hiding still matters if the page remains reachable in some form.
In Elementor, page templates can show a page heading based on theme or widget settings. To hide it, check the page settings and the theme style options. Then disable or remove the heading element that outputs the title. This keeps your layout clean while the page is in draft.
Also consider images and media. A private or password-protected page does not always protect every asset URL. Images and files stored in the media library may be accessible directly through their file URL. Check by opening the image URL in an incognito window.
If images must stay hidden, use a workflow that protects media access. Options include moving sensitive images to a restricted area or using a security plugin that gates media downloads. The goal is simple: prevent direct access to assets that still sit on public storage.
If you need both a clean layout and limited access, treat “hide” as two jobs: access control for visitors and rendering control for what they see.
Finally, keep your navigation and internal linking tidy. Removing the menu link helps, but also check internal links inside other pages. If you already linked to the page in blog posts, remove those links too. That reduces crawl paths and makes your “hidden” page truly hidden.
How to hide a page in wordpress usually means using the right mix: Page visibility for access, Noindex for search, and menu control to stop click-through. When you handle all three, you reduce surprises and keep the page ready when you are actually ready to publish.
FAQ
- How do I hide a page in WordPress from visitors?
- Set the page visibility to Private or Password protected. Then test in an incognito window to confirm the page blocks access.
- How do I hide a page title in WordPress?
- Use your theme or page settings to disable the title display for that page. If you use Elementor, remove or hide the heading widget or page title setting.
- How do I hide a page from the menu in WordPress?
- Edit the menu in Appearance > Menus and remove the page item from the menu location your theme uses. Save the menu and verify the link is gone.
- Can I use noindex to hide a WordPress page from Google?
- Yes. Use an SEO plugin to set the page to noindex. Pair it with private or password protection for best results.
- Is robots.txt enough to keep a WordPress page out of search results?
- Not by itself. robots.txt only guides crawlers, and already-indexed pages may remain listed. Use noindex and page visibility together.
- Do private pages hide images in WordPress too?
- Not always. Image files may still be reachable by direct media URLs. Check the image links in incognito and restrict access if needed.


