Exclude content from Search Index
Ad you could in 3.x versions, how do you exclude content from search such as footer information?
Well, if your footer is a custom control the easiest way is to add the following code in the Render method of your control:
I am not sure what you mean.
For another example, on every page we have copy up in the header area such as:
For immediate assistance, call XYZ Company at 1-800-000-000.
Is your header area a Content block or user control like an .ascx file? If it isn't an .ascx file you could create one and add the code I pasted to you in my first reply.Greetings,
Helpful info :)
If your header and footer embed (hard coded) to master page, you can use this code block;
<%if (Page.GetIndexRenderMode() == IndexRenderModes.Normal) %>