From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status beta

AutoKeywords screenshot.jpg
DescriptionTemplate:Extension#description MediaWiki extension for automated meta keywords
Author(s)Template:Extension#username (Abhi M Balakrishnantalk)
Latest versionTemplate:Extension#version 0.1 (08 December 2012)
MediaWikiTemplate:Extension#mediawiki 1.20
PHPTemplate:Extension#php 5.3
LicenseTemplate:Extension#license GNU General Public License 3.0
Download Project page
Download snapshot
Git [Help]

Browse source code
View code changes
Note Note: No localisation updates provided by Translatewiki.nettranslatewiki.net.

ExampleTemplate:Extension#example Secpedia
seo, meta, keywords
Hooks usedTemplate:Extension#hook

Translate the AutoKeywords extension if it is available at translatewiki.net

Check usage and version matrix.

Automatically adds meta keywords to articles according to current page, categories and with pre defined set of keywords.


Adds meta keywords to all Mediawiki pages automatically.


  • Download and place the file(s) in a directory called AutoKeywords in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/AutoKeywords/AutoKeywords.php";
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
  • Copy the AutoKeywords directory into the extensions folder of your MediaWiki installation.
  • Add following lines to your LocalSettings.php file towards the end:

$CommonKeywords = "keywords, that are, relevant, to your site, in comma separated values"; require_once("$IP/extensions/AutoKeywords/AutoKeywords.php");

  • See Special:Version and confirm the presence of AutoKeywords under "Installed extensions", "other" category
  • Clear the cache of your browser
  • Reload any Mediawiki page
  • Check the HTML source and confirm the presence of following line before </head>:

<meta name="keywords" content="sitename, article name, category name 1, category name 2, keywords, that are, relevant, to your site, in comma separated values" />

Configuration parameters[edit]

$CommonKeywords = "keywords, that are, relevant, to your site, in comma separated values";
Change it according to the requirement.