SEO Metadata extension for phpBB

  • 1 min read

SEO Metadata extension for phpBB

Build Status Latest Stable Version Code Quality License

Add Open Graph, Twitter Cards and JSON-LD data in posts.

If available, it will dynamically generate and include the following data inside the <head> tag:

Support

Meta description:

<meta name="description" content="...">

Open Graph:

<meta property="fb:app_id" content="...">
<meta property="og:locale" content="...">
<meta property="og:site_name" content="...">
<meta property="og:url" content="...">
<meta property="og:type" content="article">
<meta property="og:title" content="...">
<meta property="og:description" content="...">
<meta property="og:image" content="...">
<meta property="og:image:type" content="...">
<meta property="og:image:width" content="...">
<meta property="og:image:height" content="...">
<meta property="article:published_time" content="...">
<meta property="article:section" content="...">
<meta property="article:publisher" content="...">

Twitter Cards:

<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="...">
<meta name="twitter:title" content="...">
<meta name="twitter:description" content="...">
<meta name="twitter:image" content="..">

JSON-LD:

<script type="application/ld+json">
{
	"@context": "http://schema.org",
	"@type": "DiscussionForumPosting",
	"@id": "...",
	"headline": "...",
	"description": "...",
	"image": "..."
}
</script>

Dependencies

  • PHP 5.6 or greater
  • phpBB 3.2 or greater

Installation

  • Download the latest release
  • Decompress the *.zip or *.tar.gz file
  • Copy the files and directories inside {PHPBB_ROOT}/ext/alfredoramos/seometadata/
  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Enable and confirm

Configuration

  • Go to your Administration Control Panel > Extensions > SEO Metadata settings
  • Change settings as needed
  • Click on Submit

Uninstallation

  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Disable and confirm
  • Go back to Manage extensions > SEO Metadata > Delete data and confirm

Upgrade

  • Uninstall the extension
  • Delete all the files inside {PHPBB_ROOT}/ext/alfredoramos/seometadata/
  • Download the new version
  • Install the extension