MyBB Community Forums

Full Version: How I fixed duplicate meta tags from the SEO plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had to discover a way to correct the duplicate meta tags created by the current SEO plugin.

so, find this in seo.php
			$meta_tag = "\r\n" . '<meta name="description" content="'. $description .'" />' . "\r\n";

and change to this:
			$meta_tag = "\r\n" . '' . "\r\n";

it will insert a blank space in your header so that you can see it's working.


Now, since we need meta tags to make googlebot's job easier, grab this excellent plugin

http://mods.mybboard.net/view/dynamic-metas-for-mybb-14

Personally, I don't like having global keywords, so I just left them blank.