![]() | |
![]() |
.htaccess to Mask Errors on Your Website
The .htaccess file is a control file located in your webservers directory. This file is a very powerful file that can control access to certain files, restrict access to files, forward people in the event of errors, and many more useful features for webmasters! One of the most embarrassing things for a webmaster is to have a website with dead links, bad URLs, and error messages when the user surfs through your website. Using the .htaccess file you can help reduce how noticeable those errors are by quickly moving the user to a correct working location. This method of course doesn't correct the underlying problem with your website, however it does help to keep your website looking more professional. Common error codes that you want to try to hide from the user: 400 - Bad Request The biggest and most common error by far is the 404 Error (Page not found), but all of these can be embarrassing and troublesome to webmasters. If an error occurs on your website you don't want to lose that user. You may not be able to provide them with a link to the page they wanted, but you might get another chance if you redirect them to another page within your website. Syntax for .htaccess file: ErrorDocument ### index.php -- Example of format In the second example, should a user request a page that no longer exists on your website, they will automatically have the index.php file loaded. This can be done for all of the error codes listed above and will help to hide and glaring mistakes in your website. As I mentioned before, this is not a fix action for your website, but simply a mask. It's very important to review your website logs and look for error codes. The goal is to have a good working website afterall! Ken Dennis
MORE RESOURCES: Designers! Did you know you can use Canva to build a beautiful website? Here's everything you need to know Creative Bloq Framer Launches AI Features to Supercharge Web Design, Democratizing How Stunning Websites are Built Business Wire Unveiling the invisible hand: how AI is reshaping web design UNC Hussman School of Journalism and Media Web Design Trends for 2025 crescentvale.com Web Pacific Lutheran University Boston IVF Website Design Analysis DesignRush Taylor Swift uses unlikely design element to drop major Easter egg – is Reputation coming? Creative Bloq Best Web Design Companies Forbes California Privacy Penalties Focus on Quality Checks, Web Design Bloomberg Law News ChatGPT was tasked with designing a website. The result was as manipulative as you'd expect Fast Company 8 Best Apps for Web Designers in 2025 DesignRush California Tourism Leverages Interactive Web Design to Engage Gen Z and Millennial Travelers: You Need to Know Travel And Tour World Best Website Design Inspiration: Amazon DesignRush 11 Best Interactive Website Designs in 2025 DesignRush 16 Best Modern Website Designs of the Moment DesignRush 18 Best Tech Website Designs in 2025 DesignRush Web 3.0 And The Evolution Of Website Design: What You Need To Know Harlem World Magazine The Future of Web Development: Trends and Technologies on the Horizon IoT Business News 10 Best Medical Website Designs (2025) DesignRush Digital Silk Helps California Automobile Brands Redefine Online Showrooms with Interactive Web Design Yahoo Finance Lululemon Athletica Website Design Review DesignRush Web Design Statistics By UI/UX, Market Size, Web Development, Industry and Demographics Coolest Gadgets USPS Website Design: A Detailed Overview DesignRush Case Study | How to Create the Perfect E-Commerce Site | BoF The Business of Fashion Revolutionizing Web Design: How Squarespace's Design Intelligence AI Empowers Creators Boy Genius Report Mint Website Design Analysis DesignRush 11 Best Minimalist Websites for 2025 DesignRush 5 Upcoming Web Design Trends for 2022 SitePoint |
![]() |
![]() |
![]() |
RELATED ARTICLES
Color Psychology in Marketing On the internet we don't deal with face to face selling. The internet is a visual and psychological medium. 5 Easy Ways to Improve Your Website When designing your website, remember to avoid useless and confusing features, however "cool" they may seem to be. Usually, keeping things simple and consistent are the best way to go. Five Common Web Design Mistakes There are often many mistakes encountered when creating a webpage or website. Learn about the top five website mistakes, and how to avoid them. Creating Your First Website Building your first website can be very frustrating. It looks fairly easy, but almost always turns out to be more complicated than you expected. Other Ways to Look at Things Many people today are tired of the Microsoft software that came pre-packaged with their operating system. Some have switched over to Apple's Macintosh line, but for the most part we just put up with what we have. Ten Tips For Your Web Site Home Page 1. Loading time:try to be below 20kbless number of imagesspecify height and width of imagesHtml with out errosWYSIWYG editors load up your html code. The Psychology of Color in Web Design Persons engaged in website design, here's a scoop for you! Would you just like to know that by understanding the basics of cognitive psychology around color and patterns, we could further improve our Web design!Designing a Web site does not only concentrate on making web pages of a certain site interesting and impressive. This skill and talent must also be used to ensure the user-friendliness of a certain site and must strive to reach the widest range of users possible. Web Designers Beware! As a web designer, I have a personal interest in a new trend which threatens to put me and my kind out of business. That "threat" is Web Design Templates. Tapping Into The Visual Stimulus Of Your Web Site Visitors "Oh, my eyes, my eyes! What an eye sore. Quick, click away! Click away!"Suddenly I wake up in a cold sweat. Web Page Building for Beginners 4 Page ranking by search engines such as Google are not only overrated but unusually explained by "experts" in the SEO field. SEO stands for search engine optimization and is needed to get your website placed at the top of a web search. Website Sales: 10 Strategic Tips To Maximize Your Profits If you've a website but not making a lot of profitfrom it, cheer up because I have 10 website salessecrets that can help you maximize your salesand profits, starting now:1. Tell people the point or focus of your web site. Is A Picture Really Worth a Thousand Words? The great debate: how much copy you should have on your site, particularly on the home page?Do you subscribe to the idea that a picture is worth a thousand words--and therefore images, not a lot of text, should be the main thrust of your home page? Or do words have more power to capture a visitor's attention and compel them to buy--meaning you should aim for powerful copy?As a graphic designer, my natural inclination is to create graphically-rich, light text websites. Since I'm focused on what a site looks like visually, I like using impressive images, bold splashes of color all over the page, and not very much copy. Plugging the Dreaded World Wide Web Black Hole is Just the First Step You have created your custom error page so now all of that traffic that use to go into the World Wide Web black hole now stays on your web page. But if you don't do the following 15 Minute exercise once or twice a month you are not Maximizing those Lost visitorsCustom error pages are a crucial part of your web page but they are just not enough. Good Web Design - What Is It? There is unlimited possibilities when it comes to designing a website. Flash, Database, content management, Client Login, etc,etc. Pages to Include in Your Website What pages need to be included on your website? The answer varies for each type of business and depends on how informative you want your website to be for potential clients. Below is a list of sample pages for you to review while you plan out your website. Do You Hate Your Website? Web Site Sales To Hit $316 Billion Over The Next 6 Years What dollar amount does your web site contribute to this $316 billion dollar trend?Have you spent thousands, tens of thousands, or hundreds of thousands on your web site only to discover that it attracts more flies than customers?Do you hate your web site, your web developer or your entire IT department?Do not despair! You are not alone!A great web site is crucial in order to effectively communicate to a business's target audience. It is important for Chief Executives and small business owners to pay close attention to the effect that their web site has on their business. Web Coach Tip: The Single Most Important and CRUCIAL Element of Your Web Site Here's the single most important part of your website: YOUR WEB COPY!And remember: Your website isn't about YOU, it's about THEM!Again, it's NOT about you, it's about THEM!*Note: May I add, this is an area where most of my clients get stuck?If you find yourself at a total loss when it comes to writing, please let me know. ______________________________________________Write/gather/compile; prepare copy for your main pages:? Answer questions. 6 Website Design Disasters and How to Avoid Them?. Let's face it; the line from A Field of Dreams isn't the whole truth. There's more to getting people to come to something than simply building it. 10 Profitable Ways To Recycle Your Content 1. Repackage your web site content in to different products to sell. Website Design Basic Concepts So, what's in a website design anyway? And, how do you get a design that is appealing to the broad and varied tastes of all those Internet surfers out there?This is critical. Your website design is the first impression you make on your customers and visitors. ![]() |
home | site map |
Webdesign-box © 2006 |