PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   skipping header and footer (http://www.phpdig.net/forum/showthread.php?t=2198)

joelstein 10-17-2005 11:14 AM

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?

Charter 10-19-2005 07:55 AM

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

Wrap what you don't want indexed in comment tags like so:
Code:

include
<!-- phpdigExclude -->
exclude
<!-- phpdigInclude -->
include



All times are GMT -8. The time now is 02:51 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.