![]() |
|
![]() |
#1 |
Green Mole
Join Date: Dec 2003
Posts: 2
|
How to exclude part of page in a PHP file
Hello !
First: congratulation.... Second : excuse me for my bad english... i would like to exclude a part of a PHP page for the indexation. so, i put the text between <!-- phpdigExclude --> and <!-- phpdigInclude --> and i click on "DIG' on the admin page. But the part of my page is indexed... Thank you |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. The <!-- phpdigExclude --> and <!-- phpdigInclude --> need to be each on their own line like so:
<!-- phpdigExclude --> exclude this <!-- phpdigInclude --> As you are using PHP to echo or print these, it may be that the HTML source is wrapped so you may have to use \n in order to get them on their own lines.
__________________
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. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Dec 2003
Posts: 2
|
Thank you very much !!
it's working ...; |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exclude part of a page | darrenm | How-to Forum | 2 | 06-21-2005 06:28 AM |
Targeting a specific part of the page | cyrax78 | Mod Requests | 2 | 02-07-2005 07:40 PM |
exclude a specific file-type | Surffritze | How-to Forum | 1 | 10-04-2004 06:20 AM |
How to index only part of page <title>? | visioneer | How-to Forum | 4 | 08-24-2004 10:24 PM |
Exclude index page | teostress | How-to Forum | 1 | 12-16-2003 08:53 AM |