Should use Robot file or Code for website ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,834
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
5,797
Replies
5
Views
6,317
Replies
8
Views
6,655
Newer threads
Replies
9
Views
5,701
Replies
5
Views
3,276
Replies
11
Views
6,233
Latest threads
Replies
0
Views
128
Replies
1
Views
403
Replies
2
Views
706
Recommended threads
Top