How to add noindex meta tag to each .html page?

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
alanchcw
Posts: 7
Joined: Mon Feb 27, 2023 11:25 pm

How to add noindex meta tag to each .html page?

Unread post by alanchcw »

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?
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: How to add noindex meta tag to each .html page?

Unread post by Tim Green »

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.
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.
alanchcw
Posts: 7
Joined: Mon Feb 27, 2023 11:25 pm

Re: How to add noindex meta tag to each .html page?

Unread post by alanchcw »

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.
Post Reply