How to restrict any page from appearing in search engines?
Author: Mandar V.
Visited 583,
Followers 2,
Shared 0
How to restrict any page from appearing in search engines?
Client wants a few different links from selected photographs on his website. After 2 months, the regular links will be active for the next 12 months.
I am thinking of making a copy of the page and keeping it hidden for two months. Is this OK to do so? Or there is any other superior method? Please guide.
Thank you in advance.
Posted on the
Hello.
For example, you have a page "test.html". Full page address "https://my-site.com/test.html".
You can add this:
<metaname="robots" content="noindex, nofollow">
Here:
Or you can add this line to "robots.txt":
Disallow: /test.html
The first option is a little better. This gives more guarantees that search robots will not index this page.