Saturday 19 March 2016

Onetone theme and SEO Yoast or All-in-one seo or any other

Share |

SEO and Onetone theme

I happily chose the Onetone theme from MageeWP for its simplicity and claims of SEO capability. I spent lots of hours filling up the content and polishing the site. BUT little did i know that the most popular SEO plugins like Yoast and All-in-one seo does not just work properly off the bat after installation.

What i found was that my canonical URL and other meta information was displaying wrongly on my home page. Going straight to wordpress settings in "Reading" and playing around did not help anything. I had to muck around for quite a few hours before settling on one way to do this. It is no beauty but it works.

>> This post is for those who are not setting the blog as their homepage, but is trying to use the theme's homepage. What i did was to disable the SEO plugin on the homepage, and replace with my own meta tags.

1. First you would need to disable your SEO plugin which i describe in a post. In the post i describe how you can selectively disable your plugin on the theme's home page. You should set the file path to 'wordpress-seo/wp-seo.php' if you are using Yoast.

2. In my case, I parsed the URL to only disable the plugin for the homepage.

3. Now, we can edit the theme's header.php file, and include our meta tags as we wish.


Feel free to post what worked or did not work for you.