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
8
votes
5answers
11k views

Manually install Open Graph Tag

I am trying to add opengraph on my website manually. I found the tutorial and it works like a charm... but only for Facebook. You can view the tutorial here: http://naileditdesign.com/facebook-open-...
8
votes
2answers
14k views

How to add/ change meta tags specific to the Contacts page?

I have a shopping store (www.goorganics.us) in Magento using the "Magento ver. 1.7.0.2". Please guide me how to update the Title and other Meta Tags (for SEO) of my Contacts page?
7
votes
1answer
2k views

How do I remove <meta name=… from head

How can i remove <meta name="keywords" content="keyword"/> from head through layout.xml?
6
votes
2answers
3k 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/...
6
votes
1answer
8k views

Proper use of Heading (<h1>,<h2>…) tags for SEO on Product Page

I've done a lot of searching and can't seem to find a straight answer and conflicting information. Since this applies to all who have a Magento eCommerce site, I thought I would post the question here....
6
votes
0answers
429 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 = $...
5
votes
1answer
7k views

How to Dynamic generate Open Graph protocol meta tags

<meta property="og:url" content="<?php echo "http://". $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];?>"/> <meta property="og:description" content=""/> <meta property="og:title"...
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')-&...
4
votes
2answers
591 views

Show previous and next link in link tags under head in category page

In category page, I need to show link tags that holds pagination's previous and next links like below: <link rel="prev" href="http://www.test.com/prod1.html?p=1" /> <link rel="next" href="...
4
votes
1answer
1k views

Duplicate meta titles / descriptions for review pages

Consider the following example: KHAKI BOWERY CHINO PANTS If you inspect page source, you'll notice: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Khaki ...
4
votes
1answer
465 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 [...
4
votes
1answer
3k 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 ...
3
votes
1answer
833 views

How to change Meta Robots for a page?

I want to change meta robots for a particular page. By default I find every meta robots value as index/follow but, I want to change meta robots for few pages as noindex/follow. Please help me to fix ...
3
votes
2answers
2k views

Why are html tags appearing in meta description for all my products?

My meta description for all my products looks something like this: meta name="description" content="<li>免費附贈專用腳踏幫浦一支</li> <li>可使用標準嬰兒床單</li> <li>安全護欄設計避免幼兒摔落</li> ...
3
votes
1answer
236 views

Prototype and IE8 document mode

I'm working with a legacy enterprise site and have a question about the current state of Magento and prototype. Current state I've read that when prototype 1.7 was released it resulted in issues ...
3
votes
1answer
200 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/...
2
votes
4answers
3k views

Way to dynamic change meta description

Is there a way to set dynamic meta-descriptions by changing the Magento code. For instance: "Buy PRODUCT_NAME online and save PERCENTANGE% today. Free shipping and secure payments" In the above ...
2
votes
2answers
777 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!
2
votes
1answer
845 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, ...
2
votes
3answers
2k views

PInterest - How To Verify Your Website

Pinterest wants me to Verify my Website so it can be recognized as a business Pinterest page. Where in Magento do I find the html.index file to add the meta tag?
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 ...
2
votes
1answer
4k views

Magento - Meta tag automatically generated

I have a multi language store in magento 1.8ce Meta title Same as The title of The product Meta desciption I use a combination of The title, sku and description (with The html tags) Meta keywords ...
2
votes
1answer
79 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?
2
votes
1answer
606 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
2
votes
1answer
830 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, ...
2
votes
2answers
1k views

How to include custom field values of products on head.phtml of magento programmatically?

For my custom module i have added few more meta info to products.Its added to the product meta information tab and getting saved for each product. I dont know how to make it display in app\design\...
2
votes
1answer
311 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 ...
2
votes
1answer
836 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, ...
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 ...
2
votes
1answer
761 views

Magento how to set attribute seo meta title and description product

I have a catalog of 30,000 products on Magento, and I would make sure that the plugin I of seo (free) all products have tag, store name, category name. I turned on the network, to see how to build an ...
2
votes
0answers
133 views

Product pages all have meta titles from 2 different pages combined

Running magento 1.8 with a smartwave porto theme. We cannot figure out where our store meta title & description are coming from...they're not coming from the meta data area on the homepage & ...
1
vote
2answers
853 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.
1
vote
1answer
499 views

Change Meta Tag for different pages

I got an error message from Google webmaster where it asked me to change the duplicate meta tags of different pages to enhance user experience. The list of pages includes those pages whose meta tags ...
1
vote
1answer
3k views

what is the maximum length for meta_keyword, meta_description and meta_title

While Uploading CSV, There are some constraints that we have to follow, Like lengths of the attributes : Please Provide the length of following attributes: "meta_keyword" "meta_title" "...
1
vote
2answers
257 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 ...
1
vote
1answer
568 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?
1
vote
3answers
4k 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 ...
1
vote
1answer
221 views

Meta Descriptions - Item Count Appearing on Search Engines

For category pages, when displayed on search engines, there is an "item count" that is displayed before the meta description. I fear this may be hurting our click through rates. Is there a way to ...
1
vote
1answer
2k views

Get products by product tags

I'm trying to write my own search engine on my project. I'm trying to get products by product tags. How can I do that? Edit: Actually, is magento search working by product tags or just product name ...
1
vote
3answers
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 --&...
1
vote
1answer
238 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.
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 ...
1
vote
1answer
85 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, ...
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
2k views

Product description is used as meta description

I tried to update the meta descriptions for my products so that they are different to the normal description. My main problem is, that in the source code the normal description of the products is ...
1
vote
1answer
1k views

Does Product Meta Title default to Product Name if it is empty?

In doing a fresh install of the latest Magento CE v1.9.1, I saw that the Product Meta Title no longer defaults to the Product Name. As a result, all the Page Titles are showing up with the URL of the ...
1
vote
3answers
2k views

Where are the meta-titles for categories set/created by default?

I want to change my page titles for categories but cannot find where it's originally set. Right now, they look usually like this: Laptops - Computers - Electronics - Magento But I cannot find the ...
1
vote
1answer
2k views

Adding rel=“next”/“prev” tags based upon pagination

For SEO purposes, I'm attempting to add link tags to the head block so that I can reference the previous and next blog pages like so: <link rel="prev" href="http://citygear.dev/blog?...
1
vote
1answer
1k views

How to implement per page meta description and keywords in Magento?

I'm trying to change meta description and keywords (I know keywords aren't useful) in Magento CMS pages, but the site is still outputting the sitewide default values. What am I missing?
1
vote
0answers
23 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:...