Cleanse wordpress posts from xhtml and html warnings to improve your blog SEO using wordpress tidy-up plugin

Thursday, 1st July 2010

I have noticed that my posts has a lot of missing html tags and generally the html code is garbled and has, somewhere in the blog posts I have wrongly placed html and xhtml, tags left open and many other tiny mistakes which we usually do when we write our posts.
What makes things even worser is that I use to type my blog posts from my server shell using nanoblogger. Thereon the blog post is imported into wordpress.
The resulting garbled html has many implications on how the user visualizes this posts but maybe the most crucial consequence is that the produced xhtml output has many errors and therefore it’s not compatible to the w3c html standards.
In one of my previous posts I have talked about the natural results following a non w3c compliant html websites and how that would reduce pagerank and the overall indexing likeness and search engine interests into the particular website.
Therefore I wanted my wordpress blog to have as less errors as possible and looked for a plugin that will be able to produce information about my blog posts errors and incompatibilities with the official html standards and possible allow me to easily automatically resolve the xhtml incompatatibilities.

Some research in Google on the topic on how can I solve my post warnings and errors has led me to a nice wordpress plugin to cleanse your html garbage and errors called tidy-up
Tidy up does walk around all your posts and creates a list of xhtml incompatabilities, errors and warnings as well provides with an automated way to resolve html warnings and errors inside your blog articles
This is pretty quick and handy. Since using the full automated features of tidy up might be a good idea, I personally preferred to use the plugin in a half automated way, by requesting tidy up to report about my post issues and then following each of the warnings or errors and using the tidy button or the edit button in order to fix each of the problematic post areas.
Here is a screenshot on the simple but functional tidy up interface:

wordpress tidy up cleanse broken html

Note that in order to be able to use wordpress you will also need to install tidy on your system
Installing tidy-up in wordpress is a piece of cake and is absolutely identical to the normal way we install a new wordpress plugin:

To install download to your blog/wp-content/plugins directory and unzip the tidy-up archive:

server:~# cd /var/www/blog
server:/var/www/blog# wget
server:~# unzip

Then in your admin panel in wordpress go to:

Plugins -> Inactive and Enable the Tidy Up plugin pressing the enable button.

To start using the plugin navigate to:

Tools -> Tidy up
Now enjoy cleaning up your html from irregularities 🙂

Share this on:

Download PDFDownload PDF


One Response to “Cleanse wordpress posts from xhtml and html warnings to improve your blog SEO using wordpress tidy-up plugin”

  1. Eva Pacitto says:
    Firefox 3.5.3 Firefox 3.5.3 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv: Gecko/20090824 Firefox/3.5.3

    Thank you for sharing excellent informations. Your site is so cool. I’m impressed by the details that you have on this site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found just the info I already searched everywhere and simply could not come across. What a perfect web-site.

    View CommentView Comment

Leave a Reply

CommentLuv badge