Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MySEO, improve SEO OnPage in your forum
#1
The MySEO plugin for MyBB combines and installs everything you need to optimize your SEO OnPage in your forum, improve your position in major search engines like Google, Bing, or Yahoo, and improve social media integration with social networks like Google+, Facebook or Twitter. For example, adding meta keywords, meta descriptions, best titles, etc.

  • Meta keyword tags.
  • Meta descriptions.
  • Visual optimization of <titles>.
  • Verification of Google, Alexa, Yahoo and Bing.
  • Allows prevent user profiles, data and websites being indexed.
  • Apply change frequency and priority to sitemaps (requires Google SEO).
  • Translation of 404 Widget Google SEO, only for spanish forums (requires Google SEO).
  • Robots.txt completely adapted to not index URLs useless.
  • Settings for the extended tweets system.
  • Settings for the integration of Facebook Open Graph protocol.
  • Settings for the social integration of Google+.
  • Verification website on Pinterest.
  • NoFollow for every external link.

Will convert things like this:
[Image: L2agGob.png]
[Image: 3i6UbnI.png]

On this:
[Image: M2ajMql.png]
[Image: LJkB0EG.png]

Quote:- Changelog v1.1


  • Fixed small bugs.
  • Rel="nofollow" to urls in posts without core edit.
  • Filter to not apply rel="nofollow" to certain urls.

- Changelog v1.0


  • Meta keyword tags.
  • Meta descriptions.
  • Visual optimization of <titles>.
  • Verification of Google, Alexa, Yahoo and Bing.
  • Allows prevent user profiles, data and websites being indexed.
  • Apply change frequency and priority to sitemaps (requires Google SEO).
  • Translation of 404 Widget Google SEO, only for spanish forums (requires Google SEO).
  • Robots.txt completely adapted to not index URLs useless.
  • Settings for the extended tweets system.
  • Settings for the integration of Facebook Open Graph protocol.
  • Settings for the social integration of Google+.
  • Verification website on Pinterest.
  • NoFollow for every external link.

- How to install MySEO:
Like all other plugins.

- Update from v1.0:
In previous versions of MySEO, to implement the NoFollow system is needed to manually edit core file the file class_parser.php to make it work. Now it is no longer necessary. To remove these changes, find this code in /inc/class_parser.php:

/* MOD MySEO
    Original code:
    $name = preg_replace("#&amp;\#([0-9]+);#si", "&#$1;", $name); // Fix & but allow unicode
    $link = "<a href=\"$fullurl\" target=\"_blank\"{$nofollow}>$name</a>";
    return $link;
    */

    global $mybb, $settings;
    $urldelforo = $settings['bburl'];
    $buscar_procedencia = strpos($fullurl, $urldelforo);
    $name = preg_replace("#&amp;\#([0-9]+);#si", "&#$1;", $name);
    if ($buscar_procedencia === false) {
    $link = "<a rel=\"nofollow\" href=\"$fullurl\" target=\"_blank\"{$nofollow}>$name</a>";
    return $link;
    } else {
    $link = "<a href=\"$fullurl\" target=\"_blank\">$name</a>";
    return $link;
            }
    /* MOD MySEO */

Replace it by this:
$name = preg_replace("#&amp;\#([0-9]+);#si", "&#$1;", $name); // Fix & but allow unicode
$link = "<a href=\"$fullurl\" target=\"_blank\"{$nofollow}>$name</a>";
return $link;

Ready.

- Optimize code of templates:
So that no confusion in your templates (eg title codes that already brings MyBB, if not removed may have duplications), follow these steps:

In template index:
Remove code tags <title> </title> and their content. Eg:
<title>{$mybb->settings['bbname']}</title>

In template forumdisplay:
Remove code tags <title> </title> and their content. Eg:
<title>{$mybb->settings['bbname']} - {$foruminfo['name']}</title>

In template showthread:
Remove code tags <title> </title> and their content. Eg:
<title>{$thread['subject']}</title>

In template member_profile:
Remove code tags <title> </title> and their content. Eg:
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>

- Install Google SEO Extras:
(If you do not want to install these improvements, simply ignores these instructions). MySEO brings standard configurations to improve and refine the use of Google SEO Plugin.
The improvements are:
  • Add the frequency change to sitemaps (a suggestion to Google to revisit your forum to see the new content, very well suited)
  • Add the URL's priority to sitemaps, almost obligatory by various reasons
  • Remove NoFollow system of Google SEO plugin (to not affect the MySEO the plugin).

To make these extras work, you must replace certain files from Google SEO, for that you need download the Extras files for Google Seo, copy and paste files into the root folder of your forum MyBB. Ready!

- How to uninstall MySEO:

For proper identification, ALL the codes entered by the plugin are surrounded by the comment
<!-- Site optimized with MySEO 1.0 -->

To clear the codes (either to uninstall or modify the code) you just have to access the following templates and delete them, including html comments:
  • forumdisplay
  • footer
  • index
  • headerinclude
  • member_profile

Download:
Mods site: http://community.mybb.com/mods.php?action=view&pid=359
GitHub: https://github.com/bit-dev/MySEO/releases/latest
Reply


Messages In This Thread
MySEO, improve SEO OnPage in your forum - by BitLiberal - 2015-02-10, 12:39 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)