Wordpress migration: " (quotes) and ' (apostrophe) being replaced with “ and ’

I migrated from TextDrive to a Joyent Shared Accelerator and in the process I had to migrate the Wordpress MySQL database as well. After the migration the " and ’ where showing as “ and ’ respectively. It was a charset problem. Apparently the problem was that the data itself was already in UTF-8 within a Latin1 database (due to WP default charset). So I did the backup again (like this) ...

July 29, 2010

Adding a Google Search Web Element to a Wordpress theme

The newly released Google Web element: custom search is awesome. To add it to my wordpress theme (which doesn’t have a top sidebar for widgets) I had to edit (Appearance ⇒ Editor) the header.php file and add the snippet I got from Google there, at just at the end of the header.php. So the search web element is show right after the banner and before the posts. ...

September 16, 2009

Fixing "Invalid XML: too many tags" [Google webmaster tools]

I tried to use my blog feed as a sitemap in Google Webmaster Tools, but it Google complains about “Invalid XML: too many tags describing this tags” in several points in the feed. I found in several places that this due to the format of the feed, a simple change to ATOM will fix it. But I’m using a Wordpress Feedburner plugin to redirect my blog’s feed to the Feedburner one. This plugin redirects all feeds (/wp/feed, /wp/wp-atom.php, etc.) to the feedburner feed (that for some reason Google doesn’t like). ...

August 8, 2009

Changed to Sandbox theme today

I think it was about time to change theme. I opted for Sandbox, I like the clean look. I was surprised on how well the change theme procedure was, just switch theme and the sidebar (with all the widgets) it’s still there.

March 28, 2009

How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 / 2.7.x Default Kubrick Theme

I found this great tip How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme. The only problem is that the code that you should add is not properly shown in the post. He just copied the xml code verbatim in the post without escaping it and the browser doesn’t display it properly. So I’m reproducing it here for your convenience. Go to the theme editor. Appearance ⇒ Editor Click on Theme Files ⇒ Templates ⇒ Single post (single.php) Change the class of the first div to be "narrowcolumn" instead of "widecolumn" That is, replace: <div id="content" class="widecolumn"> </pre> with ...

March 9, 2009

it's unbelivable the amount of comment spam that this site gets

99.4 % of the comments are spam. Thank god that Akismet takes care of it

March 7, 2009

Useful WordPress plugin - Redirector

Very useful WordPress plugin to redirect with a “301 moved permanently” from one of your post to any url. I created a Wordpress page out of a post and I wanted to redirect everybody from the post to the the page. My first solution was to include a link to the page in the post but doing an automatic redirect is better as it allows to move the google pagerank from the post’s URL to the page URL

March 19, 2007

Wordpress: Search queries that point to your site

I’ve been using Google Analytics for a while in my site but haven’t look at the reports very closely. One thing is clear when took a look at the reports: most of the traffic come out of google searches. Then I tried to find what exact search queries the users performs to find my site. The google analytics reports for this “search terms” is in my humble opinion a little bit difficult to find. But I found via this post that the report is located at All Reports -> Marketing Optimization -> Search Engine marketing -> Overall keyword Conversion. ...

January 26, 2007

Wordpress plugins

Wordpress plugins that I’m currently using AutoMeta – Automatic Meta & Technorati Tags for WordPress Google Analyticator – for use with Google analytics Feedburner Feed Replacement – provides integration with feedburner.com PJW Mime Config – allows to change mime-types associated with file-extensions Social Bookmarks Bar – adds a bar to each post to submit to digg, del.icio.us, etc Google Sitemaps – integrates with google sitemaps

September 4, 2006

Google Sitemap Generator for WordPress v2 Final

If you host your wordpress blog and want to make it more searchable from google this wordpress plugin Google Sitemap Generator for WordPress v2 Final creates sitemaps automatically. Works for WP 2.0.4.

August 25, 2006