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,957
Replies
5
Views
6,458
Replies
8
Views
6,985
Newer threads
Replies
9
Views
5,889
Replies
5
Views
3,459
Replies
11
Views
6,482
Recommended threads
Replies
9
Views
4,551
Replies
6
Views
6,479
Replies
3
Views
4,239
Top