How to Paste from Microsoft Word

During the “21 Tips From the Organizers” segment at WordCamp Detroit, my buddy Anthony talked about pasting from MS Word the “right way.” Someone I met at the conference asked if I knew how to do this.

Sure do!

The Background

When you copy text from Microsoft Word (or a webpage), the clipboard also grabs hidden formatting instructions. This allows you to bring the formatting along with the text when you paste it.

Sometimes (but not always*) these invisible instructions confuse WordPress’ TinyMCE editor and your post “looks funny.” Yes, that’s the technical term.

When it happens, you the HTML view will show extra markup.  If you know HTML it’s frustrating and you can clean it up. If you don’t, it’s just frustrating.

So, how do you prevent this problem?

Option 1. Use the “Paste from Word” tool (easier)

  1. Copy the text from MS Word.
  2. If your toolbar appears as one row, you need to click the circled icon to expand the “kitchen sink.”
  3. Click the “Paste from Word” icon in the second row.

    A box will pop up.
  4. Click in the box and paste your text there.
  5. Click “Insert”
  6. You’re done.
Option 2. Paste into a plain text editor first
  1. Copy the text from MS Word.
  2. Open a basic text editor like Notepad.
  3. Past the text into a blank text editor.
  4. Press Ctrl-A to select all the text in the editor.
  5. Copy the text again.
  6. Paste the text into the TinyMCE editor window on your WordPress site.

This method is repeatable, reliable, and strips ALL the formatting from the text to be pasted. It takes longer, and sometimes you want to keep your formatting.

If you’re serious about your writing, you might just want to forgo MS Word and take a look at the Full Screen mode.

Happy blogging!

*I think this was more likely to happen with MS Word 2003 and older versions of WordPress.

What to do if “WordPress can’t create an .htdocs file on my Mac”

One of the first things I wanted to do when I first got my MacBook was to install WordPress locally to use it as a development sandbox.

Even after following the tutorial at WP Candy I couldn’t get WordPress to work perfectly on the Mac. I uninstalled MAMP and tried using XAMPP, which I had used successfully on my PC. I had the same problem with both. First, you are not alone. (I was prompted to write this post when an EXPERIENCED developer friend had problems configuring WordPress properly on his brand new MacBook Air.)

After several futile Google searches and digging through the forums ( I came up with this solution.


  • WordPress asks for an FTP password when trying to update a plugin. It wouldn’t take my login password, so I reverted to doing a manual update. It worked, but it’s not what we want.
    WordPress asks for FTP credentials
  • If you try to update your permalinks, WordPress chokes while trying tocreate an .htdocs file. It complains about not having permissions to write to the file:
    WordPress can't write to .htdocs file


Here is how I fixed the problem. I used the terminal to do this (I worked as a Unix Sysadmin for several years). (If there is enough feedback I might do a follow-up on doing it using the GUI an a mouse.)

1. Find the directory where the problem lives:

$ cd /Applications/XAMPP/xamppfiles


2. Check the permissions and ownership on the  htdocs folder:

$ ls -l

htdocs directory permissions

3. Find the username that your Mac knows you as. In my case it’s icet. I’ll use myuser for this example. Change the user and group of the folder. One command will do it; you will probably need to use sudo.

$ whoami
$ sudo chown -R myuser:staff htdocs

Change ownership of the htdocs directory

We’re getting closer but Apache still can’t write to the htdocs folder. We need to tell XAMPP to run Apache as someone else

5. Change to the directory where the configuration file lives:

$ cd /Applications/XAMPP/xamppfiles/etc/

6. Make a backup of the configuration file, then change permissions of the configuration file so you can edit it:

$ sudo cp httpd.conf httpd.conf.bak

$ sudo chmod 777 httpd.conf

7. Edit the User and Group lines in the httpd.conf file. I use vim because I’m already at the command line. The Mac’s built-in TextEdit application will work too.

$ sudo vi httpd.conf

7.1. Find the User and Group lines

# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User daemon
Group daemon

7.2 and change them so it looks like this (replace icet with your username from step 3):

# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
# User daemon
# Group daemon
User myuser
Group staff

httpd.conf after the fix

8. Stop and restart XAMPP

That should do it. You have given Apache the ability to write into the WordPress directory. It has worked fine for me for months.

Don’t do this on a production server! It probably introduces several security holes. Find a qualified server expert.

WordCamp Chicago 2011

I was lucky enough to share the stage with some cool people at WordCamp Chicago in July 2011. The slides from my presentation are available for download at If/when the video from the presentation becomes available this will be updated with a link.

The before and after sites from the presentation are also available.

Web Hosting: Are You Ready for a VPS?

For the uninformed, A VPS has hidden dangers

You have a successful website (or blog).


You installed WordPress, and found a cool theme.

You figured out plugins and widgets.

Best of all, you figured out how to bring traffic.

Take a bow and pat yourself on the back. I raise my drink to you, Rock Star of the Internet! But excess can bring a hangover…

Your site is so successful that your traffic is slowing other sites on your shared server. Your hosting company has suggested you switch to a Virtual Private Server (VPS).

You might think, “I got this far. I’ll save a few bucks and manage the VPS myself.” If you are truly a tech ninja this is fine, but there are hidden dangers with managing a VPS yourself.

PC users might appreciate an analogy.

Warning for Mac Users

Skip the bullet points ahead (you won’t believe them anyway).
Just put your dominant hand in a blender. It will be faster and will hurt less.

  • Imagine that you have a program that requires MS Access and a special framework to handle the network interface.
  • Your program won’t work with the plain vanilla version of those, it needs some add-on modules installed.
  • You have to manually install and configure the software and add-on modules.
  • In Iambic Pentameter. From a DOS prompt.
  • It’s all keyboard. No mouse. No drag-and-drop.
  • Undaunted, you search Google, but the only documentation you can find is at least 2 years old.
  • Oh, there’s no Undo button, either.
  • What about security? Or will you just leave the door to your house open with your wallet on the dining room table?

THAT is a Debian Linux VPS. I love the idea of open source software, and Linux is an incredibly powerful and adaptable system. But it’s also extremely complex and requires a lot of care and feeding, especially in the harsh environment of the Internet.

I’m new to the world of VPS, but I have a few questions I would ask before diving into it.

  1. Is your site or business bringing in enough revenue to support the higher server costs?
  2. Will they provide support (managed service), or do you do the heavy lifting yourself (unmanaged service)?
  3. Is it included with your monthly subscription, or is it by the hour?
  4. What flavor(s) of Linux do they provide?
  5. Can you find documentation for it?
  6. Do they have experience with the requirements of your platform or CMS  (Joomla!, Drupal, WordPress)?
  7. Do you have the knowledge to maintain a secure environment?
  8. Is it really worth your time (and sanity) to try administering your own server? (A: No.)

Share your experiences and other questions in the comments. I would love to learn what your experience has been.

Cold Feet and a Cardboard Sign

It was mid-afternoon on Christmas Eve, and I was walking reluctantly through the aisles of the store. Despite my best efforts, the Christmas spirit managed to find a crack in my armor: I couldn’t get the sight of that woman out of my head.

When I pulled into the parking lot, she was standing by the road holding a cardboard sign. A quick glance over my shoulder caught the words “Single Mom” and “Will work for Xmas.”

Completing my purchases, I requested cash back and stuffed it in my jacket pocket where I could reach it easily. I tossed my purchases in the back seat and started the car.

She stood on the snow piled to the side of the road, the sign held high before her face, like a shield to deflect the judgment of affluent shoppers. I pulled up to the light at the edge of the parking lot and pushed the button to open the passenger window. She didn’t move, and I wondered if she noticed me.

I called out, “Merry Christmas,” she lowered the sign and turned her head. Under her hood, her face looked older than I expected. I wondered how many kids she had, and how old they are. She started to climb down the snow bank, moving slowly, limbs nearly paralyzed from the cold. I leaned across the seat and stretched my arm out.

“My feet are so cold,” she said, reaching slowly in to accept my meager offering. I smiled weakly and nodded. The light turned green and I called out “Merry Christmas” again as I pulled away.

This encounter affected me. I spent a lot of time thinking I should have given her more money, wishing that my business had been in a better place. I thought that maybe I should have given her a ride somewhere, bought her some food, done something. But what?

After Christmas dinner, I told the story to a good friend over tea.

Never mind that it was Christmas Eve, why should anyone ever have to stand outside, shivering and shame-filled, hoping for a handout? How did our society fail?

My friend wisely pointed out that we are responsible for our own reality. We can’t control circumstances, but we do choose how we react to them. Our decisions and actions have consequences. This is true for everyone, including Sign Lady.

Is it sad that Sign Lady was begging on Christmas Eve?


Should I (or any of the hundreds of other people who drove by that day) done more to help her?


Did she have to wait so long to ask for help, or in such a dramatic fashion?


There is a societal failure here, but it isn’t about charity, or lack of opportunity.

The failure is that our educational system doesn’t teach people the difference between self-esteem and pride. People equate being wrong or asking for help with weakness. I know many smart people who mistakenly believe that being wrong is a failure. How many more believe that they should be able to do everything by themselves?

The reality is that asking for help fills a need: Givers need recipients. And you are worthy of help!

I needed a reminder of what it felt like to give. Sign Lady provided that.

I can’t know the circumstances that Sign Lady faced on her journey to the snow bank, but it’s a pretty safe bet that it took her a while to get there. She probably had many opportunities along the way to ask for help. Did a sense of pride hold her back?

Whether at work, school, business, or personal life, have you been reluctant to ask for help? In the last year I have struggled mightily with many areas of my fledgling my business because I thought “I should be able to do this myself.”

While I will probably make that mistake again, I am grateful for the reminders Sign Lady gave me.

  1. Givers need recipients.
  2. You are worth asking for help (and so am I).

I hope it’s easier for you to internalize those lessons than it has been for me.

Dear Lady with the Cold Feet and Cardboard Sign,

I don’t know anything about you, but I thank you. By doing what you did, you gave me a chance to give, something I desperately needed. You also reminded me that it’s OK to ask for help.

I sincerely hope your night and Christmas day got warmer, and that your future is filled with hope.

Now if I could just find a way to ease the guilt about not giving more…

« Previous PageNext Page »