meta-tags

How to disable zooming capabilities in responsive design?

会有一股神秘感。 提交于 2019-12-03 04:56:00
问题 How can I disable zoom-in and zoom-out capability in responsive design pages while using iPad, iPhone and/or some other smartphone. Is there any way to control it? 回答1: Create a META viewport tag, and set the user-scalable property to 'no', like this: <meta name="viewport" content="user-scalable=no" /> Updated answer:- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> 回答2: This pretty much discriminates against anyone over 30,

Resource interpreted as other but transferred with MIME type text/javascript?

核能气质少年 提交于 2019-12-03 04:50:14
问题 I keep getting " Resource interpreted as other but transferred with MIME type text/javascript. ", but everything seems to be working fine. This only seems to be happening in Safari 4 on my Mac. I was advised to add "meta http-equiv="content-script-type" content="text/javascript" to the header, although that did nothing. 回答1: The most common way to get the error is with the following code: <img src="" class="blah" /> A blank url is a shortcut for the current page url, so a duplicate request is

Are HTML Meta Tags still important? [closed]

风流意气都作罢 提交于 2019-12-03 03:31:50
I read some articles on Internet, some said that search engine like Google and Bing don't care about HTML Meta Tags any more. Should I still need to maintain the HTML Meta Tags in my website properly? Thanks! Are meta tags critical? Every search engines emphasizes meta tags differently. Google doesn't let the public know how it uses meta tags. I have noticed that a lot of websites show up on the first page of Google for specific subjects and yet they don't have any keyword or description tags. So don't let anybody fool you by exaggerating how important they are for Search Engine Optimization.

WordPress - How do I remove meta generator tags?

风流意气都作罢 提交于 2019-12-03 02:56:27
I have these tags: <meta name="generator" content="Woo Framework Version 3.1.1" /> <meta name="generator" content="WordPress 3.5" /> <meta name="generator" content="Canvas 3.0" /> I understand to remove the WordPress version tag I add: remove_action( 'wp_head', 'wp_generator' ); // goes into functions.php But how do I remove the themes meta tags? lmmendes If you are trying only to remove the meta="generator" add this line to your functions.php . remove_action( 'wp_head', 'wp_generator' ); Was looking for a solution for removing Layer Slider meta generator, didn't find much help on any of the

Validation error: “The itemprop attribute was specified, but the element is not a property of any item”

怎甘沉沦 提交于 2019-12-03 02:26:13
For better SEO I need put some meta on my page like this: <!-- Schema.org markup for Google+ --> <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content="This is the page description"> <meta itemprop="image" content="http://www.example.com/image.jpg"> Here is the source . Then I check this code on Markup Validation Service : <!DOCTYPE html> <html> <head lang="en"> <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content="This is the page description"> <meta itemprop="image" content="http://www.example.com/image.jpg">

Meta tags itemprop

倾然丶 夕夏残阳落幕 提交于 2019-12-03 01:25:45
I am trying to include extracted structured data in my webpages. I included this for description: <meta itemprop="description" content="my description" /> However I realised that there is already a normal meta description on the page: <meta name="description" content="my description" /> Is it ok to leave both of them or it is really necessary to merge them together maybe like: <meta itemprop="description" name="description" content="" /> You should leave both of them. The Microdata Spec says: If a meta element has an itemprop attribute, the name, http-equiv, and charset attributes must be

Wordpress remove Robots Meta Tag noindex

Deadly 提交于 2019-12-02 20:14:15
问题 were experiencing a strange issue with a wordpress sites meta robots tag. All pages have the following meta tag and we cant seem to remove it <meta name="robots" content="noindex,follow"/> We have unchecked "Discourage search engines from indexing this site" in Settings > Reading > Search Engine Visibility but it does nothing. We are using the Yoast SEO plugin but even when this is disabled the still remains. In fact, we have tried disabling all plugins to check nothing was interfering with

Facebook open graph meta tags maximum content length

前提是你 提交于 2019-12-02 20:05:35
Does anyone know the maximum valid length for each of Facebook's open graph meta tags? The description of the meta tags on http://ogp.me/ does not list maximum lengths, only general descriptions such as "A one to two sentence description of your object" for the og:description meta tag. From what I understand, there is no maximum content length for meta tags in general, just recommendations to keep them under certain lengths for SEO reasons. I'd be curious to know if there is a hard limit and what the limits are for what is visible on a link posted to Facebook. There isn't a hard limit on the

How to change meta tags in zend framework layout

你。 提交于 2019-12-02 19:39:39
So I have some default meta tags on layout.phtml set using $this->headTitle() and $this->headMeta()->appendName() and is echoed at layout.phtml's header My question is: How do I change those default meta tags from the view file such that they are replaced? I tried using: $this->headMeta()->appendName() or setName() Instead of replacing the old default meta tags, it would create an entirely new meta tag. How can I replace them? I would recommend setting a view variable for the keywords. For example, in your bootstrap.php you could define a default keywords as follows: protected function

imagetoolbar meta tag and IE versions

坚强是说给别人听的谎言 提交于 2019-12-02 19:17:46
There are quite a few questions here on SO about the following meta tag not being HTML5 compliant and therefore will not validate when using <!DOCTYPE html> : <meta http-equiv="imagetoolbar" content="no"> I also know this tag is specifically for one purpose alone: hiding the toolbar that appears when you hover your mouse over any image in Internet Explorer. However, I could not find out in exactly which versions of Explorer this is applicable. When I Googled it, most results only mention IE6, but these threads/pages were posted back in 2004. I'm wondering if that's because the feature was