Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.75k stars 886 forks source link

Conflict with an OBOX theme #538

Closed KristyEwing closed 10 years ago

KristyEwing commented 10 years ago

I am attempting to use the WordPress SEO plugin on a website using a theme made by OBOX. The plug-in, although copacetic with the site's other pages, does not play well with a custom page that OBOX refers to as a "Services" page. See http://automotive-experts.com/car-maintenance-and-repair/

I'd like to be able to use Wordpress SEO. Any suggestions?

jrfnl commented 10 years ago

Your issue is unclear. Please clarify.

KristyEwing commented 10 years ago

Thanks for your reply.

To be clear, the problem appeared to be with a custom template page on an OBOX theme that I am using. All the pages were working fine with the plug-in turned on with the exception of one custom template page - which would not load at all. When I turned off the plug-in all the pages on the site loaded fine.

However, as it turns out the problem may have been caused by a mismatch between the page name and it's slug. Trashing that page and creating a new one dissolved the problem and everything is working fine now.

In the future IF we decided to not use WordPress SEO, our webmaster would like to know how to cleanly delete the plugin files from the database? What tables do we take out, if we want to do more than just deactivate it?

barrykooij commented 10 years ago

WordPress SEO doesn't create any custom tables, so there's no need for deleting database tables. WordPress SEO also deletes all options it created if you uninstall / remove the plugin via the WordPress backend.

Since your problem is fixed, I'm closing this issue.

jrfnl commented 10 years ago

@KristyEwing @barrykooij It's true that WP SEO does not create any tables and deletes the options on uninstall, however it currently does not delete any post/page specific SEO data. (i.e. the SEO post title, post description etc which you can enter for each post/page).

If you also want to remove these, you need to run the below sql queries on your database (and don't forget to replace the placeholder #YOURTABLEPREFIX# with your own table prefix).

DELETE FROM #YOURTABLEPREFIX#_postmeta WHERE meta_key LIKE '_yoast_wpseo%';
DELETE FROM #YOURTABLEPREFIX#_postmeta WHERE meta_key LIKE '_wpseo_video%';
barrykooij commented 10 years ago

@jrfnl Thanks, I've created an issue so we can create this functionality in the future.

@KristyEwing For now running those queries will do.

jrfnl commented 10 years ago

@KristyEwing /cc @barrykooij

Oh and one more:

DELETE FROM #YOURTABLEPREFIX#_options WHERE option_name = 'wpseo_taxonomy_meta';