Moving WordPress to a New Domain Name

So there are a couple of things that you’ll need to do before to ensure a successful move of your WordPress Installation to a new domain name.

1. I’m sure you know how to copy all of the WordPress Files and Database to the new location where the new domain name has been setup. I’m not going to cover this, because I think its pretty straightforward and easy to find online.

2. After the move, you might notice that you’re unable to login to the admin interface “wp-admin”. A simply edit to the wp-config.php file will resolve that quickly. Place the following in the wp-config .php file within the root of your WordPress installation.

define('WP_HOME','http://geektank.net');
define('WP_SITEURL','http://geektank.net');

The domain name ‘geektank.net’ would be the new domain name, once the file has been modified and uploaded. You should be able to login to the admin interface at “wp-admin” again.

3. The next big issue you will find is that some plugins and images will still retain the old domain name. This is something that you will need to change manually by searching for the old domain name in your database using “phpMyadmin”.

Once I find a table with 10+ entries, I run a phpMyadmin query and do a search and replace.

update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');

Once you run the query, if you do another search you’ll won’t find the old domain name being referenced in those tables anymore.

Viola, you’re done. If you need more instruction on how to complete the above tasks. Post a comment and I will update this post!


Did you like this article?


0 Shares:
You May Also Like

QuickPwn Released for Mac OS X

The iphone-dev.org crew has released QuickPwn for Mac OS X, there is a an official torrent for the release.
Here is the long awaited “QuickPwn” for Mac OS X. You’ll see a similarity to the user-interface of PwnageTool, this is because of the great feedback we’ve had since we moved to that interface with PwnageTool 2.x.
Read More

Boeing’s unmanned A160T Hummingbird helicopter takes flight

Not the first Unmanned aerial vehicle (UAV) made. But the Boeing A160HT Humming Bird should be one of the best once further tests and simulation in combat missions is completed.
Boeing's unmanned A160T Hummingbird helicopter takes flight -

Filed under:


It's been a few ticks since we've seen Boeing send an atypical aircraft into the friendly skies, but the firm's latest helicopter has successfully completed a 12-minute test flight without so much as a pilot on board. The A160T Hummingbird unmanned rotorcraft is a turbine-powered "warfighter" that aims to provide "intelligence, surveillance, and reconnaissance coverage" in locales that could make even the most calloused veteran queasy. During its time in the air, it reportedly met every objective set for it, and while we've no idea how soon this thing will be lifting itself up, it'll eventually reach speeds of up to 140 knots and stay airborne for up to 20 hours before returning to base for a pat on the wing.

[Via The Raw Feed, image courtesy of SkyControl]

 

Read | Permalink | Email this | Comments


Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

[EnGadget]
Read More