how to add custom meta header field to template

Posted in: Newspaper
Post count: 20

Hi,

I want to add meta noindex tag for bingbot. Tried editing header.php. Code is in source file but not visible when visiting the site. Should i look elsewhere to add it?

Post count: 20

specifically i added string

<meta name=”bingbot” content=”noindex” />

to header.php but it didn’t work. I do not understand why this happens, either i put it wrong place, or Yoast seo plugin cuts it out when viewing page.

Post count: 20688

Hi,

You want that meta to be loaded in the whole website, is that correct? Then you can enter it in the header code field, in the theme panel https://prnt.sc/w2fi9f Paste it there, and the theme will load it in the header, between the head tags, for the whole website. Check in the page source after adding it.

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.