Posts Tagged ‘design’

Five simple things I did to increase traffic to my website.

When I started thisismyurl.com I didn’t have a loyal base of visitors, in fact I barely had a trickle of traffic. For the first month, I only received a couple visitors each day but now, five months after launching my website I receive a few hundred unique visitors everyday. Still not huge numbers but it’s a start right?

I follow five simple rules that I believe helped me build a successful website, five rules that everybody can follow.

  1. I posted simple, honest content. Most the content on my website is designed for people with little technical expertise who need to solve a problem. This is an easy way to generate traffic, find a problem and help people solve it.
  2. I posted content often. While I was building my website traffic I often posted content twice a day to help establish new visitors, then once I knew people had taken the time to read my posts I began posting less frequently but with more focus on content.
  3. I posted what people wanted. I spend a lot of time looking at the stats for my website and I know what articles people read and which are worthless. The articles people read inspire me to write more (better) content on similar subjects while the less popular posts are reviewed and improved.
  4. I posted different kinds of content. When I started out I made a lot of mistakes (and still do) but by testing different content styles, I’ve learnt the proper length for many posts and how to make them more readable for the audience.
  5. I posted what I knew about. Instead of trying to chase trends or break news stories, I posted content designed to help business owners make better websites, a lot of it is still pretty technical but it’s getting more ‘people’ friendly everyday.

What I’ve learnt over the past five months is that people love free stuff. My post popular page by far is Fundraising Thermometer Plugin for Wordpress a free plugin for WordPress designed to help charities display their current fundraising level. My second most popular post is another WordPress plugin called WordPress Plugin to automatically update the copyright notice., a simple post to allow the display of copyright details on a post. Other popular posts on my blog have been:

  1. How to center content with CSS and HTML
  2. No More Frames Plugin for WordPress
  3. Code Free Pong
  4. How to make awesome 3d icons in Adobe Fireworks
  5. How to create a reflective website image in Photoshop

As a website owner, the best way for you to increase your website traffic is to understand what people want and give it to them. This might sound like common sense logic but often times we as business owners (because my website really is a business) forget that serving content is about the reader, not the writer.

Happy five months of reading my website, I look forward to another great month writing.

Why are websites so hard to make?

Wow, I’ll tell you honestly that one of the questions I tend to get asked a lot (and drives people to my website) is Why is a website so hard to make? Actually, that question (or a version of it) accounts for a few unique visits every day so to help answer the question, I’ve explain a few of the reasons that websites are so hard (or expensive) to build.

First, the Web is inconsistent.

This is possibly the worse news for people just starting out, but it’s the horrible and sad truth. Web sites are nothing more than code, it’s not terribly complicated once you understand the basics of it but it’s still just a bunch of gobbly gook until it’s read by something else … and there’s the problem. Each ’something else’ is different. Web code is read by popular web browsers such as Internet Explorer, Safari, Chrome and FireFox but that’s only the tip of the iceberg because Internet Explorer has several versions in common operation today (versions 5,6,7 and now 8) which all display the web dramatically differently. 

Once you get past the basic issue of browsers, you need to think about operating systems. How many computer operating systems can you name? Obviously there’s Windows and Mac right? Great … except … you also have Windows Vista, Windows XP, Windows ME, Windows 2000, Windows NT, Windows 7 and Windows Lite to content with, Macintosh OS X Leopard and Macintosh OS X Pather. That’s got to be it right? Not so fast, what about Linux and Unix? There are hundreds of variations of computer based operating systems, each running one of a dozen web browsers for countless combinations but at least that’s all there is to worry about … except for handhelds (iPhones, BlackBerries, Windows Mobile Devices) and gaming consoles (Nintendo Wii, Microsoft XBox, XBox 360, Sony PSP, Sony Play Station 3) and TV based internet consoles … I hope that I’ve made my point, one of the reasons the Internet is complex to publish for is because there are too many “things” to publish for, instead we’re forced to practice failing gracefully.

The Web lacks a standard language.

Problem number two for somebody just starting out in the great big world of the web is that there is no standard programming language for the Internet. At it’s core, the World Wide Web is programmed in a language called HTML right? Everybody knows this, except it’s wrong.

The web is published in a language called xHTML which is based on HTML, but some people in the community didn’t agree with xHTML so they created other strains of HTML. As a result, we have HTML 1.x, HTML 2.x, HTML 3.x, HTML 4.x, DHTML, xHTML, xHTML 1.1 and xHTML 1.1 SE. Soon we’ll also have xHTML 2.0 as well as xHTML 5.0 … don’t ask.

Now, as we discussed above, there are at least a few dozen major operating systems and each of those has at least a handful of web browsers, plus a ton of mobile devices all designed to interpret some or more of the languages that the web is built on but it’s important to note that not all web browsers agreed on which standards are acceptable or for that matter which codes, structure, text or tags from any standard would be accepted. As a result, a web page developed to be viewed in Microsoft Internet Explorer 5 may (or may not) be visible in other web browsers including other versions of IE.

Scripting on the Web

Now, once you get past the basic problem of coding for some browsers while ignoring others and you pick one of the standards to adhere to, you’ve got to take the time to start writing more than simple content and for that you need what’s called a scripting language of which … there are many.

Most scripting languages such as PHP, Python, ASP, ASP.net etc. execute on the web server (where the website is hosted) but some such as JavaScript execute on the web browser after being downloaded (not to be confused with Java which is not a scripting language but a programming language and completely different). These scripts are what power everything from a simple email form to complex social media giants such as FaceBook.

After you’ve picked the scripting language you wish to use and ensured that it’s compatible with your hosting account (where you store your website for others to access it) you’re all set and ready to start building your first website.

How to handle it all

I’m lucky, I’ve been building websites since 1996 which means that in my very (very) long career I’ve seen countless technologies come, go and die. So my advice to people getting started in the industry is a lot like Benjamin’s in Animal Farm, Web Masters much like Donkeys know that times change but stay the same, simply pick your standards and be the best developer in that selected field. You will be mocked, scorned, insulted and ignored by others in the industry for your choices but in just a few years … everything you know will be outdated and you’ll have to relearn new tools anyways so don’t worry so much.

“Only old Benjamin professed to remember every detail of his long life and to know that things never had been, nor ever could be much better or much worse – hunger, hardship and disappointment being, so he said, the unalterable law of life.”

- George Orwell, Animal Farm,

Web Jobs and What People Really Do

These days I spend a lot of time looking at job postings around the Internet, it’s a tough place to be especially since most recruiters have no idea what web people do and those who are aware of the industry are often completely unaware of the ridiculous nature of their requests. The other day I saw a posting on Monster for:

a Senior Web Developer with 6+ years Adobe Flex experience and a working knowledge of Word, office printers and networks.

First … Flex was only invented in 2004. Second, it’s a specialty … Flex experts are like dessert chefs, asking them to be good at washing dishes in addition to making authentic French meringues will not get you qualified candidates, it will get you dish washers. Here’s a quick look at what I believe are accurate descriptions of jobs in my industry:

Web Designers

A web designer is a pixel pusher, they use Adobe Photoshop or similar tools to create Graphical User Interfaces to be converted to Hypertext Markup Language. Ideal web designers sway to one of two sub specialties, they are either functionally capable Usability Specialists or entry level Web Developers in addition to being a designer. Web Designers are artists, akin to Graphic Designers and photographers and rarely have a university degree, though most go to college.

Multimedia Specialists

There are sadly, dozens of areas of Specialists in the Web field from those who specialize in Flash or Flex to QuickTime, Shockwave, 3D artists and those who work in the video or audio production fields. Often these Specialists will have backgrounds in design as well as their media specialization. Few in the industry have degrees, and only a handful have college diplomas since the work is profitable from an early age.

Web Developers

A web developer programs websites using the Hypertext Markup Language to convert a designer’s artwork into a language compatible with web browser technology. They are also capable of programming the interactivity of a website using PHP or ASP based languages, JavaScript or other languages. Web Developers are coders, similar in nature to C++ or Java computer programmers. 

Usability Specialists

The web is a marketing platform, the job of a Usability Specialist is to ensure the average user can successfully navigate a website and achieve the business objective, regardless of what the object may be. Often the Usability Specialist is also the Project Manager and has an obsessive nature geared towards Quality Control and meeting objectives.

 

Web Publishers

 

A Web Publisher is a data entry person, they’re job is to convert information from print or electronic form into web based content following strict document structure guidelines. After the designer and developer have put together the skeleton of a website, the Web Publisher works with Copyrighters and the Marketing team to ensure all content is placed in the right places before launching a website.

SEO Specialists

Unique to the Web, an SEO Specialist is an Organic Marketing professional who’s sole purpose is to increase the traffic rate of a web property through non paid advertising means. Often the SEO Specialist will also manage online advertising programs, purchasing and real world marketing but his/her real goal is to broaden the success of a website without paid placement.  

Web Managers

The Web Manager is the business brains of a website. They’re job is to manage timelines, budgets, analyze Analytics and convert web traffic to measurable business. In many smaller organizations they’re also Web Generalists capable of lending a hand in all other areas of the puzzle, those who have mastered multiple ares of expertise are often called Web Masters. This is a tough job, it involves managing the egos of artists and the surly nature of programmers while meeting tough deadlines.

Network Administrators

I like to call NA’s the Backend Boys but for some reason they don’t like that title. A Network Administrator is a specialist which every Web person needs, they don’t get a lot of glory and they’re often (rightfully so) the first to get blamed with things go wrong but a Network Administrator’s job is to run the hardware (physical computers) the Web teams software (the website) operates on. They spend long hours ensuring email, servers, data streams and corporate software work.

Director of Technology

These days, our companies have become technology saturated. The role of a Director of Technology is to understand the business objectives of the organization and utilize cost savings methodologies to deliver the best computer solutions possible. Simply put, they’re job is to always do more with less while ensuring the best people are capable of delivering timely solutions and the rest of the organization sees technology as a friendly resource, not an aggravation.

Chief Technology Officer

The CTO title always interests me, there’re rarely a Vice President of Technology in an organization so I’m not sure if the title is a silent salute to Star Trek. The job of the CTO is two fold, first they have to keep the technology of a whole organization flowing smoothly and they also have to plan for future technologies by knowing where the company needs to be down the road. Their job in short is to lead the whole technology team for the management team and to solve the problems of the business through new, innovated methods.

What image format should you use on your website?

There is nothing more complex about publishing on the web than the concept of images, they’re quite possibly the hardest part of HTML for the general public to get their minds around so let’s take a quic look at what makes an image complicated and how we as web designers and publishers can approach them in a simpler way.

Image Format

The first step to web graphics is to appreciate that images come in dozens (or hundreds) of file formats from BMP’s to TIFF’s and everything in between but when it comes to the web, there are really only three formats for you to think about:
  • The CompuServe Graphics Interchange Format (GIF) format (pronounced giff)
  • The Joint Photographic Experts Group format, JPG (pronounced jaypeg)
  • the Portable Network Graphic file format, PNG (pronounced ping)
Close up of the GIF file format

Close up of the GIF file format

These three file formats encompass the entire spectrum of Internet based graphics. The first format, GIF was introduced way back in the very first days of computer graphics (1987) and allowed people to exchange graphic files via an online community similar to America Online (AOL). The GIF format was limited to 8 bits of color (255) with some reserved for core data. It was a loss-less graphic format ideal for the graphics of 1987 but could hardly produce quality photos.
The GIF format stores each pixel of an image as one of 255 possible colors resulting in a crisp image. The GIF format however also had a number of unique benefits such as the ability to have invisible (alpha) transparent  pixels which when place overtop of other colors would allow the backgrounds to remain visible and the capacity to store multiple GIF images in a single file as pages. When displayed in a web browser or other image viewing tool these pages would appear as animations similar to old ‘flip book’ style animations.
In 1992 the  Joint Photographic Experts Group created and issued the JPEG standard to the world. These days we tend to call the file format JPG since old Microsoft based computers could only hand three characters as a file extension but the format is also known as .jpg, .jpeg, .jpe, .jif, .jfif  and .jfi. The .jpg format was an instant success, it quickly addressed the primary failings of the GIF format by allowing 24 bit graphics (16.7 million colors) and smooth transitions between the these colors using a lossy compression method … which is a fancy way of saying the graphics blended together.
Lossy file saved as both 20% and 80%

Lossy file saved as both 20% and 80%

In effect, how the JPG standard worked was to rapidly reduce file sizes by averaging the color values of a pixel with those around it. This caused massive reductions in file sizes allowing photographers to post 500kb images in extremely small (20-100kb) files while controlling the loss of quality. To the right you’ll see an image saved at 20% quality to the left and 80% to the right, both the difference in quality and the method JPG uses to reach the results should be evident.

Before I go on, I want to pause and take note of a statement I made in the above description because I’m sure most people missed it or brushed past without much thought … the JPG file format was introduced to the world in 1992. This phrase is critical because it reinforces how much the world has changed in just 17 years. For those of you who are under 20 years old, you’ll most likely have never known a world without Facebook or YouTube but for the rest of us, we sometimes forget the Internet is for all purposes a fairly recent addition to the world. I’m 35 years old and I remember the first JPG photo that I saw, the introduction of this format changed the way we shared images over computers.  Notice that I said it changed the way we shared images over computers? There was no Internet, or at least not what you see today.

In 1996, Unisys became uppity and started threatening to sue over the LZW compression found in the GIF format so the world invented the Portable Network Graphic format (PNG), along the way the format improved upon most of the qualities of the GIF and lost the capacity for animation. The PNG format has 8 bit graphics similar to the GIF but also has 24 bit like the JPG and introduced a new level with 32 bit graphics. While it lacks support for animation, it includes transparant pixels like a GIF. Unlike a GIF, where those pixels can be on or off the PNG allows for alpha transparency making the format extremely flexible and also capable of compressing images. The problem with the PNG format, is that it produces large files.

export dialog What image format should you use on your website? image

So which is best? Actually that depends entirely on what you want to accomplish with the graphics. As you’ll see from the image above the file size of the graphic can range from ~25k to ~430k depending on the quality you’d like to achieve.  Photographers for example should use the JPG compression most often to ensure their images are strong, crisp and colorful while illustrators and others who work with line art will benefit from the GIF format. In the end, practicing and experimenting are the best ways to determine what you should be using.

A quick thank you to the Old Shoe Woman for posting the a wonderful photo Sunlight Under a Live Oak Tree on Flickr for me to use as part of this tutorial. 

Hyper linking in Dreamweaver

HTML is all about something called Hyper Linking. Actually, that’s what the first two letters of HTML pretty much stand for … Hyper Text Markup Language but what does it actually mean? Well, oddly enough us geeks are not all that tricky to understand, give us a beer mug shaped like Yoda’s head and let us string together a few acronyms and we’re happy.

Hypertext is text on a page that contains a Hyper Link

A Hyper Link is a piece of text or graphic which links to another document. When a user clicks the Hypertext, they follow the Hyper Link to the new document. Not brain surgery but I completely understand how most people would never need to know that.

Using Hyper Links in Adobe Dreamweaver is, for the most part dead simple. To insert a hyperlink into your Dreamweaver document, simply ensure you are in Design mode and select the text you want to make a hyperlink. Next, using the Property toolbar, type the website address you’d like to link to.

How to make a hypertext link in Dreamweaver

How to make a hypertext link in Dreamweaver

There are actually several things you can do with a hyperlink, called protocols. Most people only ever know about the http:// protocol (the Hyper Text Transfer Protocol) but there’s also a ton of other protocols people could use including the https://, ftp://, mailto://, gopher:// and of course the nntp:// protocol. If you have no idea what these are, congratulations … you’ll almost never need to care in your life unless you’re a hard code web developer.

Once you’ve added an http:// link using Dreamweaver you can also force the clicked link to open in a new web browser simply by adding the phrase _blank to the Target field of your property bar. There are a couple of other neat tricks with anchor tags people should be aware of, but to accomplish them we’re going to have to switch to Code view in order to see the following code:

[source lang="html"]<a href="http://www.thisismyurl.com">This is my Hypertext.</a>[/source]
In addition to the href value (where the click will go), you can also add:

  • accesskey to make the link a keyboard shortcut
  • class to assign a CSS class
  • dir (rtl or ltr) to make the text run right to left or left to right
  • id to make the anchor text have a proper name
  • lang to assign a language value
  • style to format the tag
  • tabindex to index the tab order for the link
  • title to assign a title tag
  • rel for the link relationship.

Of these I would recommend most links on a website have an href value to show where people should go, an ID if it’s a critical link, a rel for defining relationship values and the title for SEO value. Typically then, a link should look like:

[source lang="html"]<a rel="nofollow" title="My Great Website" id="mainlink" href="http://www.thisismyurl.com">This is my Hypertext.</a>[/source]

Absolute Paths vs. Relative Paths

One of the great debates in web publishing is the choice between using absolute paths vs. relative paths. An absolute path is one which is mapped completely to the final destination (http://www.thisismyurl.com/tutorials/placing-page-content-in-adobe-dreamweaver/) vs. one that is linked relative to the document you’re currently reading (../placing-page-content-in-adobe-dreamweaver/) the main advantage of an absolutely path is that it’s locked, while the main advantage of a relative path? That’s it’s relative … in the end, it doesn’t matter so long as the link works.

This tutorial is part six in a ten part series.
  1. Preparing a website in Adobe Dreamweaver
  2. Building your first Dreamweaver Template file
  3. Structuring your website with Adobe Dreamweaver
  4. Improving the common elements in Dreamweaver
  5. Placing page content in Adobe Dreamweaver
  6. Hyper linking in Dreamweaver
  7. Working with Images in Adobe Dreamweaver
  8. Adding Cascading Style Sheets with Dreamweaver
  9. Putting your website on a remote web server with Adobe Dreamweaver
  10. Adding Google Analytics to your Dreamweaver Template

Billings Time Management and Invoicing Software for Macintosh

Over the month of February, I asked all my regular readers to help me build a better website by telling me how I could improve my website or pointing me to better articles, I have to say honestly that I was overwhelmed by the feedback. Many of you send me private emails with great resources and I want to say thanks to everybody who contact me. As a prize to the best contributions (which I have to admit I randomly selected because everybody was so helpful) the fine people over at Marketcircle agreed to give away three copies of Billings, the most awesome time management and invoicing software for Macintosh.

Billings 3 isn’t about accounting, it’s a time management tool for designers which feels more like an extension of the Mac OS than an account tool. The interface is easy to learn and uses standard iTunes style drag and drop functionality. In fact, the tool appears to be built from the ground up to take advantage of the Mac OS by integrating directly into Mail and Address Book.

billings mactinosh invoice 245x300 Billings Time Management and Invoicing Software for Macintosh imageThe software comes complete with some stunning templates to make your invoicing less about accounting and more about your companies image, which of course is important to any designer. There are around 30 templates to choose from or you can use the invoice designer to create a unique theme for your business.

invoicing2 Billings Time Management and Invoicing Software for Macintosh imageSending an invoice is as simple as clicking the button, Billings will then ask you if you’d like to print the invoice, save it to PDF or automatically open Apple Mail to email the invoice to your client.

Improved Wordflow

What’s unique about this particular package is the integration between client management, estimates and invoicing. A typical work cycle for a project outside of Billings involves me tracking most things on paper or spread sheets, leaving dozens of emails marked unread to indicate which tasks have yet to be accomplished but with Billings, I simplify the process using the following steps:

Create a New Client

 

Using the Mac OS, Billings shares details

Using the Mac OS, Billings shares details

Before I can send an estimate to a client, I need to create them as a client but there’s no clunky copy and paste with Billings I simply right click the client’s name in Email and add then to the Address Book. Once the new client is in my Mac OS address book, I import them into Billings. That way, if I change their details in one application (Mail, MS Office, Billings etc) their details are automatically changed in Billings.

 

Create an Estimate

mac quote 286x300 Billings Time Management and Invoicing Software for Macintosh imageNow that my new client is in Billings, I can create a quote using the internal quote tool pictured here. Billings allows me to set my overall billing rate for all clients as well as specify my rate per client and per project. Another benefit is that it allows me to quickly offer my client a discount or if they deserve a PITA (pain in the ass) tax I can quickly do it here.

The quote also allows me to set taxes for individual clients or projects, set this specific quote to be billable or “for my eyes only” which allows me to track time regardless of if clients see the final bill or not.

estimate 150x150 Billings Time Management and Invoicing Software for Macintosh imageThe resulting estimate is automatically formated and transfered to my email application so that I can easily customize my message and send it off to the client.

Working on the Project

Once my client has accepted the estimate, I can begin the project by clicking a simple iTunes style button labeled Start Working. Pretty complicated so far right? It gets better.

tracktime2 Billings Time Management and Invoicing Software for Macintosh imageEach job is controlled by a series of timers, you can have as many timers as you’d like per job or you can add fixed rate items such as hosting or domain name registrations to the final tally. Timers are used to calculate actual time on the project and can be set to round to the nearest minute or time interval. If I get up to run an errand and leave the timer running, Billings automatically stops the timer and prompts me to deduct the time I was away from the computer.

Once I’ve completed each timer, I accept the charges or choose to mark the time as non billable, which allows me to track a lot more than my client ever knows and improve my billing capacity down the road. Dr. Michael Markovitz, the CEO of Yorkville University once told me that without data you can’t run a business, that’s sound advice for running a multi million dollar company or a small consulting team.

timed billing Billings Time Management and Invoicing Software for Macintosh image

Invoicing the client

invoicing21 Billings Time Management and Invoicing Software for Macintosh imageinvoice for chris 231x300 Billings Time Management and Invoicing Software for Macintosh imageNow the fun part, sending the bill … it’s actually a snap with the built in One Click Billing system. Basically, you click the button and send the bill by email or printing it out.

The same system works for generating monthly statements or reports and it’s this simplicity that has done a few things for my small business:

  1. Now I know how much time tasks take
  2. I can produce estimates faster than other designers
  3. My estimates are based on information, not hopeful projections
  4. I can track outstanding tasks and complete assignments in a timely manner
  5. My invoicing is stream lined
  6. My mortgage is paid.

Frankly, I think that last one is very important but more importantly for me is that because Billings makes my life easier, I can focus on what matters … getting jobs done and spending time with my family instead of fighting with other billing software.

Reporting Tools

billings for february Billings Time Management and Invoicing Software for Macintosh imageWhat I actually love about Billings is that it tells me what I need to know in simple, easy to understand language such as the brilliantly named Billed & Collected report displayed here. 

It tells me what I billed and what I collected. Brilliant.

Other reports let me quickly see who still owes me money, which accounts have retainers applied and who’s accounts are behind schedule or are costing me more money per project or task.

You can download a copy of Billings on a 21 day trial to see for yourself.

How to Secure Your WordPress Website

Running a WordPress website is one of the easiest ways to run a high quality, free web site content management engine but since there are millions of other websites running the same software, there are lots of bad guys out there who would like nothing more than to break into your website. So how do you stop them? In this article I’ll examine some processes your blog should implement to ensure it’s more secure than the ‘out of the box’ version of WordPress.

Basic Security

Plugin Directory

Step One of any WordPress security installation is to hide the contents of the plugin directory. By default, WordPress ships with the directory exposed (it can be found by typing http://[yourwebsite]/wp-content/plugins/) but this allows the bad guys to see what plugins you’re running and possibly take advantage of them. To solve this, simply upload an empty file named index.html or index.php into the base plugin directory.  Another very easy way to do this for your entire WordPress site is to simply add Options -indexes to your .htaccess file. This tells your web server to never list directory contents.

Quick Note: .htaccess files are funny things, they don’t have a filename in the traditional sense so when you download them, all you download is the extension (filename.extension). This can make working with them tough. What I like to do is rename the file -.htaccess or something similar before downloading it, which allows Windows computers to properly interact with the file.

Limit Access to the Admin

Step Two of the basic plan of attack is to limit access to your administration tool. An .htaccess file is a server level control file, meaning that it interacts with the web server before it interacts with a web browser, what we want to do is limit the IP addresses of computers to your wp-admin directory. Need a more basic explanation? Each computer on the internet has a unique Internet Protocol (IP) address made up of four numbers ranging from 0 to 256 for example, 123.456.123.456 this number reflects your unique signature on the Internet. What we want to do is control which computers can access your account.

To do this, first we need to know what your IP address is. Luckily there’s a website for that at http://whatismyipaddress.com/ which will tell you what your current IP address is. After you have that, create a new file called .htaccess on your desktop and add the following code to it:

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName “Access Control”
AuthType Basic
order deny,allow
deny from all
allow from [paste your IP address here]

Once you upload that code to your wp-admin directory only computers from the IP address you specified will be able to access your WordPress admin directory. You can add multiple allow from lines to ensure you can access your site from work or home. If you ever need to access your admin panel from outside the IP range, simply comment (place a # symbol) before the deny from all line and you’ll be able to access it normally.

One final note here, since many people have dynamic IP addresses (they change whenever you reboot your internet connection) you might want to check with your Internet Service Provider to determine their IP range. For example, once you know that your IP address is always 142.167.66.[0- 255] you can use the allow from address of 142.167.66.* so anybody in your local subnet group (the last octal) can access your admin directory. A little less secure but still better than allowing the whole world to access it.

An Extra Level of Password Control

password protect directory 300x199 How to Secure Your WordPress Website imageJust like the .htaccess file can be used to limit access from specific IP addresses it can also be used to force a server level username and password check before prompting you to input your WordPress username and password. You can do this fairly easily if you’re hosting with BlueHost or if you’re using another hosting company you can create a secure login using an .htaccess file and .htpasswd files or the AskApache Password Protect plugin. This process is a little more complex but a great extra layer of security.

Change Your Admin Account

By default the most powerful account on your WordPress website is called admin, since everybody in the world knows this they only need to guess your password but if you change the admin account name, you make guessing both your username and password infinitely harder. One other point here, since your password is case sensitive (A and a are different letters) you should always use long, complex passwords that mix uppercase and lowercase letters, at least one number and if possible a symbol such as an ampersand (&) or dollar sign. The more complex you make your password, the less chance somebody will guess it.

WordPress Version

Some WordPress themes include a line such as <meta name=”generator” content=”WordPress <?php bloginfo(’version’); ?>” />  in the header.php file. While this is great for WordPress it’s a security blunder since you’re announcing to the world which version of WordPress your using and if it’s not the most recent … which security holes your website is vulnerable to. Simply remove this line from your header and you’ll be more secure.

 

WordPress displaying security issues

WordPress displaying security issues

The next step when it comes to security with regards to versions is to always upgrade to the most recent version promptly. I recommend upgrading your website (and your plugins) as quickly as possible after a new release has been updated.  You’ll see from the graphic to the right that my hotel web design company Getaway Graphics hasn’t had some of it’s plugins or base code upgraded in weeks, this is a major security flaw which could lead to hackers gaining access to my files. Luckily, I did this to demonstrate the potential flaws and the site is actually perfectly safe.

Always upgrade your website and your plugins to the most recent version after you have done a backup of your site files and data. As a bit of shameless self promotion, let me pipe in here that for a fairly reasonable fee, I can do this for you on a monthly schedule or train you how to maintain and monitor your website.

Secure Your .htaccess file

I think we’re now all aware how powerful the .htaccess file is correct? Great, so let’s secure it simply by adding the following code to the very bottom of the file:

<Files wp-config.php>
Order Deny,Allow
Deny from All
</Files>

This simple piece of code makes it impossible for people to see all the security customizations you’ve done to your blog.

Report Issues

WordPress is, at it’s heart a community project. If there’s something wrong and you discover it, send a bug report immediately so the team can fix security holes. This will make the software more secure both for you and the rest of the WordPress users.

Security Plugins for WordPress

Beyond the common sense security steps outlined above, there are several plugins related to security which every WordPress website should be running:

 

  • Login Lockdown – records failed attempts to access your WordPress admin panel. Frankly, if you don’t know people are knocking on your door … how do you know to protect it?
  • WP Security Scan – tests your website for common security holes.
  • WP Database Backup – backs up the content of your database regularly. Not really a security tool but it will allow you to restore to a previous version if you ever need to.
  • AskApache Password Protect – add a password to your wp-admin directory.

 

Other Great Sources

While I was putting together this article, I had help from some other sources on the net including:

One Final Note …

wordpress How to Secure Your WordPress Website imageThe steps I’ve outlined in the above article are all fairly straight forward and necessary to ensure a strong, safe WordPress blog but I appreciate some people simply lack the technical confidence to perform the steps effectively. I’m available as a WordPress consultant and can generally perform all the necessary upgrades to your WordPress website quickly, effectively and easily so why not give me a call?

How to build a free website

There’s a secret that many web designers don’t want you to know, it’s that there’s no cost to building a website. In fact, you don’t even need special software to do it, everything you need is already installed on the most basic computer available today. In order to build a website, here’s all that you need:

  • On a Windows computer – NotePad
  • On an Apple Macintosh – TextEdit

textedit 300x281 How to build a free website imageNow that you have all the tools that you’ll need to build a web page, you need to understand a few things about building web pages.

How to Format a Web Page

Web pages are divided into two specific areas, the <head> and the <body>, each of these two areas does something specific and before you can build a web page, you need to understand the basic purpose of each section.

Setting up Your First Web Page

basic html How to build a free website imageFor a web page to be recognized by a web browser (the software application used to view a web page) we first need to tell the browser that our document is an HTML document. To accomplish this, all we need to do is place the code <html> on the first line of our document followed by </html> on the very last line of our document.

Once those tags are in place, most web browsers will understand that the content being displayed is an HTML document. I say most because technically, there is a bit more that you should put in there if you want to ensure the site is 100% compatible with all modern web browsers, but explaining the fine details of DOCTYPE structure is a little beyond the scope of today’s tutorial. Needless to say, placing the tags <html> and </html> will tell web browsers what your document is but if you’d like to technically perfect, place the following code instead:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
</html>

Once that’s done, remember that all other code must be placed between the two <html> tags to be recognized as valid HTML.

The <head> Section

The <head> tag of a web page is the reserved for things which other computers and software applications require to understand your web page properly. For example, when a web browser loads your web page there are specific things that it looks for in order to understand what language your site is in, what your web page is about and the name of your page. Within the head section, we want to include details such as:

  • Links to alternative content such as RSS feeds, XML site maps and mobile interface files
  • Javascript links and or content to help the functionality of our page
  • META data for robots to read including a page description, keywords and generator
  • Cascading Style Sheet (CSS) details or links
  • The document content type
  • Codes and robot commands for foreign applications
  • Pingback processing directives
  • The web page icon file location
  • Canonical labels for search engine optimization
  • Base directory directives
  • The title of your document

Sounds like a lot right? Well it is, and it’s all very important stuff. Essentially, the <head> section of your web page stores all the mechanical and client side information required to properly index, label, categorize and distribute your web page as well as the information needed to successfully display your web page in a users browser. I could write a whole post on each of the items above but for now, it’s simply important for you to know that the <head> is used to store those pieces of information and you can add them at a later date.

html with head How to build a free website imageAdding data to the <head> of the document is done the same way as all elements of an HTML document, by opening and closing an HTML tag. In this case, the <head> tag must be opened and later closed </head> in order to store the appropriate content. Between those tags, you may store a series of HTML or xHTML (we’ll talk another day about the differences) data devices for use in rendering your pages. For example, here is a basic <head> element for a common web page:

<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Untitled Document</title>
</head>

You will notice that in this basic example we only store the basic information required to make a web page work, the http-equiv which tells web browsers that the document being served is in text/html format (as opposed to text/rtf which is a Rich Text document or text/javascript which would be a JavaScript file) so that the web browser looking at this document understands it is an HTML page. untitled document How to build a free website imageAdditionally, the <head> contains the <title> tag which closes (</title>) after labeling the document Untitled Document. If you loaded the source code into a web browser, you would now see a blank document with no content displayed to the user but a new title at the top of your browser, labeled Untitled Document. This document title is the label being fed to the web browser from the <title> tag contained within the <head> of this document.

The <body> Section

If the <head> of a web page is the content being presented to other computers, then the <body> is the content being displayed to human eyes (or text readers) visiting your web page. Creating content on a web page is wonderfully simple. If you’d like to have a web page say hello, simply add the code:
<body>
hello
</body>
html with body How to build a free website imagePresto! You now have a fully functional web page, albeit a little dull. The <body> section works by displaying exactly what you type as content, so anything (and everything) you add between the two <body> tags will appear on your web page but you have to be careful, HTML needs the content marked up (labeled) to be properly viewed in a web browser. Just in case you didn’t know, HTML stands for HyperText Markup Language, a Markup Language is simply text that’s been formated to be read by computers. For example I can create my own Markup Language right now called Chris Ross’s Markup Language (CRML) that looks like this:
[-open-]Hello World![-close-]
Now I have my own Markup Language but since nobody uses it, it’s pretty much useless. On the other hand, everybody with a web browser uses the HyperText Markup Language (HTML) so let’s look at it. HTML has a handful of common codes used to display content effectively, they are:
  • <p>, always followed by </p> which displays text in paragraph format
  • <br>, which never has a </br> but instead is written <br/> in xHTML and represents a line break (where a paragraph is often displayed as two line breaks to separate content)
  • <ol>, which always needs a </ol> for ordered lists (numbered lists) and <ul> with a </ul> for unordered list (bullets), both also require <li></li> tags for each list item in the list to work
  • <b></b> or <strong></strong> tags mark text as important. The <b> tag was replaced with the <strong> tag a few years back since not all languages bold words to make them more important
  • <i></i> makes a word italics but like the <b> tag, was also replaced. These days, you can use <em></em> to place emphases on a word or phrase
  • <h#> tags are special and always need an corresponding </h#> tag where the # symbol can be replaced with the numbers 1 through 6 (<h1>,<h2>,<h3>,<h4>,<h5>,<h6>) which represents the level of a header in your document
  • <img /> will allow you to place images in your document but requires special parameters we’ll talk about another time
  • <a> followed by a </a> tag will hyperlink the text between the tags to another document but also requires special parameters.
  • <table> tags can be used to display tabular data (like charts) on a web page. It needs to end in a </table> tag and can include headers (<th></th>), rows (<tr></tr>) and columns (<td></td>). Why columns are <td> is beyond me, but that’s what they are.
  • <div> tags use a closing tag of </div> to divide content into various areas of a page, much like the <span> tag, the <div> tag has no visual effect on content but is used by programmers and designers to affect content.

Essentially, the ten tag structures above represent the HTML code found in every single web page on the planet. There are other tags, but have either been replaced or are simply bad tags. For example the <u></u> tag will underline content and the <blink></blink> tag is simply wrong … even the creator of the tag, Lou Montulli (it’s odd to think somebody actually invented a tag eh?) appears to wish it would simply die.

When put together, the <html> document label tells a web browser the information is a web page, the <head> indicates content reserved for other computer systems to read, while the <body> shows content to the end user.

In total, the 26 tags here represent the whole of the content required to build your own web site for free. If you’ve found this post at all useful, please feel free to leave me a comment below, thanks for reading.

Free Premium Magazine Theme for WordPress

My very good friend Chris Bavota just uploaded an amazing new theme for WordPress on bavotasan.com, for those of you who don’t know cb’s work he’s an ex film maker / horror movie nut turned web developer a few years back and he brings an amazing skill set to every project he works on.  Chris also happens to be my partner on a lot of web projects over at Tinker Priest Media and is located in Montreal Canada.

magazine basic theme for wordpress 300x300 Free Premium Magazine Theme for WordPress image

His theme is a clean, nice looking magazine format for WordPress but what really makes it great is the backend which allows users to reformat the theme’s forward facing pages instantly, without having to worry about knowing any HTML. As you can see in the example to the right, the website can be reordered at the click of a button to change the full experience for users.

Take a look at let him know what you think, there’s a demo online as well as a ZIP to download.

How do you put together a great website without a web designer?

All this week I’ve been posting about how easy it is for non technical people to register their own domain name and how to setup a website using Blogger, WordPress.com or even BlueHost but what about the next step? How do you publish your own web page without hiring a web designer? More importantly why I telling you how to do all this stuff yourself, after all isn’t this how I make a living? No. Oddly, I make my money consulting people how to make money on the web, not how to setup small websites. Most of my professional time is spent building websites that are called web applications or developing web marketing strategies, not putting together sites for people. When I do build websites for clients, I work with charities or not-for-profits who can benefit from my experience.

So, how do you put together a great website yourself? The first step is to be honest with yourself. Ask yourself:

  • Do you have the technical knowledge to edit HTML?
  • Are you creative enough to build a website?
  • Would it be easier in the long run to simply pay somebody to do it?

That last one’s a doozy isn’t it? If you have absolutely no money the choice is easy … do it yourself but how much should you expect to pay for somebody to help you get up to speed? Most technical people charge either by the project or by the hour, so how much should it cost to get a completely non technical person (somebody who’s terrified of using any of this) from 0 to 60? That depends … let’s take a look at what’s involved:

  1. Registration of your domain name – If you already know what domain you want (you’ve searched on GoDaddy and found it) … 15 minutes.
  2. Setup of your domain at BlueHost or a similar hosting company – 30 minutes assuming everything goes wrong.
  3. Pointing the DNS servers to BlueHost, 15 minutes maximum.

So far, for all the technical set up you’re looking at one hour of time. Most qualified web designers can do all of this for you for $30-$50, depending on their experience level and rates. So for everything so far you have to ask yourself, would it be easier in the long run to simply pay somebody to do it?

Next is the choice between a static HTML website or using something like the WordPress engine to power your website. Both have advantages and disadvantages. Static HTML is just that, it’s code written in a tool like Dreamweaver and uploaded to your hosting company. No fuss, no problem and there’s a ton of free tutorials how to do it yourself. Alternatively, using a tool like WordPress which is far more technical to get installed and running but once setup, it’s easier to use and … it’s free.

Pre Installed WordPress at Bluehost

Pre Installed WordPress at Bluehost

A lot of hosting companies already have WordPress pre-installed with a service called Fantastico, all you need to do is log into your control panel and click the button. When you start a new installation, it’ll ask you a few technical questions such as:

  • The domain you’d like it installed on
  • Administration user name and password you’d like to use
  • Your website name and a description

Press a button and it’s done. Now you have a fully featured WordPress installation complete with content management system and blogging package … in about twenty minutes. Doing it yourself in HTML is still an alternative but honestly, it’s a little like driving a car with standard transmission … technically it’s better on milage and you’re more in touch with the mechanics of the car but why would you do that to yourself willingly?

Congratulations! If you’ve followed my tips so far this week you’ve registered your own domain name, setup a hosting account, pointed your domain name to your hosting account and installed a content manager on your website. All that’s left is for you to take the time to write your website and publish it to the world!

Tomorrow I’m going to talk about using WordPress as a Content Management Tool for business and non-profits, how to add pages and content as well as reorder your pages. Why not check back tomorrow or sign up for my email notification or RSS feed to be notified as soon as I post it?

Anybody can register a domain name, it’s quick and easy.

Registering your domain name is painfully simple and wonderfully cheap, so there’s no reason for you to depend on a web guru to do it for you. I mentioned in a post yesterday that I met a couple of women who are running a business but feel they’re no longer communicating effectively with their web developer. To me, that’s no surprise (we’re grumpy) but it spurred me to think about myself and some of my clients both past and present. What it made me realize is that a lot of the time, people ask me to do things because they don’t know how, not because they’re trying to compound an already frustrating day. With that in mind, I thought I’d uncloak a bit of the mystery and tell you that even you can register a domain name.

Registering your domain name is painfully simple, first you have to pick a provider. Personally I choose either GoDaddy or Domains At Cost, the latter is for doing .ca domains (yes I am Canadian). It really doesn’t matter where you register your domain as long as they’re a reputable firm. The cost of registering a domain is can range from $4.95 some days (on sale) to $19.95 with bigger companies. In my experience the two providers I listed above are ~$10 per domain.

Step one in registering your domain … see if it’s available. This can be a pretty frustrating part of the puzzle but when you find the right domain for you, register it. Simply use the domain name search form on the providers website and search. Remember, domain names can not have spaces in them or special characters which means, you must use either alphabetical letters or numbers in your name.

Step two … registration. Painfully simple, just fill out your details and submit it. During the process you’re going to be bombarded with special offers, promotions and deals for associated services. They’re not part of the domain name process, so ignore them. Simply buy your domain name and be done with it.

That’s it. You’re done. During your first domain name registration, it should take about ten minutes. On your second, about two.

Some options you might be asked about (and what they mean):

  1. Hosting – almost every domain name registration service will try to sell you hosting. You can take it or not, it’s up to you. Personally, I rely on hosting at BlueHost and strongly recommend it to people. In it’s most simple form, hosting is like renting space at the local mall. A domain name is like a street sign but hosting is where you store your website for the world to see.
  2. Privacy – Once you register your domain name, people can search and find out about you so some companies offer Privacy, it’s a quick scare tactic to convince the person to pay more for the year (about $10 a year) to hide their contact details. My advice? Use a fake address if you don’t want people to mail you stuff, a PO Box if your really concerned or if what you’re registering should never be associated with you … figure out why you’re registering it. Blogging Tips has a great article on this one.
Now that you have a website name registered, what do you do? Well, I’ll talk about that this week as well so why not sign up for my email notification or RSS feed to stay connected.

How to make a website look good in multiple browsers.

As some of you may have noticed over the past day or so I’ve updated the theme for thisismyurl.com, this has changed the overall look for the site but it’s also lead to a couple of interesting questions from some of you. As an example, one of my testers came back to me with a couple of screen shots and asked why the Shameless Self Promotion box to the right looked different in Safari vs. FireFox.

shameless both How to make a website look good in multiple browsers. image

The answer of course is that each web browser, while programmed to display the same content chooses how to display that content differently. When a web developer designs a website, the first thing that they must do is decide upon a starting point and work outward from there, correcting issues as they appear. In my case, the first thing that I do is program a website for Safari on the Macintosh and then after I have everything appearing exactly as I want it in the first browser, I test it in the next.

In my case, this is the order I build for:

  1. Safari for Macintosh
  2. Safari for Windows
  3. FireFox for Mactinosh
  4. FireFox for Windows
  5. Internet Explorer 6 for Windows
  6. Internet Explorer 7 for Windows
Now … some of you will point out that it’s a strange oder, considering first that Windows makes up more that 80% of the market and that Internet Explorer accounts for 50% of the traffic but to that I would respond you’re correct. However, I would also make a point of saying Safari is the most W3C compliant and, it happens to be what I use on my MacBook.  Building for one platform first means exactly that, I build for one set of rules first and then ensure the design is migrated to each of the other platforms only after I am happy with the changes to the first.
When you’re doing this, always remember to check that the edits you’ve done for later browsers does not have a negative effect on your earlier browsers. In my example above, for Apple Safari I used the following code to create my Shameless Self Promotion effect:
<div id=’shamelessselfpromotion’>
        <p><strong>Shameless Self Promotion</strong></p>
        <p>I’m a <a href=”http://www.thisismyurl.com/services/”>freelance web designer, web master and developer</a>. I build business solutions for the internet, consult on WordPress projects and help build better websites. If you’re looking for a helping hand, <a href=”http://www.thisismyurl.com/about/contact/”>send me a message.</a></p>
</div>
#sidebar #shamelessselfpromotion {
background-image: url(images/chrisross.jpg);
background-repeat: no-repeat;
background-position: 55px right;
padding: 0px 150px 0px 0px;
}
After viewing it in FireFox however, I had to edit the HTML and CSS to look like this:
<div id=’shamelessselfpromotion’>
        <p><strong>Shameless Self Promotion</strong></p>
        <p><img class=’alignleft’ src=’

http://www.thisismyurl.com/wp-content/themes/thisismyurl/images/chrisross.jpg

‘ alt=’Christopher Ross’ title=’Christopher Ross’/>I’m a <a href=”http://www.thisismyurl.com/services/”>freelance web designer, web master and developer</a>. I build business solutions for the internet, consult on WordPress projects and help build better websites. If you’re looking for a helping hand, <a href=”http://www.thisismyurl.com/about/contact/”>send me a message.</a></p>
</div>
#sidebar #shamelessselfpromotion {
width: 300px;
}
As you can see, the code edit was rather minor but needed to ensure the page was compatible in both FireFox and Safari, as a side benefit it also ensured the page was compatible with Internet Explorer and the Wii.