PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 10-17-2005, 11:14 AM   #1
joelstein
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?
joelstein is offline   Reply With Quote
Old 10-19-2005, 07:55 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
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
Wrap what you don't want indexed in comment tags like so:
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.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"1 1" between page header and search result jensb Troubleshooting 2 01-13-2005 01:37 PM
Speed up spidering by skipping internal page links peterpeter Mod Requests 6 04-18-2004 07:17 AM
footer/header with php shinji How-to Forum 3 03-18-2004 07:59 PM
Mod to follow header redirects Charter Mod Submissions 0 02-25-2004 10:33 AM


All times are GMT -8. The time now is 03:00 PM.


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