Categories
WordPress

Simple WordPress Migration tool

There are numerous blogs and articles all over the web that will tell you how to move or migrate WordPress sites.

Here’s a link that I found quite useful, it explains the migration process (we won’t go into full details of a migration):

I have to do it regularly developing a site in one location then migrating it to it’s final resting place so not to cause any interruptions during the build process.

But what happens when you can’t get direct access to the databases? I found that with one client. They used Webcentral for hosting and insisted that they be used for hosting their new WordPress site despite them running IIS which cause issues with permalinks and 404 redirects, the final nail in the coffin was the problems it caused for an event booking system. Finally I was given the go ahead to move the site to a more suitable hosting company. The problem was Webcentral weren’t helpful at all when I asked for a database dump and there was no control panel do access the database. So I went hunting for some tools that would allow me to export the database and stumbled across a plugin called WP Migrate DB.

“WP Migrate DB exports your database as a MySQL data dump (much like phpMyAdmin), does a find and replace on URLs and file paths, then allows you to save it to your computer. It is perfect for developers who develop locally and need to move their WordPress site to a staging or production server.” – http://wordpress.org/extend/plugins/wp-migrate-db/

Since using it the one time it’s my preferred method for migrating a WordPress database, mostly because it’s extremely simple and very quick, which is not only great for me but for the client as well.

 

 

Categories
WordPress

GIF images in WordPress posts

I heard from a customer that they are having problems with a gif image in WordPress, it loads up ok and if you try to access it directly it will display but it doesn’t work in a post.

Categories
Magento

Magento pagination

…you will not beat me.

I find it a little deflating when you spend a lot of time on developing something and it just vanishes from sight. I have some nice pagination that worked outside of the toolbar a couple of days ago, but now…nothing. I’m always up for a challenge though, so let’s fix this.

Categories
WordPress

Membership solutions for WordPress

This is a quick summary of some of the Membership solutions I have found for WordPress. After looking at all the options I have tried Your Members.

Categories
WordPress

Getting started with WordPress child themes

The fastest way to get started with a customised WordPress theme is to create a child theme.

Find a theme that you can use for the parent theme, something that would make a good base, look for functionality that you would like out of your site so you won’t need to add it later.

To create a child theme the minimum requirement is a new folder in the themes directory with a basic style.css file.

Categories
Regular Expressions

“Simple” string matching fun with regular expressions

I’m still yet to get my head around the power of regular expressions.

I had a problem where I was trying to match a particular image name, only there were multiple variations.

  • _side.jpg
  • _side_1.jpg
  • _side_2_1.jpg

My regular expression looked like this ‘/_side*\.jpg$/’ but clearly there was a problem with it so I called on a friend to help me understand it. (Thanks Geoff)