404 Error - The Page Cannot be Found

A "404 Error" happens when the web server you are on cannot find the page that you requested. This type of error is quite common and is seen all over the place.

404 Errors can be caused by many different problems, though generally they are caused by either dead links, or errors in the websites coding. Dead links often occur when a webmaster puts external links on his website, then the website he is referring to changes, moves, or no longer exists. Coding errors on the other hand can happen all over the place! Quite often webmasters neglect to check their links as they are making them, this means that there could be a spelling mistake in the URL, a missing slash or pretty much any typing error you could think of. It's good practice to check all links as you make them!

Internal links, or links to pages within the same website also get 404 errors from time to time. Unfortunately this is due to the webmasters neglect of his own website. If modifications were made to the website, he should have checked his website, or ran an automated program to check all of his links. Broken internal links look bad and unprofessional.

There are a few ways that a webmaster can mask his errors, or at least do some recovery work if an error occurs. If a webmaster changes the framework of his website he can create re-direct pages that will move the user to their the main index, or the updated version of the page that they requested. Additionally, they should be able to stop 404 Errors all together by creating an automatic forward whenever an error occurs.

A couple tricks for webmasters to help reduce the amount of 404 errors, or try to hide the errors is to modify the .htaccess file in their website directory. This file has one variable that can be set that will allow you to specify the page that you want to send the user, should a 404 occur.

Example: ErrorDocument 404 index.php
Example: ErrorDocument 404 404.php

The first example would automatically send the user back to the main index (if the main index was called index.php), and the second would send them to a customized 404.php file, which could display an error message, or send you an auto-notification of an error that happened. Keep in mind that if you use non-absolute directories that you may not feed out the correct page. For instance if the error occurs in a subdirectory on your website, and you specify index.php as your error document, there may not be an index.php in that subfolder, thus it might be a good idea to put the below example instead.

Example: ErrorDocument 404 http://www.yoursite.com/

Note: If you use Apache HTTPD you can setup the default error documents in the configuration file!

Ken Dennis
http://kendennis-rss.homeip.net/

one time home cleaning Highland Park ..
In The News:

Privacy risks are hiding in plain sight, as your personal data is likely being collected, tracked, and sold without your knowledge.
VenHub, a fully autonomous, AI-powered smart store just opened at the LAX/Metro Transit Center in Los Angeles.
A woman's Facebook account takeover reveals dangerous social engineering tactics and provides lessons on recovery, avoiding scams and enacting stronger security measures.
Shanghai engineers are using 432 walking robots to relocate a complex, preserving Shikumen architecture while creating space for a modern underground hub and cultural center.
Major healthcare data analytics firm Episource had a cybersecurity incident exposing 5 million patients' medical records and personal information in recent breach.
A new sophisticated PayPal scam sends legitimate-looking emails from official PayPal addresses, using phone numbers instead of links to convince victims to download remote access tools.
Fox News' AI Newsletter brings you the latest on this rapidly evolving technology.
The innovative Kara Pod device extracts moisture from air to create mineral-rich water and brew coffee, featuring UV sterilization and compatibility with Nespresso pods.
Gov. Hochul unveiled New York's nuclear power plant project to power a million homes, which faces permit challenges while promising jobs and a cleaner energy future.
SAFE introduces Aerie, an underground luxury bunker combining high-end living with advanced security, wellness amenities and interactive walls simulating panoramic views.
A Facebook scammer posing as Elon Musk tricked a victim with promises of a Tesla and $250,000, requesting gift cards that become untraceable once the codes are shared.
Experience hands-free golfing with the Robera Neo smart caddie that uses AI to follow you, navigate obstacles and carry your clubs with GPS course mapping.
Cybersecurity alert: 16 billion passwords exposed in massive credential database affecting major platforms. Protect your accounts with password managers
The innovative BeBot robot uses electric power to remove pollution from shorelines, covering 20-30 times more area than manual collection while preserving wildlife.
A new ClickFix campaign targets macOS users with fake Spectrum support sites, tricking victims with CAPTCHA failures to paste commands that install information-stealing malware.
AI-powered autonomous trucks from Plus Automation are being tested across the U.S., Europe and Asia to solve logistics challenges while facing regulatory hurdles and labor concerns.
Your health information might feel private and secure with your doctor, but the reality is far more complicated. Data brokers collect a wide range of sensitive health data, from diagnoses and prescription details to personal identifiers, and sell this data to marketers, insurers, and other third parties.
Kepler Robotics has officially introduced its Forerunner K2 "Bumblebee" humanoid robot at the SAIC-GM automotive plant in Shanghai, marking a significant moment in the real-world deployment of advanced robotics.
Scammers never seem to be running out of new ways to try and get their hands on your money – and lately, they've been getting sophisticated.
Thirty people were injured and killed, though the exact number remains currently unknown, when a suicide bomber blew himself up in a Damascus church.
Unexpected password reset alerts signal potential hacking attempts or phishing scams. Learn how to respond and establish stronger security measures for your accounts.
A historic electric airplane flight landed at JFK with passengers, marking a milestone as Beta Technologies demonstrates the practicality and efficiency of electric air travel.
The Chaos ransomware group breached Optima Tax Relief in a double-extortion attack, stealing sensitive customer case files and corporate documents with personal information.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
The first human brain-computer interface by Paradromics was completed in 20 minutes, featuring microelectrodes to help paralyzed individuals control computers with thoughts.

5 Ways To Improve Your Website Immediately

If you are reading this, I assume you either have... Read More

To Flash, or Not to Flash

When considering whether or not to incorporate Flash into your... Read More

Your Website Hurts My Eyes: 7 Reasons to Tone Down Your Advertising

So you're on the computer, as usual. Your eyes are... Read More

Understanding How HTML Color Codes Work

Ever wonder how HTML color codes are put together? For... Read More

Why Do Images Disappear from a Webpage?

In learning webpage design, I encountered many problems that took... Read More

Save Time and Boost Profits with Free Content

Public domain gives you a head start creating ebooks, ecourses,... Read More

Cool Web Design And Promotion Tips

This article gives free tips on how to find a... Read More

Designing Your Web Site For ALL Browsers

Let's face it. Building a web site that browses consistently... Read More

Seven Habits of Highly Effective Webmasters

A highly effective website will always reflect its highly effective... Read More

Why Content is King of Website Design

If there's one thing that most web site developers can... Read More

Cascading Style Sheets for Better Web Design

In cascading style sheets you can specify how your web... Read More

Fast Web Design For The Skint Webmaster

About two years ago, I had a go at commercial... Read More

Color Psychology in Marketing

On the internet we don't deal with face to face... Read More

Good Web Design ? What Is It?

There is unlimited possibilities when it comes to designing a... Read More

The Secret To A Profitable Website

Whether you are planning on having a website built for... Read More

Learn the Truth about Your Web Design Company by Its Portfolio

When you start building your online business and search for... Read More

Should I Use Pop-Up Ads?

Web advertising has taken many forms, including those that appear... Read More

Choosing A Color Scheme

When you begin the design of your Web site, one... Read More

How to save money on a website

Know what you wantMake sure you know why you... Read More

Ten Steps to a Winning Home Page

There's no doubt about it - the first page your... Read More

How To Give Your Business Credibility

Let's face it. Buying products and services from the Internet... Read More

Dont Make Your Website User-UNfriendly!

Web Design is a very subjective process. Your idea of... Read More

Keep Your Navigation Consistent!

One of the single most important aspects of effective navigation... Read More

The Secrets of The Shriekers

I am constantly bombarded with all sorts of advertisements, single-page... Read More

Online Businesses Still Ignoring Dial-up Market

In this article you will find the parallel between two... Read More

licensed cleaning services Park Ridge ..