My application for GSoC 2010

Problem

Currently, if you want to move your WordPress install to a new host and keep the same domain, you only need to move all the files (WordPress Core, Themes, and Plugins), and then export/import the database. It’s pretty straight forward, but still more complex than many users are capable of.

However, if you want to change the domain (even without moving to a new host) you have to export the database, do some search and replace on the .sql file, and then re-import the updated database. Even then, if the new domain has a different number of characters in it than the old one did, you can run against problems if any of the places you replaced the name happened to be inside a serialized array (almost all the options, including things like widget settings, text widget text, etc).

The goal of this project would be to make a these kinds of transitions simple and smooth. If only the domain is changing, then when the user updates the WordPress URL we would update internal links in their posts, settings, image urls, etc. If they are moving to a new host, allowing them to install WordPress at their new host and enter their credentials for their old host (WordPress admin credentials as well as FTP credentials) and WordPress would simply import everything (posts, settings, uploads, theme, plugins, etc).

There are 3 possible cases

  1. Change the domain on the same host.
  2. Move to a different host.
  3. Change the domain and move to a different host.

Change the domain on the same host

This basically requires finding every occurrence of the old domain name in the database and change it to new one. We may face problems when the data is stored in a serialized array, so I’m first going to unserilaze the data from each row, make the necessary changes and the then put it back in the database.

Move to a different host

I will ask the user to install WordPress on his new host, collect the ftp details from the user. I will then use these ftp details to fetch the details about the database and drop all the tables. I will then dump the database on the old host, transfer it to the new host via ftp and then import it to the new database and then I will copy wp-content directory via ftp.

Change the domain and move to a different host

I will first move the blog to the new host as described in case 2 and then change the domain name as described in case 1

Plugin, theme, or core: I would like to develop it as a plugin, as most of the users might not need this option.

Free Themes

SWIFT is now wordpress MU compatible

There were some problems with the swift options page when used on WordPress MU, I have modified the code to make SWIFT compatible with WordPress MU. Thanks to edelwater of http://almanac.farmvillechicken.com/ for his help with the code. Apart from WordPress MU support, Improvements in this version include Fixed the image resizing problem reported here All the options have been [...]

SWIFT

Need beta testers for the latest version of SWIFT

Hello Swiftler’s, I need your help. I made some major changes to the back-end of the theme. Earlier each option of the SWIFT was stored in a separate variable, that’s 200+ records related to the swift in the options table. Though mysql database can handle such number of records easily, it’s not a good practice. [...]

How to

A complete guide to integrating wordpress and vBulletin

As your blog grows, you might want to build a community around it. If vBulletin is your choice, this guide is for you. Importing WordPress users to vBulletin 4.0 forum If there are lot of users already registered on your blog, It’s a good idea to start the forum with those users already registered on the forum. Unfortunately there [...]

News

SWIFT is now XHTML valid

Here are few reasons

  • Validation is a sign of professionalism.
  • Many engines cannot properly catalog or index a site that has serious HTML errors. This can greatly reduce the amount of traffic your web site receives from search engines. With SWIFT you don’t have that problem.

[...]

Theme Development

Modified version of get_the_category to limit the number of categories displayed.

Unfortunately WordPress functions get_the_category(), the_category() do not take any arguments and display all the categories the post is filed in. I wrote a small custom function during the development of swift to echo a specific number of categories a post is filed in. I hope this will help the fellow theme developers

SWIFT

SWIFT needs your help before I make it translation ready

I need your help before I start working on it. SWIFT has lot of options and it might be difficult for a newbie to figure what a particular option does. Even though I have described each option, they might not be clear enough as I lost the perspective of a regular blogger after working on it for 6 months.

Wordpress

A common misconception about updating themes in wordpress

Usually updating a software means replacing the old files with the new ones, but there is a better way to do it when it comes to wordpress themes. The main advantage of following the procedure described in this post is you can quickly switch back to the old version of the theme if you find any problems with the new version or if it clashes with any plugins you are using.

News

A major update of SWIFT to solve problems with thumbnail and file permissions

If you check the support forum and the comments on this blog, One question that’s asked again and again, One thing that most of the Swiftler’s have trouble with is thumbnails, which in turn is due to file permissions. version5.1.0 solves the above problem by moving the cache folder and the custom-style.css to uploads/swift_custom folder [...]

News

version 5.01 is out with some bug fixes.

The following bugs are fixed in v5.01 Blank screen after posting a comment. { Found  by Alexander Gieg } Footer scripts bug. Custom color of block quote. Page menu sub-pages showing underneath the categories navigation menu. [download id="1"] If you have any suggestions for new features or want to request a new feature feel free [...]

Free Themes

SWIFT version 5.0 is now available

Hello Swiftler’s, SWIFT version 5.0 is out after a long wait.Lot of care was taken in designing and implementing every feature in the theme. I can proudly say that SWIFT is the best WordPress theme available. Thank you all for your continuous support, v5.0 wouldn’t have been possible without your support. Special thanks to Dawn [...]

Page 2 of 4«1234»
Download SWIFT