Zen Cart Logo
Forums / General Questions / robots.txt and metatag question

robots.txt and metatag question

Locked

Views: 905

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
26 May 2007, 11:39 AM
#1
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

robots.txt and metatag question

I want to exclude a page from being indexed. what do i put in the robots.txt file to tell it not to index that page? It is an ezpages page. Also, is there a way to edit metatag info for ezpages pages? Thanks in advance.

btw the url to the page i wish to exclude from indexing is

http://rda-enterprises.com/index.php?main_page=page&id=5&chapter=4

26 May 2007, 12:26 PM
#2
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: robots.txt and metatag question

Try this in your robots.txt file. This will not allow ANY spider to index that page. For more information on how to use the robots.txt file, see the link at the end of this post.

User-agent: *
Disallow: /index.php?main_page=page&id=5&chapter=4

For more information on how to use the robots.txt file. I would go that route to disallow engines from indexing the pages you want. It is easier to maintain and a standard in the industry.

http://www.outfront.net/tutorials_02/adv_tech/robots.htm

Good luck!