![]() |
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 |
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. |
Thank you very much !!
it's working ...; |
All times are GMT -8. The time now is 06:27 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.