View Single Post
Old 04-27-2005, 11:16 AM   #2
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
Hi gazchap -

I had a similar problem with the sitemap on my site. One way to prevent indexing is to add one of these lines in the HEAD section:

HTML Code:
<meta name="robots" content="noindex,follow">
<meta name="robots" content="noindex,nofollow">
The first prevents indexing, and prevents the spider from following any of the links on the page. The second prevents indexing but allows the spider to follow the links. This applies to all spiders that might visit the page. If you want to target PHPDig specifically, you can use the <!--PhpdigExclude--> tag (see documentation). Don't forget to delete the sitemap page from the index after making these changes.

As for question #2, one way to push the result to the top is to manually go into the database and change the weight of the page/keyword you want. Another, better way would be to use the PhpdigExclude tag on the page you don't want coming up in search results, then reindexing it. This way, Phpdig will favor the other page.

Hope that helps.
bloodjelly is offline   Reply With Quote