Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
New Meta tags for seo
« previous
next »
Print
Pages: [
1
]
Author
Topic: New Meta tags for seo (Read 6507 times)
ipghmagnet
Full Member
Posts: 108
New Meta tags for seo
«
on:
September 25, 2014, 06:22:26 »
I recently found below meta tags. I am wondering if the elxis should also include below meta?
<meta property="twitter:account_id" content="15651700" />
<meta property="fb:page_id" content="8489236245" />
<meta name="twitter:site" content="@Moz">
<meta property="og:image" content="
https://dc8hdnsmzapvm.cloudfront.net/assets/images/beginners/landingpage_header.png?503145d3b3381c230ede7e5574256bf5
" />
<meta property="twitter:title" content="SEO: The Free Beginner's Guide from Moz" />
<meta property="og:title" content="SEO: The Free Beginner's Guide from Moz" />
<meta property="og:description" content="New to SEO? Need to polish up your knowledge? The Beginner's Guide to SEO has been read over 1 million times and provides the information you need to get on the road to professional quality SEO." />
<meta property="og:type" content="article" />
<meta property="og:url" content="
http://moz.com/beginners-guide-to-seo
" />
<meta property="og:site_name" content="Moz" />
<meta property="fb:admins" content="22408537" />
<meta property="twitter:card" content="summary_large_image" />
Logged
neodymium magnet
www.nbvsmagnetic.com
datahell
Elxis Team
Hero Member
Posts: 10356
Re: New Meta tags for seo
«
Reply #1 on:
September 25, 2014, 12:47:37 »
You can modify component
content
(controllers
article
and
category
) and add any meta data you like.
Example to set META name/content pairs using
setMetaTag
method:
$eDoc->setMetaTag('description', 'some description');
The above will generate this:
<meta name="description" content="some description" />
To set any head data, custom like the ones you wrote use method
addCustom
.
Example:
$eDoc->addCustom('<meta property="og:site_name" content="Moz" />');
If some of these meta data exist in all pages and are the same you can add them once on your
template's index.php
file.
For example for template Flex:
...
$eDoc->setMetaTag('viewport', 'width=device-width, initial-scale=1.0');
$eDoc->addLink($touch_icon, '', 'apple-touch-icon');
...
$eDoc->addCustom('<meta property="og:site_name" content="Moz" />');
$eDoc->addCustom('<meta property="fb:admins" content="22408537" />');
$eDoc->addCustom('<meta property="twitter:card" content="summary_large_image" />');
«
Last Edit: September 25, 2014, 12:51:53 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
New Meta tags for seo