MyBB Community Forums

Full Version: MySEO, improve SEO OnPage in your forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
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
I upgraded to 1.1 and it caused "quick reply" and "quick advanced editor plus" plugin to quit working properly for some reason. I narrowed it down to the MySEO plugin file.
thx for plugin
hi,thanks for plugin and, change template only remove ''<title> </title>'' or al line <title>{$mybb->settings['bbname']}</title>

thanks sory my english not good.
(2015-02-22, 08:01 PM)Hyperspace Wrote: [ -> ]I upgraded to 1.1 and it caused "quick reply" and "quick advanced editor plus" plugin to quit working properly for some reason. I narrowed it down to the MySEO plugin file.

Download the last release and try it.
If the problem continues, please link the plugins what MySEO make not working properly and I study it.

(2015-02-23, 07:07 PM)roy Wrote: [ -> ]hi,thanks for plugin and, change template only remove ''<title> </title>'' or al line <title>{$mybb->settings['bbname']}</title>

thanks sory my english not good.

In the next version of MySEO plugin, those codes (only in the estructure of default theme) will be removed in installation and included on the uninstallation.

(2015-02-23, 11:31 AM)Samanw Wrote: [ -> ]thx for plugin

Thanks. Smile
(2015-02-25, 11:58 AM)BitLiberal Wrote: [ -> ]If the problem continues, please link the plugins what MySEO make not working properly and I study it.

Your PHP files are broken. Spaces or UTF-8 Byte-Order-Mark before/after <?php / ?>.

00000000  ef bb bf 3c 3f 70 68 70  0a 69 66 20 28 21 64 65  |...<?php.if (!de|
00000010  66 69 6e 65 64 28 22 49  4e 5f 4d 59 42 42 22 29  |fined("IN_MYBB")|
[...]
000067e0  09 24 6d 65 73 73 61 67  65 29 3b 0a 09 7d 0a 7d  |.$message);..}.}|
000067f0  0a 3f 3e 20                                       |.?> |

This will break stuff such as captcha images, XMLhttp requests, and more.

You can remove ?> entirely to get rid of the spaces at the end of file problem.

To get rid of the UTF-8 Byte-Order-Mark, you'll have to use an editor that will let you choose UTF-8 without BOM as encoding.
i tried it on my live server Sad google was not able to access sitemap , and when i deactivate this plugin now google can access site map .

v1.0 was working fine , but version v1.1 is not working .
(2015-02-25, 12:09 PM)frostschutz Wrote: [ -> ]
(2015-02-25, 11:58 AM)BitLiberal Wrote: [ -> ]If the problem continues, please link the plugins what MySEO make not working properly and I study it.

Your PHP files are broken. Spaces or UTF-8 Byte-Order-Mark before/after <?php / ?>.

[...]

I edited the release with the fix, I erased withespaces before/after <?php / ?> and converted the plugin file to UTF-8 without BOM.

Thanks. Smile

(2015-02-25, 12:13 PM)mujeebdgk Wrote: [ -> ]i tried it on my live server Sad google was not able to access sitemap , and when i deactivate this plugin now google can access site map .

v1.0 was working fine , but version v1.1 is not working .

Try the new release fixed. Smile
Thanks for the fix, it's working now.  Big Grin
master  release is 6 days  ago  Confused
Pages: 1 2 3 4 5