.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _constants: Constants ========= To enable and configure the features of MetaSEO, you want to edit your main template. To do so, enter TYPO3's Constants Editor and choose one of the categories which are described below. .. figure:: ../Images/Constants/ConstantsT3Editor.png :scale: 80% :alt: Constants Editor Choosing MetaSEO's constants categories At least the template of a root page should be configured using these constants but it's also possible to configure an extension template for any page and underneath. Experienced users might want to do this step by typing TypoScript code themselves. The corresponding variable names can also be found in the images below, next to the description. MetaTags -------- .. figure:: ../Images/Constants/ConstantsMetatags_Enable.png :scale: 80% :alt: Constants Editor - Metatags Enable features of MetaSEO .. figure:: ../Images/Constants/ConstantsMetatags_Other.png :scale: 80% :alt: Constants Editor - Metatags Constants Editor for metatags ============================== ========================================================== ================= Constant Description Default ============================== ========================================================== ================= Last Update time Publish the update time of the current page *enabled* Detect Language Publish the current TYPO3-FE-language as metatag *enabled* Canonical Tag Publish canonical link if possible *enabled* (TYPO3-cache is enabled and cHash is valid) or if user entered canonical tag into page options. Canonical Protocol Fallback If no protocol is set via TYPO3's page properties, use *disabled* this as a fallback to set a unique protocol for both http and https requests. Can be set to `http`, `https` or left empty to disable the fallback. If the web server serves both protocols and TYPO3's default `url_scheme` is used it is strongly recommended to explicitly specify this value to avoid duplicate content. Canonical Tag (Strict mode) Enable strict mode (unknown `GET` parameters will *enabled* generate a canonical-tag to the same URL without these `GET` parameters). e.g. `/index.php?id=123&foo=bar` would generate a Canonical-Tag pointing to `/index.php?id=123` if the `cHash` is wrong or caching is disabled Canonical Tag (No MP mode) Prevent canonical links to contain mountpoint information. *disabled* Useful if some pages would count as duplicate content because of mountpoints. Publish Page Expire Time Publish expire date from the “End Date” of the page. *enabled* Currently only used for Google. Link generation Automatic generate index and up/next/prev-links. *disabled* Enable Dublin Core (DC.) tags Enable/Disable output of dublin core (DC) metatags *enabled* Description Default description of your pages. Overwritten by description of page Keywords Default list of keywords Overwritten by keywords of page Copyright info Copyright information of your page Reply-to email E-Mail address for contact Author Default author Overwritten by author of page Publisher Publisher of the website Language Overwrite language detection Rating Rating of the website Distribution Distribution of your website Revisit after Number of days between search engine visits Geo Location Geo location of your web page with latitude, longitude, region and placename PICS-label Platform for Internet Content Selection - http://www.w3.org/PICS/labels.html P3P Compact Policy Your P3P Compact Policy. More information about P3P: - http://www.w3.org/P3P/ - http://www.w3.org/TR/P3P/ - https://en.wikipedia.org/wiki/P3P - http://www.p3pwriter.com P3P Policy Url Link (full URL) to your P3P Policy File OpenGraph image width Default width of an OpenGraph image *1200c* OpenGraph image height Default height of an OpenGraph image *630c* ============================== ========================================================== ================= Some metatags also have markers which could be build in, following metatags supports markers: - Title - Description - Keywords - Copyright - Publisher Following Markers are available: ============================== ========================================================== ================= Marker Description Example value ============================== ========================================================== ================= %YEAR% Replacement for the current year 2017 ============================== ========================================================== ================= UserAgent --------- ============================== ========================================================== ================= Constant Description Default ============================== ========================================================== ================= IE Compatibility Mode Compatibility mode for Microsoft Internet Explorer ============================== ========================================================== ================= Crawler ------- .. figure:: ../Images/Constants/ConstantsCrawler.png :scale: 80% :alt: Constants Editor - Crawler Constants Editor of crawler (google) settings ============================== ========================================================== ================= Constant Description Default ============================== ========================================================== ================= Crawler Robots-Tag Enable crawler "robot"-tag (and all other settings below) *enabled* Index Should the crawler index your website? *enabled* Follow Should the crawler follow links on your website? *enabled* Archive Is the crawler allowed to archive the page *enabled* (e.g. Google cache) Snippet Should the crawler use the snippet/description *enabled* in search results ODP Should the crawler use the OpenDirectoryProject to *enabled* display the description in search results YDir Should the crawler use the YahooDirectory to *enabled* display the description in search results ============================== ========================================================== ================= Services -------- .. figure:: ../Images/Constants/ConstantsServices.png :scale: 80% :alt: Constants Editor - Services Constants Editor of services settings ============================== =============================================================== ================= Constant Description Default ============================== =============================================================== ================= Crawler Verification Verification code for Google, MSN and Yahoo webmaster tools and Web of trust Google Analytics The google analytics code for using on your site Multiple GA Codes possible, comma separated (Will not be shown in frontend if BE-user is logged in, can be re-enabled in BE-Login-Mode: plugin.metaseo.services.googleAnalytics.showIfBeLogin = 1) GA Cookie Domain Name If you want to limit the current google analytics to one domain (or subdomain) set the domain name here, eg.: - `auto` (default in google analytics) - `none` - single domain (eg. `example.com`) - subdomain (eg. `.example.com`) GA Anonymize IP Anonymize the last part of the IP *disabled* (may be required in some countries) GA Track Downloads Try to track downloads with google analytics. *disabled* See res/ga-track-download.js for more details Currently supported files: doc, docx, xls, ppt, odt, ods, pdf, zip, tar, gz, txt, vsd, vxd, rar, exe, wma, mov, avi, ogg, ogm, mkv, wmv, mp3, webm Piwik URL Url to your Piwik installation (without `http://` and `https://`) Piwik ID Tracking id of your website in your piwik Multiple Piwik IDs possible, comma separated Piwik Download & Click Domain Specifies which domains are internal domains: - single domain (eg. `example.com`) - subdomain (eg. `.example.com`) For more information visit: - https://developer.piwik.org/api-reference/tracking-javascript Piwik Cookie Domain Name Specifies the domain name for the tracking cookie: - single domain (eg. `example.com`) - subdomain (eg. `.example.com`) For more information visit: - https://developer.piwik.org/api-reference/tracking-javascript Piwik DoNotTrack Opt out users with Mozilla's DoNotTrack *enabled* browser setting ============================== =============================================================== ================= Social ------ ============================== ========================================================== ================= Constant Description Default ============================== ========================================================== ================= Google+ Direct Connect Your Google+ profile page ID see https://developers.google.com/+/web/badge/ ============================== ========================================================== ================= PageTitle --------- .. figure:: ../Images/Constants/ConstantsPagetitle.png :scale: 80% :alt: Constants Editor - Pagetitle Constants Editor of pagetitle settings ========================================= ========================================================== ====================== Constant Description Default ========================================= ========================================================== ====================== Apply tmpl-sitetitle to absolute