Making the decision to move my blog from http://www.courseladder.com to http://www.golfballdriver.com was a big one, and a good one, and it taught me a lot about learning how to relocate your WordPress blog to a new domain name under the same hosting provider. Course Ladder suited me for a while, but from an SEO standpoint it was not a good domain name for me to stick with over a long term and I am glad for the change.
Golf Ball Driver is better than Course Ladder because…
- “Golf” in the domain name
- All domain words are highly relevant
- Direct golf product tie in
- It makes sense. What am I? A golf ball driver!
- The double entendre between the products and the persona.

What You Need to Do:
The first thing that you want to do is to create a new add on domain for the new domain name.
The next step in the process is to copy the entire contents of the old domain folder, which includes your entire WordPress blog, into the brand new domain folder within the same hosting area.
Next, there are a couple of SQL statements that you need to run:
* First, to update your WordPress options with the new location of your blog, the following SQL command needs to be put in:
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
Next, you are going to need to fix the URLs of your posts and pages on WordPress. The URL values are stored as absolute URLs rather than as relative URLs, so you need to use the following SQL query to change them.
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
If you have linked internally at any point within your blog posts or your pages using absolute URLs, then this links are going to be pointing to the wrong locations after you change the location of your blog. You need to use the following SQL commands in order to fix all of the internal linking in all of your WordPress posts and pages.
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
Once you have put all of these SQL queries into action, the next step is to browse through as much of your WordPress blog as you can in order to make sure that everything is in good working order. You are also going to need to login to your WP Administration section because the authentication cookie will become invalid when you change domains.
Now you can delete the old folder contents so that your blog is not appearing in two different places.
In order to 301 redirect all old links from the old domain to the new domain, place a single file .htaccess into the now empty folder. You want to be sure to 301 redirect else you will permanently lose any hard earned links you have developed. Here is what the file should contain:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.old-domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.old-domain.com
RewriteRule ^/?(.*)$ "http://www.new-domain.com/$1" [R=301,L]
Finally, update your WordPress blog to have the new blog name in your title.
The process is relatively simple once you have a feel for what needs to be accomplished. Above all else, it is vital that you avoid upsetting your linking structure in the process. Make sure that all of your links are still valid and working after you make the big move, and your blog should be just fine, and more importantly, better off with an improved domain name.
Originally posted 2009-02-05 09:45:03. Republished by Blog Post Promoter
Related Posts -
8 Wordpress Blog Theme Design Considerations Most blogging platforms offer a wide variety of different themes to chose from, and most can be altered and edited to suit your needs, or left alone exactly as they are. Some themes are plain and dull while others are colorful, modern and inspiring. There are thousands of themes out...... -
Finovate Startup 2009 Live Twitter I am attending Finovate Startup 2009. It is an action packed 1 day format which I belive will lend itself perfectly to a live twitter. Stay tuned it should be an amazing day. http://twitter.com/BlogTrafficExch In the break I have scheduled some talks with SimplFi, Mint, and Calendar Budget. I am...... -
10 Benefits of Hosting your Own Blog If you want to create an edge over many of the other bloggers on the web, then one of the best things that you can do is host your own blog. There are a number of benefits of hosting your own blog over having some other service host your blog....... -
Advantages of Using Wordpress to Publish a Newspaper Blog If you want to have a blog or website that's in newspaper format, Wordpress is the ideal medium. There are many other services you could use, but because Wordpress is so user friendly it's easy to set up your blog to look like a newspaper (or a website, or whatever...... -
Joining a Blog Carnival Joining a blog carnival is capable of allowing you to improve your blog. Have you ever heard of what a blog carnival is all about? Let us go into what it takes for you to join a blog carnival including what the benefits are for participating in a blog carnival.......
Related Websites -
Googlebot, Robots.txt Sitemaps and Wordpress Plugins It's a bit of a mouthful for a title I know, but I hope this post will be useful for a number of reasons. Recently, my posting frequency on this blog has been a lot lower than normal because I have been involved in setting up an offline business as...... -
10 Questions I Would Ask Before Launching A Ministry I’ve had some more time to prayerfully think about my first response for advice on starting a ministry. If you haven’t listened to my podcasts on How to Steward A Prophetic Call Part 1 and How to Steward a Prophetic Call Part 2, you’re welcome to do it. 10...... -
Smosh iShut Up App Apple iPhone Application Review iShutUp available for iPhone and iPod Touch (3rd generation with mic) now in the app store! Fun for everyone: bit.ly SUBSCRIBE TO SMOSH at www.youtube.com ForAll The Latest Releases & Pre-orders for Transformers, Marvel, DC, GI Joe, TMNT, and More Visit www.bigbadtoystore.com Subscribe to my Vlog Channel at http...... -
Transformers ROTF Cyber Toy Apple iPhone App Review My Review of the Transformers ROTF Cyber Toy Apple iPhone App. ForAll The Latest Releases & Pre-orders for Transformers, Marvel, DC, GI Joe, TMNT, and More Visit www.bigbadtoystore.com Subscribe to my Vlog Channel at http Twitter Me! www.twitter.com Follow Me on Dailybooth at www.dailybooth.com My Blog, Videos, Updates, News...... -
Eminent web domain Do you have a website? If you do, odds are you're promoting it -- submitting it to search engines and link directories, promoting it on traffic exchanges, submitting e-zine ads, posting in forums. Promotion is a lot of work. The result of your efforts is usually traffic to a particular......
