Should use Robot file or Code for website ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,832
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,102
Replies
5
Views
6,607
Replies
8
Views
7,267
Newer threads
Replies
9
Views
6,086
Replies
5
Views
3,632
Replies
11
Views
6,697
Latest threads
Replies
1
Views
37
Replies
0
Views
38
Replies
0
Views
123
Replies
0
Views
126
Recommended threads
Top