How to influence meta tags in header...

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

How to influence meta tags in header...

Post by astrosoft »

Hi all,
currently I was asked to add a <meta name...>tag in the header of my start page to verify that I am domain owner.
How can I - ideally managed by the board - influence the header, include this new tag or change existing ones?
Thanx for any help!
astrosoft
Last edited by Mick on Sat Jan 29, 2022 10:38 am, edited 2 times in total.
Reason: Solved
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: How to influence meta tags in header...

Post by thecoalman »

There is couple of SEO meta extensions, I do not know if any of them support custom meta tags.

You can edit it into overall_header.hml but you will need to maintain edit through updates.

If this is for Google Search Console the .html file or DNS entry options are the easier route.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6671
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: How to influence meta tags in header...

Post by HiFiKabin »

My Google Search extension has the option to add your Google META tag
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: How to influence meta tags in header...

Post by Mick »

I was under the impression Google didn’t use meta tags or meta descriptions any more. Meta descriptions can still have an effect although not affecting ranking they can show up in searches.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: How to influence meta tags in header...

Post by thecoalman »

If you have a Google Search Console account to get analytics for a domain you need to verify you control it. One of the ways to do that is a specific meta tag. Other methods they use is a .html file that can be uploaded to server or DNS entry. Other services also use the same methods.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

Re: How to influence meta tags in header...

Post by astrosoft »

Hi all,
in fact I am asked a) by google for a verification by meta tag but also from another platform, therefore I would need some "free" definable meta tag lines to be added in header. Or something similar...
Best
astrosoft
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: How to influence meta tags in header...

Post by Mick »

Presumably they will be the same/similar to when phpBB had them, you would put it/them between the <head> tags.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

Re: How to influence meta tags in header...

Post by astrosoft »

In addition... I am asked by google tag manager to add code
a) in the header
b) directly after <body>
for all pages...
Is there a way to do so i) within the administration of the blog or ii) do I have to look into the scripts and manually adapt them?
If just ii) any hints what php-files are best for that?
Thanx a lot for your help!
astrosoft
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: How to influence meta tags in header...

Post by thecoalman »

thecoalman wrote: Tue Jan 25, 2022 10:30 am You can edit it into overall_header.hml but you will need to maintain edit through updates.
/styles/prosilver/template/overall_header.html
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

Re: How to influence meta tags in header...

Post by astrosoft »

ok, thanx!
What about an addition lines in <body> area?
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2348
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦
Contact:

Re: How to influence meta tags in header...

Post by P_I »

There is also a recently released extension, Metainformation and Favicon, that might address your needs.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

Re: How to influence meta tags in header...

Post by astrosoft »

I changed the overall_header.hml for prosilver (what I use) and uploaded the file, flushed cache, but I still can't find the code in the source.
Any hints?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to influence meta tags in header...

Post by stevemaury »

A link to your board, please?
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
astrosoft
Registered User
Posts: 29
Joined: Wed Jan 05, 2022 2:55 pm
Name: Achim Schneider
Contact:

Re: How to influence meta tags in header...

Post by astrosoft »

https://www.reisezielforum.de/
Thanx for any hint...
:)
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53398
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: How to influence meta tags in header...

Post by Brf »

Try taking out the one-line comments before and after your two script blocks. The template parser may be treating them as conditionals
Post Reply

Return to “[3.3.x] Support Forum”