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
1
vote
0answers
22 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:...
0
votes
0answers
9 views

The product name in the page title is being replaced with the meta title

When a product has a meta title set this is being used as the main header eg the product name in the H1 tag on product detail. This should be the product name. Does anyone know how to stop this from ...
0
votes
0answers
16 views

Magento 2: How to call phtml file after meta description in head tag?

Magento 2, How to call phtml file which contains the of tags after meta description in head tag? I tried used head.additionals but it is getting added after css & js are called. I need this tags ...
0
votes
1answer
41 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 ?
0
votes
0answers
18 views

Magento 2 redirects 301

I getting this warning when I test in online seo tester. Warning, no 301 redirects are in place to redirect traffic to your preferred domain. Pages that load successfully both with and without www. ...
1
vote
2answers
200 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
337 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="...
2
votes
1answer
293 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 ...
1
vote
2answers
2k views

Magento2 : Not showing Meta title & description on category page

I'm getting issue 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 particular page ...
2
votes
1answer
795 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, ...
3
votes
1answer
194 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/...
1
vote
3answers
965 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 --&...
1
vote
0answers
338 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 ...
0
votes
1answer
329 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 ...
0
votes
1answer
703 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".
1
vote
0answers
25 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\...
0
votes
0answers
74 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.
0
votes
1answer
153 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 - $...
0
votes
1answer
364 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, ...
0
votes
2answers
1k 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 {{...
1
vote
1answer
235 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.
0
votes
1answer
664 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 ...
2
votes
1answer
73 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?
0
votes
2answers
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 ...
2
votes
2answers
746 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!
1
vote
2answers
4k 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 ...
0
votes
2answers
1k 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<...
0
votes
1answer
129 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
2
votes
1answer
817 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, ...
0
votes
1answer
686 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.
6
votes
0answers
417 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 = $...
0
votes
1answer
473 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() ?></...
0
votes
1answer
859 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 ...
2
votes
0answers
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 ...
1
vote
1answer
84 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, ...
0
votes
1answer
591 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?
1
vote
2answers
835 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.
4
votes
1answer
462 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 [...
2
votes
1answer
583 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
1
vote
1answer
529 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 "-", ...
1
vote
1answer
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....
4
votes
1answer
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')-&...
2
votes
1answer
6k 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 ...
1
vote
1answer
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. ...
1
vote
1answer
563 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?
0
votes
2answers
644 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 ...
0
votes
1answer
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 ...
2
votes
1answer
808 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, ...
0
votes
1answer
338 views

Meta-tags for individual URL's

I am trying to create promotional pages for our magento site to run marketing campaigns from. It is very important for us to be able to share these pages on social, which means editing the open-graphs ...