Should use Robot file or Code for website ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,829
Points
0
Hi everyone,

I have 2 ways to control Google robots crawl some web pages that I didn't want to cache

Method 1:
Disallow: / your page.php
Disallow: / folder name
....
in robots.txt file

Method 2:
<meta name="robots" content="noindex,nofollow" />

embed in meta tag of your website to avoid google cache your pages.

According to you, which way I should use and it's best effective and why ?
which case we should robots.txt for our website ?

any shares ?
 
Older threads
Replies
3
Views
6,177
Replies
5
Views
6,701
Replies
8
Views
7,338
Newer threads
Replies
9
Views
6,182
Replies
5
Views
3,720
Replies
11
Views
6,793
Recommended threads
Top