I’ve never been the best at creating regex statements, so I stumbled upon this one in a forum. This regex seems to work when validating email addresses (or web site addresses) if you’re using FS Contact Form for WordPress:
/^(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/
Just paste the above into the “Validation Regex” field and click “Update Options.” Here’s what mine looks like (click image for a larger version):
NOTE: This regex should work for any PHP-based validating that you’re doing (even if you’re not using WordPress with FS Contact Form).
UPDATE: Silly of me not to have noticed this before, but there’s already a built-in email validation option in FS Contact Form. Just select “email” from the drop-down and you’re good to go (click for a larger image):
I’ve recently starting using the FS Contract Form plugin for WordPress, and I think it’s the start of a great new relationship. It did, however, take me a while to figure out how to create a drop-down menu. Here are the steps:
1) Scroll down to the “extra fields” field on the plugin’s options screen.
2) Paste the following into the “Label” field (be sure you’re not pasting it into the “Default Text” field):
Options: , Red; Green; Blue
That will create a drop-down that looks like this:

3) Under the “fieldtype” dropdown, select the “Select” option.
4) Click “update options.” Your drop-down menu should now be active once you insert your form into a post.
Here’s what a completed drop-down menu screen should look like:

If you’re using WordPress, you’re probably savvy enough to start your own online business. Check out my post: The Top 51 Best Ways to Make Money Online and Work From Home.
I often use the excerpt field in WordPress to populate my meta description tags. By default, the latest versions of wordpress hide the excerpt field until you proactively add them to your post and page editing screens. To re-add the excerpt field to WordPress, do the following:
1) Login to the WordPress Admin.
2) Click “posts.”
3) Click “Screen Options” in the top right of the page.
4) Click the “excerpt” checkbox under the heading “Show on Page.”
5) Minimize the “Screen Options” drop-down.
Now, you’ve retrieved the missing excerpt field in WordPress and you’re off to the races!
After you’ve managed to get WordPress installed on your GoDaddy server (hopefully you didn’t get the dreaded “GoDaddy WordPress database error“), you’ll probably run into file permissions errors. To fix the problem, you need to give your WP-Content folder read/write permissions. Here are the steps involved:
1) Login to your GoDaddy account.
2) Click “My Account” in the top right.
3) Scroll down to “My Products” and click “Web Hosting.”
4) Launch your “Hosting Control Panel.”
5) Click “FTP File Manager”
6) Select the checkbox beside your “wp-content” directory, then click the “permissions button” near the top of the screen.
7) Deselect the “inherit” checkbox, and then select “read” and “write” so your permissions look like this:
8) Click “OK.” Now you should be update your WordPress theme, upload photos and do all the other great stuff WordPress lets you do.
If you’ve installed WordPress on a Linux server in the past, you’re probably amazed at how easy it is. Then, when you get a client who ask you to install WordPress on a Windows-based GoDaddy hosting account, you get the dreaded “Error establishing a database connection” message. I wrangled with this problem for about 20 minutes tonight. Here’s a possible fix if you happen to encounter the error: change the “localhost” setting in your WP-Config file to the actual location of your database. Not sure how to do that?
1) Login to your GoDaddy account.
2) Click “My Account” in the top right.
3) Scroll down to “My Products” and click “Web Hosting.”
4) Launch your “Hosting Control Panel.”
5) Click “Databases/MySQL” from the tabs at the top of the hosting control panel.
6) In the “Action” column, click the small pencil symbol.
7) You should now see a field titled “Host Name.” Copy the string, which will look something like this: “abc.db.9999999.hostedresource.com”
8) Open your WP-Config file.
9) Scroll down to “/** MySQL hostname */” and paste in your “host name” like so:
define(‘DB_HOST’, ‘abc.db.9999999.hostedresource.com’);
10) Upload the modified WP-Config file back to your server and visit “http://NameOfYourSite.com/wp-admin/install.php” Hopefully your wordpress blog will now be up and running!
After you’ve gotten your blog installed, you may want to verify that your GoDaddy file permissions are set up properly for your WordPress blog.
This is a guest post by blogger and roller derby girl, Lauren Morrill-Ragusea who founded Higher Ed Underground.
My blog, Higher Ed Underground, was conceived after a particularly rough week at my day job. I was tired, frustrated, overworked, underpaid, and just generally burnt-out. I needed to do something in my line of work that was fun, if for no other reason than to remind myself that such a thing existed.
After several years spent working in and around college campuses, plus an advanced degree in higher education administration, I started to have faith in my ability as an expert. Yes, there are people with more experience and more education, but those people tend to be older and boring. They also tend to be people than can barely text message, much less blog. Thus, Higher Ed Underground was born.
It hasn’t been all daisies and roses since I started the site. I’ve made quite a few mistakes along the way (and am probably still making mistakes as we speak), and I’ve decided to share them with you in hopes that your website dreams don’t come crashing down around you.
Starting my blog for the wrong reasons
As I mentioned, Higher Ed Underground grew out of a particularly tough workweek. As a result, my initial motivation was to grow a web presence large enough to rake in the cash, quit my day job, and love life.
Yeah … fantasy.
You see, launching a site thinking you’re going to make a good living off it is the same as sitting down to write your first novel and thinking you’re the next John Grisham. Making money off your site is HARD. So hard, in fact, that if money is your only motivation, it’s going to be damn near impossible to put in the effort required to see a single red cent.
I’ve been blogging for a while on my person blog, Derby Girl, about my life playing roller derby. It’s been easy to keep up with it, because I do it just for myself. I do it because I genuinely enjoy hitting the “post” button each day. That blog has just over 2,000 pageviews a month, which isn’t too shabby, and that was with zero effort or promotion of any kind.
What’s the difference between Derby Girl and Higher Ed Underground? I started Derby Girl because I loved derby and felt like sharing it. I started Higher Ed Underground to make money. Which one do you think is more fun to maintain?
Thankfully, not long after I began working on Higher Ed Underground, this realization smacked me in the face. I threw out the serious, boring, advice-driven content and got back to what I like best: snarky commentary. The content was easier to come by, the daily posting was easier to maintain, and my pageviews jumped considerably. I also abandoned the sheer desire to monetize the site, and am having way more fun with it. It was right about that time that I made my first ten cents from AdSense.
The moral of that story? Find your voice, then blog.
Researching too quickly
If you’re really serious about growing a small business from your blog, you need to do the legwork up front. Research the market. Find out what sites already exist in your niche. Figure out how you’ll be different than the existing market, and if you’re the same, how you can do it better. Figure out what keywords are leading people to sites like yours, and see if you can maximize those keywords to drive traffic. I did all this, but I did it over the course of about three days. This probably wasn’t enough research, especially since I keep stumbling across sites in my niche.
Launching too soon
I still have my day job, and my day job is fairly demanding. There’s not much time to sit around surfing the internet during work hours, much less create meaningful, valuable content. When a site is new, it’s important for it to have strong content that updates frequently. I should have aggregated several weeks worth of posts (at a minimum) before I kicked off, so that when my paying job got crazy, I had content to fall back on. Nothing loses readers faster than infrequent posting or throwaway content.
Buying a theme
Let me be clear: I absolutely love Thesis Theme. It’s easy, customizable, and professional. But the truth is, I could have gotten by for at least the first six months on a standard WordPress theme. WordPress has some great skeleton templates that I could have taught myself to customize over time, and it would have saved me $89 during the whole site setup. This is another example of me diving in to the deep end before I quite knew how to swim.
There’s no need to spend money on your site (other than the domain name and hosting) until you’ve started to see a little bit coming in. Sure, you want your site to look professional, but until you’ve got a readership that demands professional, there’s no reason to put out any money to get there. The look of your site, though important, is not what will keep readers coming back. Invest your effort in producing quality content, and the rest comes later.
Monetizing too much, too early
Don’t clutter your page with ads. Yes, it’s hideous and distracting, but it also makes you look like you care more about money than content. Once you have a dedicated readership, they’ll understand why you put ads on your site. They won’t mind, because they’ll be conditioned to pay attention to your kick ass content. But if the only thing readers see when they visit your site for the first time is an AdSense banner, affiliate links, and those stupid in-text links, you’re pretty asking them to click away. You look like you’ve created your site to steal their money, and they won’t stay, much less come back.
So there you have it. Feel free to let me know of other mistakes I’m making. One thing I’ve learned from entering into the world of blogging is you have to have a thick skin. You’re going to post silly things, make typos, or simply draw the ire of a reader or two. And guess what? Someone will probably send you a nasty email. It happens to the most well-intentioned blogger. So if you don’t think you could put all your mistakes out there like I did … well, then blogging just isn’t for you.
Lauren Morrill-Ragusea is the guru (ha!) over at Higher Ed Underground, where she blogs about college life, admissions, news, and academic success. She also blogs at Derby Girl Blog and is a roller derby blogger for Skirt! Please hire her so that she can quit her job, write, and play roller derby for a living.
I’m assuming you’re savvy enough to throw up a blog posting using a free online service like Blogger.com or WordPress.com. This guide is written for people who want to go a step further and have their own “domain” name: something like, fred.com or webpublishing.me (not fred.blogger.com or fred.wordpress.com). Once you can do that, you’re on your way to becoming a professional Internet entrepreneur :). Without more ado, then, here’s the Web’s Simplest How-To Guide for Building Your First Web Site:
1) Buy a domain name. In order to get a site like webpublishing.me functioning, I had to purchase rights to the domain through a provider. Common options are registrar giants like GoDaddy.com or Register.com. Both are large enough to offer competitive pricing and large support forums to help you over the inevitable roadblocks when lauching your first site. When you “buy” a domain, you’re typically granted you two years of ownership with the option to renew. A common rule to keep in mind? Pick a name that contains keywords that match your content. That’ll help your Google ranking, and that’s one of the most important factors in driving traffic to your site. Prices for domains start at about $8 per year. Want more detailed advice on how to pick your first domain name, visit my post, “How to Pick a Domain Name that Ruins Your Web Site.”
2) Get a Web hosting company. Once you have a Web domain, you’ve still got work to do. You’ve got to find a “server” that’s connected to the Internet. This server will store your files so that when someone visits your domain, they’re readily available for download and viewing in someone’s browser hundreds (or, perhaps, thousands) of miles away. I recommend www.hostgator.com (my wonderful host), or a domain registrar like GoDaddy.com, which allows you to bundle your domain purchase with your hosting service. I always recommend going with a dedicated hosting company, though (i.e. a company that only handles hosting — not domain registrations). They’ll be much more responsive when you have a technical problem — which you probably will when launching your first site.
Buying hosting services ranges from $5 to $100 or more per year — depending on the bandwidth you’ll need. I currently pay $10 per month with “unlimited” bandwidth at hostgator.com. Bandwidth describes the amount of traffic your site receives. The more visitors who view your site, the more file requests you’re feeding your server. Since the amount of traffic a server can handle is static, you’re going to have to pay for it if you use a lot of bandwidth — especially since the costs of maintaining a single server can run into the tens of thousands of dollars.
3) Associate your Web domain with your Web host. If you’re one of the lucky ones who bought your domain name at the same place you plan to host it, you probably can probably skip this step, but if you decided to go with a host that differs from your registrar (the place where you registered your domain), you’re going to need to update your domain’s nameservers. Do this by logging into your hosting account and searching for the “nameservers” provided by your host. These are the specific servers where your Web files will be saved (typically there are two — a primary server and a backup). Copy the nameserver names, then visit your registar. There, with a little bit of searching, you’ll be able to figure out where you need to update your nameservers. Paste in the information you obtained from your host. This action will link your domain name with the specific server where your files are served, so that browsers know where to look when they get a request to visit your site.
4) Decide whether you want to use a Web template or write your own HTML code. If you want to use your own HTML code, visit Step 5. If you want to build your first Web site using templates (which I strongly recommend), visit Step 6.
5) You’re one of the brave and proud who wants to code your own site? Great. You can do it easily with a simple text editor like Notepad. Just paste the following code into Notepad and save it with the filename index.htm (sorry you can’t name it anything else):
<html>
<head>
<title>Your Simple Web Page Title</title>
</head>
<body>
<p>Hello World! This is my first Web Page.</p>
</body>
</html>
Now, that you’ve got an index.htm file saved, you’ve just got to upload it to the root directory of your server. You can do this by visiting your Web host, and finding the file manager for the domain that you purchased. This might require some rooting around, but you’ll eventually find the spot where you can upload files directly to your server. Unfortunately, the “root directory” isn’t called the “root directory.” It’ll likely be labeled with a simple slash: /
Once you’ve uploaded your index.htm page to your root directory, you should be able to visit your domain name (fred.com or some other such name), hit refresh, and — presto — you’ll have your first Web site. Keep in mind, there might be some lag time. If your site doesn’t show up right away, do something else for an hour or so, and try again. It sometimes takes a while for your nameserver changes to propagate across the Web.
6) So you’re one of the brave and proud who wants to use a templating service to launch your Web site? No shame there. I’ve become addicted to these services over time. One in particular stands out: WordPress.org. It’s important to note that wordpress.ORG is different than wordpress.COM. WordPress.COM is designed for people who are OK with a web site that runs on WordPress’s servers. That means the domain name will be something like fred.wordpress.com. Now that’s not very professional looking is it?
WordPress.ORG is different. Here you can download a full suite of HTML (a language that browsers use to display content) and PHP (a scripting language) files that will allow you to create your Web site on the fly. You’ll be able to upload images, videos, sound clips … almost any form of media you can edit on your computer, and then you’ll have control over the display of it on your screen. Cool, huh? You’ll also be able to write your site’s content ON your server, which means you don’t have to mess with FTP accounts (explained below) after the initial setup process.
The first thing you should do (and the most fun) is pick out a WordPress Theme. That’ll give you an idea of what’s possible with just a small amoung of technical skill. Download the theme to your computer, then, download the latest version of WordPress. After you unzip those files, you’ll have to visit your Web host to set up an “FTP account.” FTP stands for File Transfer Protocol, and it’s a very efficient way of sharing files across the Internet. Your host should have instructions on setting up an FTP account (just be sure you save the user name, password and port you specify during the setup process). Now, you should download an FTP client, which will actually communicate between your computer and your host’s servers. I recommend the free service Filezilla.
At this point, things get a bit more complicated. You’ll now need to visit WordPress’s “Famous Five-Minute Installation” in order to set up your unique wp-config.php file. This will also require you to set up a MySQL database through your host. When you set up a database, you’re simply creating a place on the server that can accept changes (or edits) on the fly, then spit them back out on your Web site. That’s what will allow you to edit pages for your Web site directly on your server. I won’t beat a dead horse here. WordPress’s instructions for your wp-config.php file and the associated MySQL database are incredibly exhaustive, and you shouldn’t have any trouble setting it up. Still, if you’d like some advice shoot me an email at fred(at)webpublishing.me.
Now, that you have Filezilla, an FTP account and a MySQL database, you can begin transferring your HTML and PHP files from your computer to the Internet server(s) provided by your host. Open Filezilla and plug in the information you saved (user name, password and port) when you set up your FTP account. When you’re connected to your server, you’ll be able to transfer your files very quickly. Simply specify a target location (the root directory for your domain, which will be indicated by a slash: “/”), and then doubleclick on the files you want to transfer. If you’re using WordPress like I recommended, you’ll want to transfer three entire folders (wp-content, wp-admin and wp-includes) directly to your root directory. Also, transfer the individual php files that you unzipped when you downloaded WordPress in the same place. Do not place them in a folder.
Now, deep breath, you should be able to visit http://example.com/blog/wp-admin/install.php (filling in your unique domain name where the above link says “example”), and begin the simple process of building your site.
Follow these tips, and you should have your first Web site up in no time. One of the best sites I encountered when I started trying to make money online was www.thesitewizard.com. It’s a no-frills site with down-to-earth advice that doesn’t beat around the bush. I won’t lie and says there’s no learning curve when you’re first getting into Web publishing, but thanks to the experts out there who’ve devoted their time to helping us along the way, it doesn’t take quite as long.
Hopefully these tips will help you on your way to making money online. If you have further questions, email me at fred(at)webpublishing.me. If you’re still a Web newbie and you need advice on how to pick your first domain name, visit my post, “How to Pick a Domain Name that Ruins Your Web Site.” Want more ideas for making money online? Return home, or sign up for our email newsletter.