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
2answers
88 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
65 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
29 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
179 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
156 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
143 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
359 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
21 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
33 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
48 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
169 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
360 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
118 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
283 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
39 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
971 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
430 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!
0
votes
2answers
1k 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
642 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
60 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
1
vote
1answer
384 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
420 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
348 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
348 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
553 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 ...
1
vote
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
69 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
418 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
423 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
356 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
251 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
425 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
1k 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
3k 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
3k 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
640 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
448 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
493 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
2k 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
541 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
149 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 ...
2
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
911 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>...
0
votes
3answers
48 views

Automation of Meta Tags

I want to know that can't I make different auto meta template for different products in different category. For example I've two categories sofa and table now I want a different meta for sofa products ...
0
votes
1answer
114 views

Meta Description issue only for products

I have a serious problem with meta tag Description only for a product page. In head.phtml this tag is defined as follows: <meta name="description" content="<?php echo htmlspecialchars($this->...
1
vote
3answers
3k views

Magento 2 : Getting rid of meta description tag on product pages

I am using editor for product description and there are HTML tags in them. Magento uses product description in product page meta tag description. My designs are going weird. Here is the meta tag ...
0
votes
1answer
3k views

Get the meta description and page title of any page

How can I get the meta description and page title of any page in Magento (product page, category page, CMS page and any other page). This is for Magento 1.9. I have tried something along the lines ...
6
votes
2answers
2k views

Magento 2 custom child theme add favicons

I'm trying to add various favicons to a custom theme. I've added /theme_dir/Magento_Theme/layout/default_head_blocks.xml and within I've tried the following: <page xmlns:xsi="http://www.w3.org/...
0
votes
0answers
501 views

How to add Meta Keywords

I'm sure that I setted the meta keywords for my website. I added them to CMS home page and to Configuration>Design>Head>default keywords, but if I analyze my site with an online SEO tool, it ...