Questions tagged [meta-tags]

For a Facebook share button, I deed to add some meta tags to a page in Liferay.
The result of the HTML should look like the following example:
...
How can I do that in Liferay WITHOUT coding but just by configuration in the admin control area?
Note: For www.mydomain.com/en the content of the meta ta...

I was wondering if someone could explain how social media rich previews define which og:title to pick.
I use wordpress and for certain pages I insert php echo strings to inject them into the . I choose to do that to change certain titles and descriptions into more commercial texts. What obvisouly ha...

I have a page which has open graph meta tags added to it. Now,I need to pass a query parameter to my page url, value of which will decide whether og:video meta tags has to be added to page or not. But as soon as Facebook crawler finds og:url, it ignores everything on the page and starts crawling can...

How can I generate dynamic meta tags for facebook on server side? Depending upon the data fetched from database, I need to dynamically set the value of og:title, og:description etc.
Can I use HttpServletResponse.addHeaders() to do that? If yes then how to do that?

I was reading James Donnelly's answer to 'Is there a standardized (Meta?) Tag for the Date of a Website?'. At the end he writes:
I don't believe Hangy's answer of dc.date (now dcterms.date) would be relevant here as, as far as I'm lead to believe, the date of this is the date associated with the res...

Just wanted to confirm that is there any stable version is released for 'Meta title and Description' of a node in Drupal 8?
If yes then please recommend. I have a simple website of basic pages and few blogs for the same and for homepage I want to add 'Meta title' and 'Meta description'.
So please su...

i try to get name from meta tags.
I get meta tags like this :
$test = get_meta_tags('http://viedemerde.fr');
then :
echo $test['description'];
...
I have the description, but without :
meta name='description
How can i get this ?

I am now working with contao fe_page template for generating meta tags. Now i need to display a meta tag based on a condition. That is
if (condition a){
meta tag =a
}
else {
meta tag = b
}
The condition is 'whether the news module is used in that page or not'.
How can I check for dat condition in...

I have one problem with metatags in Angularjs.
In my html file I have metatags with content property set like this
{{ meta.siteName }}, and on every route I programmatically set these tags. Everything is fine, it sets these tags properly, but whem I'm trying to send link to some page via skype/slac...

I am working with my client's website and trying to figure out why, and how to use rich snippets. Something that is confusing me is how these snippets work together with the meta tags.
Let's say I have the following meta tags, and this JSON-LD snippet:
Beachwalk Beachwear & Giftware
Cheap cloths for...

I am developing a website using AngularJS, HTML5. I understand This problem already exist in StackOverflow and other blogs, but I need a solution which can handle through angularjs. The application hosted in IIS 8. Problem is facebook/linkedin crawler could not detect any content. my all open graph...

I want to add metadatas to layout page for SEO dynamicly from admin panel. Sample:
In MVC5, I use:
@Html.Action('GetMetatags', 'Home')
and easily get them.
But in Asp.Net Core 2.1, I try to use ViewComponents instead of partial view like this:
@await Component.InvokeAsync('MetaDatasForSEO')
The...

I have a problem with few users in our company as they don't have updated IE on Windows 7 to the highest version which also supports IE compatibility view EDGE. What I want to ask, how it is possible to fall back to the highest version user has installed ?
I am thinking of
Is it possible ?

I have an angular module with two sub modules in it, one for user and the other for admin. of course they share the same index.html file.
in my user module I would like to have the in the tags in index.html
While I want it to be removed in my admin module and just have the desktop view for phones...

I want to read the og:image meta tag from a URL. I want to use get_meta_tags, but it doesn't return the value for this meta tag.
What is the reason for this and how can I solve it?
Code
HTML Input
Result
Array
(
[description] => Stack Overflow is the largest, most trusted online community for develo...

I'm trying to read the meta redirect of a website. The data is in a curl request (I've built a stub to test with).
What's not working is the 'read a URL' thing - any PHP DOMDocument experts out there able to tell me why this code isn't working? I'm trying to get the URL out of the meta refresh tag...

I am using French and English in my website. I have two links like 'Française | English' and when user selects 'Française' i place the following in header
and when user selects 'English' i place the following in header to show respective languages
The problem is when i switch to English from fren...

I need of a function in php that extract a description of a site url that don't have meta tag description any idea?
i have tried this function but don't work :
$content = file_get_contents($url);
function getExcerpt($content) {
$text = html_entity_decode($content);
$excerpt = array();
//match all t...

I've been doing some web work for a client and they've asked me to meta tag images on their web page with some specific data, I've not heard of meta tagging images, at least not using standard html before and a quick search reveals that there isn't a standard meta tag for this. However I did notic...

I want to take meta tags from an external webpage and save it into my mysql db, although I keep getting an error. Some help would be appreciated.
$tags = get_meta_tags($_POST['url']);
if (array_key_exists('description', $tags)){
$desc = mysql_real_escape_string($tags['description']);
}
$postQ = mysq...

I have looked over a few similar questions here at stackoverflow and I can't seem to locate a clear cut answer.
I know how to internationalize my page content, but how do I notify crawlers for SEO?
Specifically, lets say I have a pages that describes content in Norwegian and english.
Must I use mul...

Are there recommendations for a gem to handle the meta keywords and meta descriptions in a rails app? I already have friendly_id in place after much trouble but would like to have a good way to add meta tags and descriptions without having to hardcode those in my code.
Anyone have experience with a...

Very strange thing happening on iPad2 safari browser.
The following page (homepage) is cutting off the far right top nav link. It should say 'Request a quote', but cuts off at 'Requ'.
Plus, the page is not auto resizing to fit the iPad screen properly as normal.
Site URL: www.skiplan.co.uk
I have tr...

I have a page with a lot of text and a couple pictures (like a news article) that I want to display in a way that looks good for both a tablet-sized device and a phone-sized device.
What I do right now is make Scale to Fit = YES and have my html have the meta tag
but the font size is really too smal...

My site contains profile pages for companies.
I have recently converted the open graph metadata from a 'website' default object to a custom object called 'company'
When I add 'location' as a property of this object the suggested code looks like:

So I have the following code:
echo '';
I'm redirecting a user to the location of $file (which has been created before). Unfortunately, the script is redirecting to
http://home/[redacted]/public_html/[redacted]/output/ytusgh
when, in fact, I want it to be redirected to http://[redacted].co.uk/output...

Are the list of headers supported by the http-equiv meta tags a limited subset, or does it accept literally anything that you could have as an http header?
Specifically, could I use content-disposition?

I am trying to figure out how to disable the zoom function on a browser where the user can use the keyboard to enlarge text/images. The 'Command +' and 'Command -' function on the keyboard. How can I disable this function?
I have seen it done with annualreport.elevationchurch.org

How can I get all of the values from the named 'tag' and echo them on the page?
this is the HTML im using:
PHP that im using:
$tags = array (get_meta_tags ( 'http://s0ulp1xel.x10.mx/background-garage/?p=photo&photo=1'));
echo $tags;
The result is that it only echos the last named 'tag'.

I have a script which allows to retrieve meta content from any website: JsFiddle
I would like to retrieve the document title instead so I tried:
$.each($foop.find('head[title]'), function(idx, item) {
lnk = $(item).attr('title');
$('' + lnk + '').appendTo($('#meta'));
});
And:
$.each($foop.find('doc...

What type of client-side redirection on mobile devices is the most reliable?
This is more of a fundamental question. Lets only assume that we need to deal with iOS and Android devices at the moment (no BB or Windows) and the webpage that has the redirect is only a pass-through page (meaning that it...

I'm trying to implement a smart app banner on my company website but it seems that they are not customizable.
First, the banner shows always on top of the page. Then, I can't set how much time will it be visible after page load. And the thing that really bothers me is the position. Is it possible to...

I am building an iOS app that is supposed to use openGraph objects for users.
As I see it, I need to :
1. create object pages for each of these objects that contains all the metatags that facebook is generating for your created objects in Get Code.
2. Use the iOS app to generate opengraph reques...

How to access Meta Data of a HTML page loaded into a WebView in Android?
I search for hours stackoverflow.com and google and I coudn't find any answer.
I only could get url and title by this code:
webView.getTitle();
webView.getUrl();
Dose is it imposible and webview not support it?

I'm not sure if this could be a known scenario. But I'm confused since I couldn't find any discussions on this.
Raising my clarification. Does thymeleaf based html page allow meta tags within its head?
I've this code:
Data Services Platform Support
...
which displays the page I'm looking for.
But wh...

I want to change the metatag keywords in html head in order to match every page content dynamically.
but changing if with jquery, when the page has been already loaded sounds to me senseless.
Will the search site recognize the change? Or will it keep the old keywords meta tag?
What is the correct...

I have added the required meta tags for sharing rich content to social networks, to my site (https://matterbase.io). The meta tags can be tested on IFramely
When I share the url with a www subdomain, both the Twitter Card Validator and LinkedIn Post Inspector works. They are detecting the right meta...