From this discussion
https://forums.modx.com/thread/91582/evo-sitemap-not-working---help#dis-post-500888
(Thanks to fourroses666 & mrhaw)
Seo4Evo
A Collection of SEO Tools for MODx Evolution from various authors with a dedicated ManagerManager Tab
This Package includes
Seo4Evo snippet
Returns HTML meta tags for SEO4EVO Packages tvs
meta charset
base href
title
keywords
description
robots
copyright
canonical
og:site_name (facebook)
og:type (facebook)
og:url (facebook)
og:image (facebook)
fb:app_id (facebook)
author (google+)
publisher (google+)
<meta charset="UTF-8" />
<base href="http://domain.com/" />
<title>My custom title</title>
<meta name="keywords" content="snippets,plugins,chunks,tvs" />
<meta name="description" content="my meta description" />
<meta name="robots" content="noindex, nofollow" />
<meta name="copyright" content="Test Site" />
<link rel="canonical" href="http://domain.com/design.html" />
<meta property="og:site_name" content="Test Site" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://domain.com/blog.html" />
<meta property="og:image" content="http://domain.com/assets/images/test2.jpg" />
<meta property="fb:app_id" content="123456789123456789" />
<link rel="author" href="https://plus.google.com/1234567891234567899" />
<link rel="publisher" href="https://plus.google.com/123456789123456789" />
Sitemap Snippet
http://modx.com/extras/package/sitemap
DynamicDescription Snippet
http://modx.com/extras/package/dynamicdescription
Virtual Alias Plugin
http://www.stanback.net/code/modx/virtual-aliases.html
Chunks:
mm demo rules SEO (sample code for ManagerManager plugin the Seo Tab)
On page settings (tvs)
Seo4Evo Snippet tvs:
CustomTitle - Seo Custom Title for metatag title - Default value is [pagetitle]
Meta Keywords - Meta Keywords - comma separated keywords
CanonicalUrl - Custom CanonicalUrl - If Empty full alias for pages or domain url for homepage - works like using if snippet :
<link rel="canonical" href="[[if? &is=`[*id*]:is:1` &then=`[(site_url)]` &else=`[(site_url)][~[*id*]~]`]]" />
Author - Google plus author page URL (if empty does not display the tag)
Meta Description - If Empty get the first 25 words from content (via $modx->runSnippet DynamicDescription Snippet)
Robots Index this Page - Include or exclude the page in Search Engines
Robots - Following Links - Follow or noFollow links on the page
Virtual Alias Plugin tvs:
301 Redirects - Add old url - New aliases should each be added on a separate line. Omit any leading or trailing slashes as well as the default suffix (usaully .html)
SiteMap Snippet tvs:
Sitemap exclude - Include or exclude the page in Google SiteMap
Sitemap update frequency - How often the content will be changed
Sitemap Priority - Importance of the page
Seo4Evo Snippet Parameters:
preTitle
postTitle
Facebook Open Graph Protocol Parameters
OpenGraph - 1= enable OG metatags
OGfbappId - your facebook app id
OGimageTv - image tv for your shared post on facebook default tv: thumbnail
OGtype - default: website (more infos:
https://developers.facebook.com/docs/reference/opengraph)
Google Plus Parameters
GooglePlus - 1= enable G+ metatags
linkPub - the "brand" google publisher page
Basic call - only site metatags
Add Seo4Evo snippet call after the opening HEAD tag in your template
With Facebook Open Graph metatags
[[Seo4Evo? &OpenGraph=`1` &OGfbappId=`123456789123456789` &OGimageTv=`my-thumbnail` &OGtype=`article`]]
With Facebook Open Graph e Google plus metatags
[[Seo4Evo? &OpenGraph=`1` &OGfbappId=`123456789123456789` &OGimageTv=`my-thumbnail` &OGtype=`article` &GooglePlus=`1` &linkPub=`https://plus.google.com/123456789123456789`]]
More infos, download and docs:
https://github.com/Nicola1971/Seo4Evo
[ed. note: banzai last edited this post 12 years, 2 months ago.]