Table of Contents
SEO Metatag Info
Description
Editing and outputting description, keywords and robots meta tags for search engines
Meta tags are still very important for SEO (search engine optimization) and social media posting. For example, if you don't have the description meta tag for your blog post, Facebook won't display the page description. This makes these tags crucial for any blog.
Author: Hubert
Licence: GPL v2
Plugin Features
- Single Entries - Editing and output of description, keywords, and robots meta tags
- Static pages - Editing and output of description, keywords, and robots meta tags (see the instructions for integration on static pages)
- Categories - Output of description, keywords, and robots meta tags
- Archives - Output of description, keywords, and robots meta tags
- Tags - Output of description, keywords, and robots meta tags
- Canonical - Output of the canonical meta tag (selectable)
- Title - Output of pretty titles for categories, archives, and tags pages (selectable)
- Title - Output of the title meta tag (selectable)
- Tries to make pages unique by appending ‘page #nn’ or ‘comments’ to titles and descriptions
Language Packs
english (default), Italiano (contributed by eagleman), Deutsch (contributed by Arvid Zimmermann), all others by Fraenkiman
Integration on static pages
In order for this plugin to be able to edit metadata on static pages, the file admin.static.write.tpl in the directory /admin/panels/static/ must be modified.
Look for clue {*here will go a plugin hook*}
in about line 42
and place the following code below it:
{action hook=simple_edit_form}
. Then it should look like this:
... rows="20" cols="74">{$content|default:$smarty.request.content|htmlspecialchars}</textarea><br /> {*here will go a plugin hook*} {action hook=simple_edit_form} {* <<<<<========== ADDED SEO Metatag Info <<<<<========== *} </p> ...
Optional settings
Additional valid characters (e.g. german umlauts ÄäÖöÜü) can be specified for the “Description” and “Keywords” meta tags by changing the “$keep_chars” variable.
To do this, open the plugin.seometataginfo.php file in the plugin directory with an editor. Around line 31, find the variable $keep_char = “”;
and change it as follows:
$keep_char = "ășțîâÄäÜüÖöß";
More plugin configuration switches and their description can be found directly in the plugin.seometataginfo.php file and in the Hubert’s World archived page.
Download
Changelog:
2023-01-21 (V2.2.3)
- fixed PHP error in is_contact(); Code formatting, Many thanks to Arvid
- Added more language files
2022-10-12 (V2.2.2)
- Fixed under PHP 7.4, Methods with the same name as their class will not be constructors in a future version of PHP
- Added Metadata the name of the document's author
2022-08-28 (V2.2.1)
- Fixes CVE-2015-4399 reported by Igor Kromin