Site Meter Web Dev Notes » 2008 » August

Archive for August, 2008

How To Move a Wordpress Blog to a Different Directory

Sunday, August 3rd, 2008

WordpressLast week I decided to move a blog to a different directory on my web server. Doing so actually turned out to be quite easy thanks to the way the Wordpress developers have set things up! In fact, moving your blog is easier than formatting text in Wordpress!

Please make sure you follow the steps below closely. While it is very fast and easy, you could complicate things for yourself if you do anything out of order!

“Moving the WordPress files from one location on your server to another - changing its URL - requires some special care.

Here are the step-by-step instructions:

1. Create the new location using one of these two options:
1. If you will be moving your WordPress core files to a new directory, create the new directory.
2. If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
2. Login to your blog.
3. Go to the Administration > Options > General panel.
4. In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
5. In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
6. Click Update Options.
7. Logout of your blog.
8. (Do not try to open/view your blog now!)
9. WordPress 2.0 only: Delete the folder wp-content/cache.
10. Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location.
11. If you are using Permalinks, go to the Administration > Options > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file.
12. If you have problems with missing images that you’ve uploaded, you need to change the path to the images on every post directly on your SQL database. For this, follow the instructions on Tamba2’s Tutorial “Moving your weblog inside your PC” (http://www.tamba2.org.uk/wordpress/move3)

It is important that you set the URI locations BEFORE you move the files.

http://codex.wordpress.org/Moving_WordPress

Wordpress is a very powerful tool. Find out how you can use Wordpress to build online communities!

About Web Dev Notes

Your one stop destination for anything and everything related to web development

Web Dev Notes Author(s)

Blogging Flair

New Media, Web 2.0 Channel Posts

  • 10 Ways to Make Sure Your SEO Goes Out of Its Way for You
    If they want to have success, companies should do everything they can to ensure that their SEO firm doesn't provide lousy service. Here are 10 tips to keep in mind: 1. Be realistic. Don't waste your [...]
  • Podcasting Transcription
    A Guest Post from Tishia Lee of Tishia Saves Time: When I first started offering transcription services as part of my Virtual Assistant business, transcribing podcasts was not something I [...]
  • Don't Dabble - Make A Commitment
    If you want to get the best bang for your buck, plan on podcasting for the long haul. Podcasters who “test” things out with one or two podcasts and then give up may think that they've given [...]
  • A Question of Podcasting Frequency
    This follows up on yesterday's post about not dabbling in podcasting but rather to make a commitment. Podcasting on a schedule is important when building a community and an audience. Don’t have [...]
  • Do You Twitter About Your Podcast?
    Whenever I release a new episode of Work at Home Moms Talk Radio is pop the link up on my Twitter and invite my followers to come check it out. This has brought me several first time listeners which [...]
  • Looking for Podcast Outsourcing?
    I mentioned having my podcast audio's transcribed in my last post. In case you wonder - no, I do not transcribe them myself. (Shudder the thought - I did enough transcription to last a lifetime in [...]
  • Business Podcasting Benefit: Be An Industry Thought Leader
    I often ask people 'Why haven't you started your podcast yet?' and a common reply is 'I don't feel like I'm enough of an expert to cover the topic I'm interested in.' Enough of an expert? [...]
  • Business Podcasting Benefit: More Content
    Building a business on the web requires that you generate a lot of content. Content on your website draws traffic both through search engines (people searching for your content) and through links [...]
  • Business Podcasting Benefit: Deeper Relationships
    A website visitor is just a website visitor. You can't really say that you have a relationship with someone who has only visited your website can you? But when the web visitor subscribes to [...]
  • Business Podcasting Benefit: Increased Market Exposure
    When you consider how many millions of people are walking around with iPods and other Mp3 players you have to wonder, wouldn't it be awesome if they came looking for you? Well they do. Ipod [...]

Hot Off The Press


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0