HOW TO: Build a XHTML Valid WordPress Blog with DISQUS Plugin [Download]

Update (08 June, 2010): A copy of DISQUS WordPress plugin version 2.33.8752 with the XHTML errors fixed is available for download at the bottom of this post. Enjoy :)


The last couple of days, I was reading about how to get your site to rank higher in Google. There are many tweaks you can do to insure that your site is Google friendly. One of the controversial topics was whether having your pages XHTML/HTML valid helps in SEO ranking or not. It’s clear that if your site has made a mess out of the HTML code, a search engine spider might have a tough time reading and parsing your page, which might lead to errors and in turn lower ranking. So, I decided that it’s better to be safe than sorry, and started converting the entire blog to XHTML 1.0 Transitional valid.

Thoughtpick Valid XHTML

Thoughtpick Valid XHTML

Let’s start…

The main issues targeted by this post

On the Thoughtpick blog, we have a few plugins that were causing XHTML validation issues. Mainly:

  • DISQUS Commenting System: At least 4 or 5 XHTML validation errors were generated by this plugin. The solutions are listed below.
  • WordPress 2.8+ “role” problem, and how to fix it.
  • Youtube and Vimeo embed object issues: the <embed> tag is invalid for XHTML 1.0, to fix the issue, I wrote a small function.

interview140 with @MattUK – SEO and SM Expert

Interview 140 Brief: During our research and while looking into different profiles on Twitter, we stumbled upon a certain trend being carried out by a few great Twitter lovers who have the ability to use Twitter in a way that makes the world a better place! Thus, the idea of Interview in 140 characters came into play! We decided to pick one Twitter user every once in a while and interview him/her about different topics of interest to the whole Twitter community and us as well.

Thoughtpick's twitter interviews...

Thoughtpick's twitter interviews...

A line about the interviewee:

Matt Sawyer is a search engine optimization and a social media expert. He works at Datadial, a London based web design and marketing agency. He is in charge of the company’s blog where he constantly delivers insightful information regarding Search Engine Optimization (SEO) and Social Media (SM).

With a staggering 26,771 followers on Twitter and more than 2,900 quality tweets, one can figure out that @MattUK is an excellent source for SEO and SM advice.

He participated in the Search Marketing Expo that took place last month and summarized the outcome in a – must read – blog  post.   Search Marketing Expo is an event where SEO experts gather in one place to discuss the latest trends and issues regarding internet search and current Web marketing trends.

@MattUK: "For me social media is less about delivering visitors, more about delivering influencers..."

@MattUK: "For me social media is less about delivering visitors, more about delivering influencers..."

Interview140 Analysis and Lessons:

The internet is a very competitive medium; we all know that there is no use of a web site if no one visits it. We all aspire to get our web pages to the top of Google results. We work hard trying to master every possible technique to make our pages easier to be found and accessed.

Social media has revolutionized the way we perceive web today. Google is no longer solely monopolizing your web site visitors. Social bookmarking and networking sites can be a very big source of traffic today. We have experienced this first hand here on Thoughtpick Blog through our stats, with websites like Stumble Upon, Mixx, Reddit, Digg and Twitter forming a significant portion of our blog visitors.

Digg is bloggers’ Hollywood

Real life celebrity glamor is not that different from that over the Internet. As a Web marketer, you are probably continuously looking for ways to promote your blog to a celebrity-like status. Once it becomes a star, your website rank would spike. But making celebrities is a tough job, isn’t it? You definitely won’t be […]

©2010 thoughtpick, copyrights reserved.