How to Install WordPress in Windows Localhost with XAMPP
Fri, 19/02/10 – 14:07 | One Comment

This particular method of localhost installation using XAMPP will work for WordPress, WordPress MU, BuddyPress and bbPress. Installing a localhost version of WordPress will enable you to create a local hosting environment on your PC …

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • Reddit
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Buzz
  • Print
Read the full story »
Country Living

You just never know what I’ll be up to around here. I could be quilting one day and building a barn the next. I just love living on our 10 acres with our heapin’ mess of critters.

Down Home Cooking

Cooking is really the first social networking activity humans ever learned. I love simple, good tasting, home cooked food (if it’s healthy that’s a perk!). Pull up a stool to the counter and sip some coffee while we whip up some supper together.

Family Life

Family is what life is all about. No one is going to leave this earth and wish they had spent more time at work. Some simple things to enhance your family life. “Try it, you’ll like it.”

The Moxie Mom

One of the joys of my life is getting to be a stay-at-home mom. I am so blessed to have a husband who supports me in this endeavor of raising our children. We have fun with homeschooling, 4-H, church, our farm/ranch/zoo and love living in Texas.

WordPress

My favorite blogging platform is WordPress.org. There are just so many possibilities. Want some “how-to” in layman’s terms? See some of my favorite tips, tweaks, plugins and themes that WordPress has to offer while avoiding some pitfalls.

Computers & Technology, Featured, Headline, WordPress »

How to Install WordPress in Windows Localhost with XAMPP
Fri, 19/02/10 – 14:07 | One Comment
XAMPP

XAMPP

This particular method of localhost installation using XAMPP will work for WordPress, WordPress MU, BuddyPress and bbPress. Installing a localhost version of WordPress will enable you to create a local hosting environment on your PC or USB storage device so that you can test your installation before going live. This process creates an offline live version of your WordPress blog. If you use the USB installation this also enables you to take that USB storage device to your client and perform a demonstration of the blog before it goes live. This will save you and your client a tremendous amount time and effort.

I saw a great live presentation of this process at the WordCamp Dallas 2009 given by SpamBoy. I have included a copy of his video and his PowerPoint presentation for your convenience.

0

Click here to access the PowerPoint Presentation: Creating Local WordPress Installs

Let’s dive in to our installation of WordPress in Windows localhost using XAMPP:

1. Install XAMPP www.apachefriends.org/en/xampp-windows.html

2. Download and install WordPress or WordPress MU into the htdocs (which behaves like the public-html folder) www.wordpress.org or www.mu.wordpress.org

  • Here is a great tutorial for WordPress MU XAMPP installation www.maketecheasier.com/install-wordpress-mu-in-windows-localhost-with-xampp/2009/05/02
  • For WordPress MU use sub-directories for easier installation (I couldn’t get the sub-domains to work)
  • You will need to make an adjustment to your PC for WordPress MU:
    • For WordPress MU localhost.localdomain: go to C:\windows\system32\drivers\etc\hosts
    • Add 127.0.0.7 (tab) localhost.localdomain
    • Place a “#” in front of the action to temporarily disable it
  • Edit wp-config-sample.php file

3. Import posts from live blog – Tools/export and import
4. Change permalink structure and match live blog
5. Copy and download  wp-content folders from live blog, themes, plugins, uploads
6. Reactivate plugins – except ping/post, Google, Akismet
7. Remove default installed items – post links, categories, plugins
8. Scrub links in wp_posts table:

UPDATE wp_posts
SET post-content =,
Replace(post_content, ‘www.yourdomain.com‘, ‘localhost/wordpress”);

UPDATE wp_posts
SET post_content  =,
Replace(post_content, “yourdomain.com’, ‘localhost/wordpress’);

*make sure to change your wording in the localhost and the wordpress file name to match your wording used

9. To copy the database from your blog:

  • Create new database user
  • Copy custom .htaccess settings
  • Copy database from live blog
    • Export/import using phpMyAdmin
    • Scrub links in wp_posts table (see previous step)
    • Scrub options in wp_options table:

UPDATE  wp_options
SET          option_value = ‘http://localhost/
WHERE   option_name = ’siteurl’ ;

UPDATE  wp_options
SET          option_value = Concat(option_value, ‘ LOCAL’)
WHERE   option_name = ‘blogname’ ;

UPDATE  wp_options
SET          option_value = 0
WHERE   option_name = ‘blog_public’ ;

I had header errors whenever I tried to save anything in the locahost environment. Try these two great articles and see if they help remove your errors. The first one was a fix for me.

  1. www.wordpress.org/support/topic/267604
  2. www.hongkiat.com/blog/wordpress-error-warning-cannot-modify-header-information

Like this blog post? buy me a coffee or send me a tip!



The Moxie Mom Blog!
If I can do it! You can do it too! Celebrating Texas country living, down home cooking, family life, figuring stuff out and being a stay-at-home moxie mom computer geek.

followmeontwitter How to Install WordPress in Windows Localhost with XAMPP Blessings,
Wendy Merritt
The Moxie Mom

XXO (A kiss on each cheek and a hug)

If you enjoyed this article get updates via my RSS feed.The Moxie Mom Blog RSS feed

Popularity: 1% [?]



How to Add Your Blog to Facebook Notes
Thu, 3/12/09 – 3:52 | 4 Comments
How to Add Your Blog to Facebook Notes

Your Blog’s RSS feed is a valuable tool in sharing your blog with Facebook. Here’s how to add your blog to Facebook Notes.

You will need to know your blog’s RSS feed address. In WordPress this …

Redneck Truisms
Mon, 30/11/09 – 13:57 | One Comment
Redneck Truisms

My Aunt Bonnie sent this to me this morning. It just cracked me up and so I had to share it with you. Enjoy these Redneck truisms!
Redneck Yard Swing

A Redneck passed away and …

Integrating WordPress & Social Media
Mon, 16/11/09 – 11:41 | No Comment
Integrating WordPress & Social Media

Once a month in the Dallas/Fort Worth area there is a Meetup that shares an interest in learning or sharing practical applications of social in your business. The DFW Social Media Marketing – Education & …

Daily Quotes for Microsoft Outlook
Fri, 6/11/09 – 19:52 | No Comment
Daily Quotes for Microsoft Outlook

Would you like to get Daily Quotes for your Microsoft Outlook?
Like many of you I have switched from a paper planner to a digital planner. My phone syncs with Microsoft Outlook. My iPod Touch syncs …

The Poor Bride
Thu, 5/11/09 – 21:38 | 7 Comments
The Poor Bride

If you live in the Dallas/Fort Worth area you, no doubt, have heard of  The Poor Bride from Waxahachie, Texas. She has been on local radio, in the newspapers and has appeared as a guest …

Reduce Desktop Clutter with Fences
Mon, 26/10/09 – 18:19 | One Comment
Reduce Desktop Clutter with Fences

I frequently update my Windows PC desktop with a new photo so I can relive my precious memories or enjoy something special to me. Since I take the time to do this I like to …

My Lashes to Riches Entry
Fri, 23/10/09 – 22:02 | One Comment
My Lashes to Riches Entry

When was the last time you relived something from your childhood? When I was a kid we used to have these “family times” (at the time I thought they were really dorky…but in hindsight they …

Calendar Printing Assistant for Outlook
Wed, 23/09/09 – 10:29 | No Comment
Calendar Printing Assistant for Outlook

I also found this helpful video on YouTube for you. Look past her voice and enjoy her tips.
For all the wonderful innovation that Microsoft provides, I think that printing an Outlook calendar is one of …

Can You See What I See?
Tue, 1/09/09 – 13:41 | One Comment
Can You See What I See?

Today while reading my Bible and enjoying breakfast I made  a startling discovery. Let me back up a little bit here. Yesterday I had been working in my back porch garden for a couple of …

Installing ionCube on GoDaddy Hosting
Tue, 11/08/09 – 18:54 | 2 Comments
Installing ionCube on GoDaddy Hosting

I got a piece of junk mail from GoDaddy the other day that caught my eye. GoDaddy was announcing that it is now offering WordPress Hosting. Pretty sweet. I thought I’d give it a …