开发者

Private mode - meta data

开发者 https://www.devze.com 2023-03-14 01:09 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消