It is possible to store Open Graph Tags on another page?
Like:
<meta src="myinfo.xml">
I have only one HTML page that contains slideshows and want to pass different parameters to each image.
Do not want to pollute the code with various metadata.
Related
I'm trying to create a modified product page in my BigCommerce Cornerstone theme and I'm following the video on the following link:
https://stencil.bigcommerce.com/docs/custom-layout-templates
The video claims that I need to use a live URL when I create a new HTML under /template/pages/custom/product and map it in the .stencil file.
The way I created a new live URL is that I created a completely empty web page. The first difference I notice though, compared to the video is that when I navigate to the page it's not completely empty as shown in the video but shows the header and footer of the website.
When the video asks to copy the contents of the original product.html into my newly created HTML under /template/pages/custom/product, the HTML markup doesn't get picked up i.e. the page will not show components of a product page.
I got stuck at this point and cannot continue with modifying the template.
If you are creating a custom product template, you would need to map it to the live URL for a product in your store. Mapping a custom product template to a web content page won't work.
It's important to note the difference between page types. If you are creating a custom category template, you would map it to an existing category page in your store, etc.
After you map the product page URL in your .stencil file, be sure to restart Stencil CLI. You'll need to restart to see the changes reflected on localhost in your browser (i.e. a blank page at the product page url if you mapped an empty html file to it).
I am talking about the Open Graph tag here. Can I put the og meta tag anywhere on the page?
I want to use my detail page image for the og tag, the easiest solution is putting the og:image tag in the body of my page.
Open Graph meta tags should always be nested between <head> tags.
To turn your web pages into graph objects, you need to add basic
metadata to your page. We've based the initial version of the protocol
on RDFa which means that you'll place additional <meta> tags in the
<head> of your web page.
http://ogp.me/#metadata
Additionally, keep in mind that order of the tags matters, especially when dealing with array tags (which includes og:image).
Open Graph Tag should be always always be placed on header tag until knowledge goes.. People please correct me if I am wrong..
I have a dynamic page, where the contents and title will change based on the parameters in the URL. I want the same to be done for meta tag description. As I don't have a sound knowledge of SEO, I don't know whether it will be valid or not.
Say suppose URL contains word "test"
I will do,
if("test" is present)
{
<title>test</test>
<meta decription="test"/>
}
else
{
<title>test1</test>
<meta decription="test1"/>
}
Can I do this? Does giving two meta tag descriptions for same page work.
It is best practice to have different, on the page content based values of the title element and the meta description for each web page. It is not forbidden by the the HTML5 specification to have multiple <meta name="description" content="YOUR DESCRIPTION"> elements but I would guess that search engines process only the first appearance of the element. So my recommendation would be use one <meta name="description" content="YOUR DESCRIPTION"> element for each page.
As long as you code it server-side (eg in PHP) when the page is generated rather than client-side (javascript) after the page has loaded, then it will be fine. That's how most CMS systems work already.
Done server-side, only one of the description tags will actually appear in the code Google see.
Done client-side, it is likely that they will see no description at all as I don't think many search engines render javascript.
How can I make front-page and category pages of my CMS being indexed just by their meta description tag not by their contents (posts, navigation, ...)?
edit: Contents on these pages are generated dynamically and change frequently, so I want to prevent users don't find what they saw in search result summary
edit: Can nosnippet help for this or does it prevent the display of meta description content too?
Also How I can prevent indexing of contents of particular tag in a page?
Add this between your head tags:
<meta name="robots" content="noindex,nofollow"/>
But, Yandex does not care about this which is not respectful.
where should i put meta tags in .net framework 4.0 in pages base on master and content pages?
mean in two below purposes :
1 - for each content page separately
2 - for all pages in master page
is there any property in master or content pages for setting meta tags and title ?(i could n't find them)
If there are meta tags that should be on ALL pages, you put it in the <head> section of your master page, just like you would a normal HTML page. There's no property for it because it's not a server-side property, you just put it in your page.
For individual meta tags that are different for each content page, add a new <ContentPlaceHolder> in the <head> of your master page. That will let you define the actual content on each page.