Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use meta tags to prevent htdig from indexing certain files?

0
10 Posted

Can I use meta tags to prevent htdig from indexing certain files?

0

Yes, in each HTML file you want to exclude, add the following between the and tags:Doing so will allow htdig to still follow links to other documents, but will prevent this document from being put into the index itself. You can also use “nofollow” to prevent following of links. See the section on Recognized META information for more details. For documents produced automatically by MhonArc, you can have that line inserted automatically by putting it in the MhonArc resource file, in the sections IDXPGBEGIN and TIDXPGBEGIN.You can also use the noindex_start and noindex_end attributes to define one set of tags which will mark sections to be stripped out of documents, so they don’t get indexed, or you can mark sections with the non-DTD and tags.

0

Yes, in each HTML file you want to exclude, add the following between the and tags: Doing so will allow htdig to still follow links to other documents, but will prevent this document from being put into the index itself. You can also use “nofollow” to prevent following of links. See the section on Recognized META information for more details. For documents produced automatically by MhonArc, you can have that line inserted automatically by putting it in the MhonArc resource file, in the sections IDXPGBEGIN and TIDXPGBEGIN. You can also use the noindex_start and noindex_end attributes to define one set of tags which will mark sections to be stripped out of documents, so they don’t get indexed, or you can mark sections with the non-DTD and tags. The noindex_start and noindex_end attributes can also be used to suppress in-line JavaScript code that wasn’t properly enclosed in HTML comment tags (see question 4

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123