Posts Tagged ‘Web Server’

Creating A Custom 404 Error Page

Monday, September 28th, 2009

Every web surfer has encountered the dreaded 404 page not found error message.

The generic error page is horrible to look at and it does not encourage web visitors to explore more of your site.

Imagine being able to setup a custom error message page that looked good, told the visitor what had gone wrong and then suggested some alternative links to other locations on your site, such as the home page, sitemap or even a search page.

If the visitor wanted to, they could then visit other parts of your site.

It is very easy to setup a custom 404 error page (The 404 error is the error number returned when a page or directory is not found on your site).

The easiest way to redirect visitors that encounter a 404 is to either send them to your sites home page or to your sitemap page

We do this by placing a one line of code in your websites .htaccess file

ErrorDocument 404 /sitemap.html

This would redirect all 404 error messages to the sitemap page.

The path to the page you want to display, must already exist on your web server, otherwise the web server will tie itself up in a never ending loop.
The full path to the error page must be specified and it must be relative to the root path of that account (remember, placing a / at the front of a file name or directory specifies that it?s relative to the root directory).

To make a custom error page, simply create a page using your favorite webpage editor such as MS FrontPage or DreamWeaver. The page can contain anything you wish, such as images, links etc. Save the file as something easy to remember (such as 404errors.html)

I would then suggest you make a directory directly off your /public_html/ folder and call it ?error? and place your error files in here.

This would now mean that your .htaccess command line would now look like:
ErrorDocument 404 /error/404errors.html

Now whenever a 404 error was generated on your site, your custom error page will be displayed, and keep your web visitors happy.

In the upcoming article, I will expand on this idea, and show you how to you can receive an email notification that a 404 error has occurred on your site. It will tell you what caused the error, and the offending page. Allowing you to try and fix all broken links leading to your site.

[Sponsored] Bryan Seawell is the proud owner of this article and he owns a site called: “one week marketing“. See how he can help you with his site: “one week marketing” and allow him to share with you his best known secrets here at his exclusive site, “one week marketing review“. Thank you for your trust and belief in Bryan. Hope it will benefit you and others. Have a wonderful day ahead. [Sponsored]

Are Cookies Evil? What Service Do Cookies Perform In A Web Browser?

Sunday, July 5th, 2009

Are cookies are bad and do they invade your privacy? We’re not talking about the kind of cookie you eat, we’re talking about computer cookies! It’s not really true that cookies are evil.

So, what is a cookie, what’s it made of and what does it do? A cookie is a tiny text file that a web site can put on your computer as you browse the pages on that web site. One thing people don’t understand is that a web site can only read and write its own cookies, it cannot access another web site’s cookies. Cookies are used for storing various items of information, such as a name, or a selection choice you made. This information will be read back from the when you load other pages on the site, or, on return visits to the site.

What reason does a web site need to use cookies? Web browsers are stateless, stateless means that as you through various pages on a web site, each of those pages is a separate and distinct action. For example, the web server does not know it’s the same person that was on the home page that made the request for the order page. This is very different from desktop applications like Microsoft Excel that you run on your computer. The web server sees all page requests as individual requests for pages, not as a continuous visit from you. As you move through a web site and select things and make choices, what keeps you from having to reenter or reselect that information as you load each page? Usually the answer is a cookie. A cookie can be used by the web server to keep track of you as a user so that as you navigate from page A to page B, the web server knows it’s you and the developer of the web site can reference those items stored in your cookie to maintain a stateful experience for your session or visit to the web site.

Occasionally, you may want or need to delete your cookies.

You can delete your cookies a few ways. Most web browsers (Microsoft Internet Explorer, Netscape, FireFox, Opera,

etc.) have different ways to do this, so consult the help for your browser on how to delete the cache files and cookies. There are also several software packages to clean your PC and these packages also delete cookies.

Using cookies improves your user experience when browsing the Internet. Is there a security risk or danger to cookies? A web site can use cookies for saving information that you enter into forms on web pages and that’s where security concerns arise. Usually this never causes any problem, however, before letting someone use your computer, or taking your computer somewhere to be repaired or serviced, always delete your browser’s cache AND cookies!
Each browser is different, so consult your help files for the browser you use (Microsoft Internet Explorer, Netscape, FireFox, Opera, etc.) for how to delete the cache files and cookies.

Written by Ricco Richardson
For more informative articles
Also read on…
buy acai berry select,
acai berry select reviews
&
order acai berry select