Private mode - meta data
I need to create a small website with a "private posts mode" like Posterous did: http://blog.postero开发者_Go百科us.com/new-private-posts-on-posterous
Do I need to specify some special meta data that prevents the pages from indexing by search engines like Google?
I want to keep it as private as possible.
So basically you're creating something like the unlisted function in youtube where a video is only available to the people that got a direct link to it?
In that case you might want to add a robots meta tag on your page, setting it to NOINDEX,FOLLOW.
It is placed inside the <head>
portion of your page and can look something like this to prevent indexing but allow following of links on the page.
<meta name="robots" content="NOINDEX,FOLLOW">
More information on this can be found here:
http://www.robotstxt.org/meta.html
To make it 100% private however you will need to implement a login system so that only people who were allowed (say, facebook style wall posts) or have the key (protected zip archives style) can see the content.
精彩评论