[ad_1]
I’m creating a website with a page that needs to stay private. I only want people with a link to be able to access the page, without a password or login. So setting the page to private is not an option. It has to stay hidden from search engines. The content on the page must stay hidden to the world because it’s licensed as internal use.
Is there a way to achieve this?
[ad_2]
You cannot, repeat cannot, reliably hide a particular page from search engines.
You can set up a robots.txt file. Well -behaved search engine spiders will obey this, but it’s discretionary on their part.
If you need to do this concealing of a page reliably with WordPress, you need to create Subscriber accounts for the people who are allowed to see the page in question, then set it to Private, then have them log in to see it.
Add this to the `<head>` page:
`<meta name=”robots” content=”noindex”>`
If you don’t want to add this code snippet yourself, this can be done by using an SEO plugin like [Yoast SEO](https://yoast.com/help/how-do-i-noindex-urls/).
You can learn more about this here: [Google Search Central – Block Search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing?hl=en)
Although this is very rare: be aware that some search engines might still crawl and index your page even though you basically told them not to by using `noindex`.
With an SEO plugin like SEO Framework, you can set a particular page to ‘Not Index,’ which means it’ll instruct search engines to ignore it. However, if there is any sensitive data on that page, it would not be safe. People can still crawl your site and discover it.
Rankmath: advanced> no index.
You will get google search console errors but it won’t be indexed.
Why not just password-protect the page?
Thanks all, noindex is a proper solution for now.