|
10-17-2005, 12:14 PM | #1 |
Green Mole
Join Date: Oct 2005
Posts: 1
|
skipping header and footer
I have a header and a footer included on every page of my website. How do I setup phpdig to skip indexing these portions of my pages, so that I don't certain words don't result in showing every page? Does this make sense?
|
10-19-2005, 08:55 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
In the config file is the following:
Code:
define('PHPDIG_EXCLUDE_COMMENT','<!-- phpdigExclude -->'); // comment to exclude part of a page define('PHPDIG_INCLUDE_COMMENT','<!-- phpdigInclude -->'); // comment to include part of a page // comments must be on their own lines in the HTML source // text within comments is not indexed // links within comments are indexed Code:
include <!-- phpdigExclude --> exclude <!-- phpdigInclude --> include
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"1 1" between page header and search result | jensb | Troubleshooting | 2 | 01-13-2005 02:37 PM |
Speed up spidering by skipping internal page links | peterpeter | Mod Requests | 6 | 04-18-2004 08:17 AM |
footer/header with php | shinji | How-to Forum | 3 | 03-18-2004 08:59 PM |
Mod to follow header redirects | Charter | Mod Submissions | 0 | 02-25-2004 11:33 AM |