<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Andrea Olivato - Latest Comments in Clean WordPress Database removing empty categories</title><link>http://andreaolivato.disqus.com/</link><description></description><atom:link href="https://andreaolivato.disqus.com/private_clean_wordpress_database_removing_empty_categories/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 21 Jul 2013 09:59:18 -0000</lastBuildDate><item><title>Re: Clean WordPress Database removing empty categories</title><link>http://blog.andreaolivato.net/wordpress/clean-wordpress-database-removing-empty-categories.html#comment-971286628</link><description>&lt;p&gt;Nice! i am searching Exactly....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MITUL</dc:creator><pubDate>Sun, 21 Jul 2013 09:59:18 -0000</pubDate></item><item><title>Re: Clean WordPress Database removing empty categories</title><link>http://blog.andreaolivato.net/wordpress/clean-wordpress-database-removing-empty-categories.html#comment-677853373</link><description>&lt;p&gt;Thank YOU!!!!!! a couple of years later...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">darionovoa</dc:creator><pubDate>Tue, 09 Oct 2012 20:06:24 -0000</pubDate></item><item><title>Re: Clean WordPress Database removing empty categories</title><link>http://blog.andreaolivato.net/wordpress/clean-wordpress-database-removing-empty-categories.html#comment-23521864</link><description>&lt;p&gt;Thanks a lot, your SQL is terribly useful! I had orphaned comments too (and didn't know to)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrea Olivato</dc:creator><pubDate>Thu, 19 Nov 2009 05:08:00 -0000</pubDate></item><item><title>Re: Clean WordPress Database removing empty categories</title><link>http://blog.andreaolivato.net/wordpress/clean-wordpress-database-removing-empty-categories.html#comment-23521815</link><description>&lt;p&gt;Thanks so MUCH for this post. I had a stack of tags get autogenerated by a plugin gone nuts, and ended up with over 5000 tags.. made WP sooooo slow. This fixed it for me.. I probably COULD have worked it out but Google found you first!&lt;/p&gt;&lt;p&gt;A favour in return: I had a stack of comments laying around from posts that I had deleted. The following SQL allows you to find orphaned comments&lt;/p&gt;&lt;p&gt;SELECT * FROM `wp__comments` &lt;br&gt;WHERE NOT EXISTS (SELECT ID from wp_posts where wp_comments.comment_post_ID = wp_posts.ID)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve "The IT Juggler" Ollis</dc:creator><pubDate>Thu, 19 Nov 2009 05:05:54 -0000</pubDate></item></channel></rss>