Hi,
I am using Help & Manual to generate HTML help document. However, I want to prevent all the .html pages from being indexed or followed, so I want to add the following meta tag to each page:
<meta name="robots" content="noindex, follow">
How to do so?
How to add noindex meta tag to each .html page?
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: How to add noindex meta tag to each .html page?
Hi Alan,
As already explained in response to the email in which you asked the same question, this is easy to do but browsers will generally ignore the setting anyway.
If you are using a skin to publish, edit the .hmskin skin file you are using to generate HTML Help (Microsoft CHM) or WebHelp (browser-based documentation). Once the skin is open in Help+Manual, go to Configuration > HTML Page Templates > Default and add the tag to the other meta tags in the <head> section of the page template. Then save the skin file and make sure you select the edited version the next time you publish.
If you are not using a skin, make the same change in the same location in your project.
As already explained in response to the email in which you asked the same question, this is easy to do but browsers will generally ignore the setting anyway.
If you are using a skin to publish, edit the .hmskin skin file you are using to generate HTML Help (Microsoft CHM) or WebHelp (browser-based documentation). Once the skin is open in Help+Manual, go to Configuration > HTML Page Templates > Default and add the tag to the other meta tags in the <head> section of the page template. Then save the skin file and make sure you select the edited version the next time you publish.
If you are not using a skin, make the same change in the same location in your project.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: How to add noindex meta tag to each .html page?
Thank you very much, Tim. Your solution works very well.
BTW: Your email has been put to spam folder by Gmail so I pick out it manually.
BTW: Your email has been put to spam folder by Gmail so I pick out it manually.