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
1answer
23 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
11 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
66 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
29 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
220 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
196 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
1k 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
527 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
151 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
726 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
313 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
301 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
636 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
59 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
120 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
320 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
198 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
578 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
62 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
654 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
3k 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
102 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
647 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
614 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.
5
votes
0answers
396 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
434 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
789 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
1k 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
77 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
551 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
754 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
440 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
471 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
508 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
4k 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
5k 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
681 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
539 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
614 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
741 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
247 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 ...
3
votes
1answer
2k views

How to get Meta data in title.phtml on Magento2

I am trying to get the current pages meta data in title.phtml on Magento 2 so that I can have a sub title and slight description on the page. But I cant find anything for how to retrieve this ...
0
votes
1answer
2k views

Change meta title of customer login page

Trying to change the meta title of the customer login page in Magento2 at example.com/customer/account/login/. Added tag to my xml file but no luck. Please advise. Here's my xml layout: <?xml ...
0
votes
1answer
1k views

meta keyword tag not showing in browser source

Fist of all I already look these questions Meta Keywords does not appear and Magento meta keywords tag not showing but my question answer is not listed there. I am using Magento 1.9 CE in my_theme>...