Archive for August, 2005

Redirect Your index.rdf

Friday, August 19th, 2005

I was looking through AWStats and seeing quite a few requests for http://www.webkeydesign.com/index.rdf which is resulting in 404 Page Not Found errors as I do not have this file and WordPress does not create the RSS feeds at this location. The solution is of course to either create the index.rdf file or simply redirect it.

In cPanel you simply use the Redirects panel to have any url for your site redirect to another page. In this case the redirect ends up going to www.webkeydesign.com/feed/, which is where I actually have RSS feeds for the site.

There is some debate as to why index.rdf is being searched in the first place, but the concensus is that GoogleBot may be defaulting to this location for various sites simply looking for RSS feeds.

Deer Park As Firefox 1.6a

Friday, August 19th, 2005

After a few days of running Deer Park Alpha 2, it seems stability is improving very well and I have not had any severe browser crashes as of late. In fact the past three days have been very smooth. This morning, I’m running Build 2005-08-18 which registers as Firefox 1.6a. Since the version went up to 1.6, most extensions will disable by default. I would not try running with any themes yet, as scrollbars were still a problem this week with even the Qute theme.

(more…)

How Do You Build A Web Site?

Thursday, August 18th, 2005

This is perhaps the most asked question I hear from potential clients. How do you build a web site (when you do not know how)? Essentially there are three components to every site. First you must register a domain name, second you must have a web server to serve your web site, and lastly are the web pages themselves.

In Choosing Your Domain Name, I kind of covered some basic ideas on how to come up with a domain name for your site, so I will not cover that subject, but instead talk about what registering your domain name really means.

Domain names are not really owned as much as they are leased on a yearly basis, or for whatever amount of years you pay to register the domain name. Once you register your domain, your personal information is kept on file for that domain and is available to any one who does a WhoIs search on your domain. Some people find this disturbing and the industry has come up with privacy protection, where individuals who register domains can purchase privacy protection for an extra yearly fee. This privacy protection is still not officially recognized, so the registrars are doing this on their own to help customers have a service they want.

Besides letting know everyone, that you own the domain for a certain amount of time, your registrar also provides options to change your DNS record, the most important part of this being the official nameservers for your domain. Nameservers are the servers that tell the rest of the internet, where your actual website pages are located, on what actual machine. Your DNS record points any requests for your web site to these nameservers, who in turn point the request to the appropiate server, once it gets there, the web server knows which directory your web pages are and then serves them to who ever requested them. When you first purchase a domain name the nameservers will be defaulted to the registrar that you registered the domain with. You must change them if the registrar is not providing you with a hosting account from which to host your pages on.

This brings us to step 2, the web server. This is the physical server that will actually serve or deliver your web pages to any computer or device that requests them. This is what is meant by a web host or web hosting account.

(more…)

CSS Navigation Menu

Monday, August 15th, 2005

It is possible to create a simple navigation menu box with CSS. In fact I see this same style of menu for many of the templates for Mambo and WordPress. Here is a code sample of such a menu:


#menu_box {
width: 200px;
font-family: Verdana, Helvetica, sans-serif;
border-top: 1px solid #666666;
border-bottom: 1px solid #666666;
}

#menu_box ul {
list-style: none;
margin: 0;
padding: 0;
}

#menu_box li {
border-botom: 1px solid #666666;
}

#menu_box li a {
display:block;
padding: 5px 5px 5px 0.5em;
border-left: 10px solid #0066CC;
border-right: 1px solid #666666;
background-color: #CCCCCC;
color: #FFFFFF;
text-decoration: none;
}

#menu_box li a:hover {
background-color: #0066CC;
color: #FFFFFF;
}

The end result is a menu without tables, that highlights when you hover over any of the links.

CSS Menu Example

CSS Text Tips

Friday, August 12th, 2005

Here are a few basic CSS tips that you should learn if you are new to using stylesheets.

Basic Mouseover Color Links:

a:link, a:visited {
text-decoration: underline;
color: #0000FF;
}

a:hover, a:active {
text-decoration: none;
color: #DC143C;
}

Note: Links should be specified in the following order:

  • link
  • visited
  • hover
  • active

Underline Effect for Headings:

h1 {
font: Verdana, Arial, sans-serif;
padding: 3px;
border-bottom: 1px solid #000000;
}

(more…)