Web Design Articles & Tutorials

Web design articles & tutorials from Munky Online. These articles cover a range of topics from Cascading Style Sheet(CSS) styling guides to 301 redirects using an .htaccess configuration file.

HTTP error 0 occurred

Drupal - HTTP Error 0 occurred error message

After just spending most of the day on this and this being one of the most frustrating issues i've come across with Drupal I thought i'd write a list of fixes for this Filefield AHAH 'HTTP error 0 occured' as it may help someone else. There are lots of suggestions on Drupal.org but it takes a lot of searching to go through them all.

My setup is running Drupal 6.22 with the Seven admin theme, PHP 5.3.5, Apache running on CentOS. The image and file modules i'm using are: ImageAPI 6.x-1.10, Filefield 6.x-3.10,ImageField 6.x-3.10, Filefield Paths 6.x-1.4.

More on HTTP error 0 occurred

Multiple Websites & Shared Folders With VirtualBox On Windows 7 Host

Virtualbox shared folders

If you havent already set up your virtual machine, you may want to check out our guide on setting up an Ubuntu LAMP server running on VirtualBox.

This short guide will show you how to set up multiple websites to run from your development server and have the websites shared from your Windows host machine. This will allow you to work on your files and view them in your preferred browser on your host machine before uploading them to your live server.

More on Multiple Websites & Shared Folders With VirtualBox On Windows 7 Host

LAMP Ubuntu Server On VirtualBox

LAMP on Ubuntu

This tutorial is to help you set up a LAMP (Linux Apache MySQL PHP) Ubuntu virtual machine server running on VirtualBox. VirtualBox is free for you to use, and supports Linux guest additions whereas the new version of Microsoft's Virtual PC for Windows 7 does not. Guest additions allow for better integration of desktop resolutions and mouse control. Folders can be shared between the host and guest machine allowing you to simply save the file you are working on and refresh your browser, there's no need to upload via FTP/SFTP to test your changes.

More on LAMP Ubuntu Server On VirtualBox

Remove URLs using a robots.txt

Robots.txt and x-robots

It's likely that you have pages on your website that you don't want to be indexed by the search engines. These could be pages like your privacy policy or simply pages that you don't want to be accessible to the public. In the first case if the said page is a page like the privacy policy which is linked and accessible via your website then the page can be blocked using a robots.txt file.

More on Remove URLs using a robots.txt

SEO URL Canonicalization

URL canonicalization

Website URL canonicalization is an important part of Onpage SEO Optimisation. When a website is indexed by a search engine they need to choose the best URL to index for that domain. A website can normally be accessed from a number of different URLs which all point to the same domain for example:

More on SEO URL Canonicalization

Accessible CSS/XHTML - 3 Column Website Layout

3 Column Website Layout


This CSS tutorial outlines all you need as the framework for any fixed-width 3 column website. I provide the XHTML and CSS for the layout and will explain each section of the code throughout the tutorial. This article is aimed at the beginner web designer who wants to create an accessible website, learn about how it all works and why.

More on Accessible CSS/XHTML - 3 Column Website Layout

.htaccess 301 Redirects for IP Ranges

301 IP redirect using .htaccess

I'm sure that you've at some point come across some annoying bot or individual who thinks that it's a good idea to spam your blog or contact form with a load of nasty links or blocks of complete gibberish. Sometimes they can be relentless and can really start to get quite annoying and so I searched for a method that once you have obtained their IP address could redirect them to another website altogether.

More on .htaccess 301 Redirects for IP Ranges