Jump to content

Global meta tag


WebCMS
Go to solution Solved by Nathan Explosion,

Recommended Posts

Can someone from IC look into this and help with optimizing them, please?

Under Meta Tags in ACP, we find 3 entries -

  1. /
  2. /forums
  3. /forums/*

Not sure if these 3 entries came with default installation or if we need all these 3.

We've added a new meta tag under each of the above as under to prevent auto zooming-in of the screen on mobile devices which happens when tapping on the Language dropdown in our header -

<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />

However, this tag is getting rendered on only the homepage/forums but not blogs, articles, etc. and resulting in screen zooming on these other webpages.

Is there a way to apply this meta tag globally to ALL webpages, blogs, articles, etc. without modifying templates?

Here is the zooming-in issue on mobile devices -

https://weblog.west-wind.com/posts/2023/Apr/17/Preventing-iOS-Safari-Textbox-Zooming

https://stackoverflow.com/questions/71453576/chrome-mobile-devices-input-type-text-zooming-way-off-of-the-element-not-trying

 

Link to comment
Share on other sites

Posted (edited)
58 minutes ago, Marc said:

Would try as mentioned above by Nathan. 

In answer to your first question, those items are not there by default. By default that area is blank

So, ideally do we need just 3 meta tags?

  1. / => keywords, description (site homepage specific)
  2. /* => viewport (for all webpages)
  3. /blogs => blogs home

On IC sites, I'm seeing the keywords is taken from "tags". If there are no tags, the keywords meta tag does not render.

description tag = some 200 chars of content body.

Edited by WebCMS
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...