Questions tagged [meta-tags]

Denotes questions related to html meta-tags. Use meta for general questions about meta information.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

How do I remove the price meta data from a product/list page?

How do I remove the price metadata from a product/list page? For example, I have this on the product page: <meta property="product:price:amount" content="100.75"> I want to ...
user avatar
0 votes
0 answers
11 views

Keywords Meta Tags

I understand that Google is no longer recognizing and being used. I also read where if you still used them on your site it could hurt your rankings. I stopped adding the keywords in the meta tag ...
user avatar
  • 13
0 votes
1 answer
84 views

Meta Tags on Brands Page

I recently purchased and installed a Shop By Brands extension from Mageplaza. Once installed I realized the actual Brands Page did not have a Meta Tags (Title, Keywords, Description) section. Is it ...
user avatar
  • 13
0 votes
1 answer
519 views

Adding Meta tags to the head of a CMS page Magento 2.3.6

In order to add the following meta tags to the home page I have done the followings: <meta property="og:image" content="https://example.com/media/wysiwyg/abc.png"> <meta ...
user avatar
1 vote
0 answers
24 views

Magento 2 Content Security Policy: The page’s settings observed the loading of a resource at https://xuz/font-awesome.min.css (“style-src”) [duplicate]

We transfer hosting to another hosting company everything is working fine but we are getting console errors in firefox like this - "The page’s settings observed the loading of a resource at https:...
user avatar
  • 1,153
0 votes
1 answer
196 views

How to Get block 'head' description in Magento 2?

In magento 1.9 i can get the page head description like this in phtml: $this->getLayout()->getBlock('head')->getDescription() How can i achieve this in Magento 2 ?
user avatar
1 vote
2 answers
985 views

Add Custom Meta tag

hi i want to know is it possible to show a custom meta tag here i have created an attribute and assigned to the seo group and i want this value to be visible under meta tag for the current product ...
user avatar
  • 1,704
0 votes
1 answer
216 views

Show Product Meta Keywords in Product pages

Is there a way to show all meta keywords for a product on its product detail page. something looks like below? I'm currently able to display the meta-keyword attribute values under the email icon( I ...
user avatar
0 votes
1 answer
615 views

magento 2.3 add noindex,nofollow to category filter pages

I want to change the meta robots tag value from index,follow to noindex,nofollow to all category filter pages only. How can I achieve this? I am trying to do this by jquery below- <script type="...
user avatar
  • 377
2 votes
1 answer
508 views

Magento2 showing default meta description over catalog category meta description

I'm using magento2.2.5, setting the default meta description from design configuration then setting each catalog category meta description individually, then clearing the cache but the default meta ...
user avatar
1 vote
2 answers
2k views

Magento2 : Not showing Meta title & description on category page

I'm getting issues with website meta info. If I will set the default meta info then it will display the same info tag for all the pages. But when I'm trying to set the meta info for a particular page ...
user avatar
2 votes
1 answer
1k views

Magento 2 - Add meta detail on frontend page using Block

I have custom block in my custom module, which call my frontend custom phtml file. let's say file path: app\code\Vendor\Module\Block\Index\Index.php I need to figure out the way to set meta title, ...
user avatar
3 votes
1 answer
275 views

Facebook Open Graph image property

Facebook is picking up the wrong image from my Magento web site when shared. I have added the following line to my head.phtml <meta property="og:image" content="https://www.sturdykids.co.uk/skin/...
user avatar
1 vote
3 answers
1k views

How to remove meta title from head in Magento 2?

I need to remove meta title from header in all pages. <meta name="keywords" content="Oneplus One"/> <meta name="robots" content="NOINDEX,NOFOLLOW"/> <!-- I need to remove meta title --&...
user avatar
1 vote
0 answers
419 views

Magento 2 Product page title different from meta title

I don't know if I'm being daft here or what but my product page is showing product name as the title in browser tab and it is ignoring the meta title set in the Search Engine Optimization Meta Title ...
user avatar
  • 2,938
0 votes
1 answer
481 views

Google still crawls url while i disallow from robots

I will go straight to the point. Recently I did several fixes in my robots.txt file, and I've added several disallows like these: Disallow: /review/ Disallow: /catalog/product/view/ the problem is ...
user avatar
0 votes
1 answer
846 views

how to add a custom meta dynamic tag in all page using a module in magento 2

i want to make a module which will add a custom meta tag which will be dynamic as per page .it will appear in all page. i want this to be appear after meta name "viewreport".
user avatar
1 vote
0 answers
29 views

Why does Magento have a layout XML media_type meta tag which outputs nothing?

In the DevDocs, Magento details the possible meta tag names available to include in the head layout XML. The explanation for the media_type tag caught my eye: This tag will not render (see \Magento\...
user avatar
  • 1,203
0 votes
0 answers
94 views

Magento 2 Meta tags sequence

where can change the order of the meta tags in Magento 2? currently description meta tag & keywords meta tag showing before the title and are not in top of the page.
user avatar
0 votes
1 answer
303 views

How can we remove layered navigation filters view page source code in magento 2 category page?

How can we remove the filters applied in category page,ie: . It's appending the pipe with filter values in view page source as shown in below- <meta name="description" content=" | Price: $0.00 - $...
user avatar
  • 319
0 votes
1 answer
419 views

How to change meta tag "twitter:description" for home page in Magento 2

I want to add/edit meta tag keyword and descriptions as per my need. Currently meta tag "twitter:description" is showing short description but I want to add some other content as per my conditions, ...
user avatar
0 votes
2 answers
2k views

Customize and override default magento meta tags in <head> for better SEO

in my product pages, my meta description tag is taking the product description despite the configurations that I set in Store > Config > Catalog > Catalog, where I set the description to {{...
user avatar
  • 681
1 vote
1 answer
355 views

How to add magento meta description programmatically

How to add Magento 1 meta description programmatically. I have to add all product meta description in my Magento 1 store.
user avatar
0 votes
1 answer
784 views

1.9: remove specific meta tag from header

Is it possible when looking at: Custom Design->Custom Layout Update XML to completely remove a meta tag? I'd like to remove the "robots" tag completely, as I will be adding in customized values for ...
user avatar
2 votes
1 answer
123 views

Stop duplicating SEO meta tags while product duplicating

How to stop duplicating only SEO Meta tags when duplicating product in Magento 2. Can someone guide me how to get it?
user avatar
  • 193
0 votes
2 answers
2k views

Magento 2: Meta-keywords and meta-description doesn't appear

I am using a payment template that unfortunately the support has already expired. Meta-keywords and meta-description do not appear in the source code. I've assigned to the different websites and ...
user avatar
2 votes
2 answers
1k views

Magento 2 remove Meta Tag robots From whole Website

Doe anyone know where and how to remove <meta name="robots" content="INDEX,FOLLOW"/> tag for good? Thanks!
user avatar
2 votes
2 answers
6k views

Magento 2 : How to add custom meta tag in head

How to add custom meta tag in head tag of page-layout-2columns-left custom meta tag l want to add is <meta property="og:image" itemprop="image" content="url"/> P.S. I want this url to be ...
user avatar
0 votes
2 answers
2k views

Parse error: syntax error, unexpected '­' (T_STRING) in products\app\code\local\Sahara\Recentproducts\Block\Recentproducts.php on line 8

D:\xampp\htdocs\products\app\code\local\Sahara\Recentproducts\etc\config.php <?xml version="1.0"?> <config> <modules> <Sahara_Recentproducts> <version>1.0<...
user avatar
0 votes
1 answer
196 views

Magento 2: How to add meta tags "NoIndex, Follow" to sitemap page

I'm trying to add robots metatags "NOINDEX, FOLLOW" to the sitemap. How can we achieve it in Magento 2
user avatar
2 votes
1 answer
990 views

Magento 2 : How to Insert Category Name as Meta-Description of Each Category From Admin

From admin, I'm trying to insert category name as a variable in metatags (something like {category name} in meta description). I go to admin: Products -> Categories. From the details of Category, ...
user avatar
0 votes
1 answer
877 views

Updated meta title and description for site pages but changes are not reflected on page browser source.

How long does it typically take for magento changes to be reflected on site? I've tried viewing my page on incognito mode and page source does not show the new title and meta description. Please help.
user avatar
  • 1
6 votes
1 answer
554 views

Magento2 : How to set custom meta title & meta description by observer?

I want to set meta title , description by the help of observer. But unable to set data here. please see my code: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_page_config = $...
user avatar
0 votes
1 answer
564 views

Meta Tag's + OG + Twitter Card

I added the following code to the head <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" /> <title><?php echo $this->getTitle() ?></...
user avatar
0 votes
1 answer
986 views

Keywords meta tags are not being updated

When I change the Meta Keywords in Search Engine Optimization and check the result with the Developer Tools of my browser, I can't see any change. I tried removing the browser cache and cleaning ...
user avatar
2 votes
0 answers
2k views

Change order of CSS and JS in the <head> section of the page

Where is the block with CSS and JS in the <head></head> rendered? And how to change the order of the elements from that section? (this screenshot is from Magento 2 demo) I'd like to ...
user avatar
  • 2,172
1 vote
1 answer
99 views

SEO - Adding META ARCHIVE and GOOGLEBOT

I've been looking around at different ecommerce websites and I noticed that a lot of them have the following meta information: PART 1 Magento only has the option to set pages as INDEX, FOLLOW, ...
user avatar
  • 5,169
0 votes
1 answer
715 views

How Can I Import Category META Tags(Titles, Descriptions, Keywords) into DB Using MySQL Query?

Category META Tags(Titles, Descriptions, Keywords) Import not possible at the back end, how can I import into DB using MySQL Query?
user avatar
1 vote
2 answers
935 views

How can i check all my categories have META Tags Values (Title, Desc, Keywords)

I need to check my all categories have proper meta tags (title, description, keywords). Which table stored category meta tags (title, description, keywords) value.
user avatar
4 votes
1 answer
486 views

characters like æ ø å ö ä ü for display in magento

When I display Danish/Norwegian characters like "æ ø å", the current character and the rest of the text in that field are gone in magento (Magento ver. 1.9.3.2). Example for:: Input filed: "FJORD [...
user avatar
2 votes
1 answer
700 views

How to copy product information to meta information in Magento 1.9.2

How it is possible to copy all the characteristics below massively? title -> meta title title -> meta keywords description -> meta description
user avatar
1 vote
1 answer
563 views

Product page meta titles - appearance in search results

Hej. I'm working on a site with Magento 1.9.2.1 CE, https://www.elcykelsalg.dk/. In search results, the products are displayed with an attribute (Elcykler) after the meta title separated with a "-", ...
user avatar
  • 11
2 votes
1 answer
2k views

How to add meta tag. meta description, meta kywords in custom module of admin panel?

I have created the custom module. but at the time of creating seller, I want an additional text box to add meta tag. meta description, meta keywords same like "add product" form in Magento admin panel....
user avatar
  • 363
5 votes
1 answer
5k views

Magento 2: How to set meta tag in controller?

In magento1 we use this code to set meta description and meta keywords. $this->getLayout()->getBlock('head')->setDescription('test description'); $this->getLayout()->getBlock('head')-&...
user avatar
  • 32.1k
2 votes
1 answer
7k views

Change Meta tag information dynamically, with Jquery

I want to change contents of Meta tag dynamically, Here is the code which which will call the function "changeMetaInformation()" of javascript <a onclick="changeMetaInformation('<?php echo ...
user avatar
1 vote
1 answer
682 views

How to identify pages and set meta info in Magento

I have some pages in my magento store which are not CMS Pages. They have phtml files and common head.html files. This pages not also have databases tables. I want to set Meta info for that pages. ...
user avatar
  • 189
1 vote
1 answer
625 views

How do I change ogg:image only for homepage in Magento?

for almost 2 days looking for information, but I can not find how to change this og tag only for index page (frontpage) of Magento. Do you have ideas how to do it?
user avatar
  • 13
0 votes
2 answers
713 views

Set Meta Titles in Admin with Variable - Magento 1

We have an e-commerce site with many products and to write a title for each one would be very time consuming. Is there a way in the Admin to set the title as Buy {Product Name} Online where {Product ...
user avatar
0 votes
1 answer
3k views

How to enable alt tag for the E commerce product page images in Magento?

I am using the Magento for my http://www.thelabellife.com/ website and I can not add the alt tag for all images on the product pages. I have discussed with developer team as well, they are saying it ...
user avatar
2 votes
1 answer
925 views

Magento uses <h1> for the logo on EVERY page - Duplicate h1 tags

I used onpage.org for an SEO analysis and it told me I have a lot of pages with double h1 tags on my Magento shop. I checked this and it seems my logo is h1 on every page, probably due to the theme, ...
user avatar