| | #1 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
Is there any way to put code into the page to prevent search engines from indexing a page? I am working in WordPress if it makes any difference. I know I can set that page to no index with robots txt, but I thought I read somewhere that you can put come code in the page itself to stop the robots from indexing it. Please advise. Thanks in advance. |
|
Tim Pears
| |
| |
| | #2 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
Can someone tell me, is there no such code, or has no one read this thread?
|
|
Tim Pears
| |
| |
| | #3 |
| Advanced Warrior War Room Member Join Date: 2003 Location: United Kingdom.
Posts: 737
Thanks: 107
Thanked 208 Times in 159 Posts
| |
| | |
| |
| The Following User Says Thank You to Janet Sawyer For This Useful Post: |
| | #4 |
| Wordpress Master Join Date: 2010 Location: Asia
Posts: 70
Thanks: 1
Thanked 4 Times in 4 Posts
|
create robots.txt under your domain root. (http://domain.com/robots.txt) Code: User-agent: * Disallow: / # or User-agent: * Disallow: /your-page.html Code: <meta name="robots" content="noindex" /> <meta name="googlebot" content="index" /> |
|
Just Web Developer.
| |
| |
|
| Bookmarks |
| Tags |
| engines, hide, page, robots.txt, search |
| |