How to fix the xampp http error 404 "the requested resource is not found"

Do you remember the day you were shopping online & when you clicked on a product, you were redirected to a page that displayed something lượt thích "404 page not found"?

The article will explain different types of 404 errors và how to correct them. These errors are detrimental to you as an online store manager, but they also prevent your customers from acquiring a sản phẩm they wish to buy.

Bạn đang xem: How to fix the xampp http error 404 "the requested resource is not found"

Therefore, this is a situation in which both the seller & the buyer miss out. This is why it is important khổng lồ determine exactly what the 404 error is, & how to resolve it if it appears on your online store"s website.

The next time you see this "HTTP error" appear, you will know how lớn fix it, because you will have the knowledge to find a quick solution and thus keep sales going on your site.

What is a "HTTP error 404"?

The HTTP error 404, or more commonly called "404 error", means that the page you are trying to open could not be found on the server.

This is a client-side incident which means either the page has been deleted or moved, and the URL has not been modified accordingly, or that you have misspelled the URL.

In other words, this means that there is no website page corresponding khổng lồ the entered URL.

In addition to lớn the 404 error, there are other similar errors, such as the 500 errors, which we have discussed in another article in this blog.

How can I recognize the 404 error on my online store"s website?

This error message may appear in different ways on your computer.

Keep in mind that pages of this type can be completely modified by the domain"s, which is also desirable because, in the sự kiện of an incident, we can offer our users an alternative so as lớn not abandon the website.

These messages may appear in different ways, but there are a few recurring words that will help you know if the accident occurred is one of them.

The error message may appear as follows:

"Error 404""404 not found""The requested URL was not found on the server.""HTTP Error 404""Error 404: page not found"

This message is usually displayed in đen on a blank page.

Remember that the 404 error page can be fully customized. offers a custom 404 page by default:


What steps should you take to lớn resolve a HTTP 404 error?

Here are some simple tips you can follow to lớn try to lớn solve this problem on your own.

Later on, we will provide you with tips on how to lớn carry out an advanced diagnosis.

In any case, you should first perform these initial checks, as such an anomaly can often be resolved rather quickly.

1) The first thing to vị is to refresh the page. Press F5 to refresh the URL.

An error may have occurred if the page wasn"t loaded correctly.

2) Clear the browser cache và delete cookies. If you are able to connect khổng lồ the site via another device such as your điện thoại phone, clearing the cache and clearing cookies should easily solve the problem.

3) Check the URL & make sure it is spelled correctly.

Check spelling, hyphens, page extension, etc.

4) Remove malware: some malware can cause a 404 error lớn occur. It is imperative to make sure that your computer is protected and that it does not contain viruses.

5) Contact the site owner khổng lồ report the 404 error. If you are the trang web owner, liên hệ your web host and request further information.

An incident on the hệ thống may also be the cause of this 404 error.

Advanced diagnostics khổng lồ correct HTTP 404 errors on your online store

For a store owner, as I mentioned earlier, such an anomaly can be frustrating.

We will now discuss the most common causes of this error, và how to correct it when it occurs in the administration panel or in the front office.

Many of these "common causes" are actually due to the .htaccess file.I vì chưng not recommend using this type of file unless you are familiar with its features and have sufficient technical knowledge. 

I suggest you tương tác your hosting service in order lớn contract a support plan.

Before you start using your administration panel and files, you must make a full backup of the database and its files.

Here are some checks lớn perform to lớn resolve a 404 error:

1) review the deleted pages

If you have deleted pages on your website, the tìm kiếm engines may have found & indexed it.

Worse still, your page may have been linked to lớn another website. So it could be the access khổng lồ this page via an incorrect link which caused the HTTP 404 error for the user.

Search engines may take a long time to recognize that a page has been deleted, depending on the crawl budget that they have allocated to your project.

Some users may also have saved the liên kết to their favourites.

A good method is to lớn redirect your deleted products to a different page, such as the trang chủ page, or the category page for the deleted product, in order to lớn suggest similar products khổng lồ your customers.

Every week, I decide to lớn analyse all these errors on my own website using the Ahrefs tool, in order khổng lồ detect possible contents that could present this type of anomaly.

You can do the same by going lớn "Backlink Profile > Broken":


In addition, with, you can perform your analysis with this addons" official redirection module, which does not require any changes khổng lồ the .htaccess file code.

Xem thêm: Khám Phá Ngay Những Cái Nhất Của 12 Chòm Sao, 12 Cung Hoàng Đạo Và Những Cái Nhất

2) Permissions

If you are faced with this type of incident, accompanied by a message such as "You are not authorized to access... ", then the error is probably related to an authorisation problem.

I recommend that you change the CHMOD of a file via an FTP command, or ask your host lớn make this change for you.

The best configuration of the permissions of your files/folders should be 755 for directories and 644 for files.

However, fees vary depending on the web host. You must therefore make sure you buy them in advance.

3) The memory limit

Errors can be due to an incident related to memory_limit on your hosting.

Although not directly related, it is important to lớn know how to enable this "Error Notification".

I recommend that you enable this option, then reload the page containing the 404 error.

If a message such as "Fatal error: insufficient memory" appears, contact your website host lớn increase your available memory.

4) Problems with .htaccess files

This is a configuration file used by the Apache web hệ thống in the root directory which can, amongst other things, control redirections, protect your directories và rewrite URLs.

In many cases, 404 errors can be resolved by regenerating this file.

You can manually delete the .htaccess file via an FTP command and regenerate it in Control Panel > Advanced Settings > Performance.

In some cases, activating the "Friendly URL" option automatically regenerates the .htaccess file.

5) Incorrect SSL certificate configuration

If you install your SSL certificate, and your trang web has this anomaly, it means that the certificate has not been installed correctly.

Verify the configuration of the SSL certificate with your web host and ensure that the "SSL" version of the URL is connected lớn (or redirects to) the correct URL in the .htaccess file.

In 1.5.6+, you have the option khổng lồ force the use of SSL for all pages.

In this case, you will need to lớn confirm that any page called up in Iframe uses HTTPS.

6) URL rewriting mode (mod_rewrite) is disabled

This is an Apache module which allows you lớn customise your URLs (the "friendly URLs" or "user-friendly URLs").

If you get a 404 error after enabling them, you probably haven"t enabled the URL rewriting mode ("mod_rewrite") on your server.

If your "friendly URLs" work, but, in "Control Panel > Advanced Settings > Performance”, you have an alert stating "The URL rewriting mode (mod_rewrite) is not enabled on your server, or it is impossible to lớn verifiy its configuration",

then the problem is not due lớn the URL rewriting mode (mod_rewrite).

Some website hosts offer a higher cấp độ of security which does not allow lớn verify your hệ thống settings.

If your "friendly URLs" are working properly, it means that the URL rewriting mode (mod_rewrite) is installed correctly.

7) Incorrect "friendly URLs" path

An error can occur once you have created the path to your "friendly URLs" in “Administration Panel > Preferences > Referencing và URLs" (friendly URLs must be enabled).

In this case, it is possible that the "friendly URL" paths were not entered correctly.

Examples of custom HTTP 404 error pages in online shops

This is not a beginner"s mistake. Indeed, all websites, online stores or other, may at some point present this type of problem.

As mentioned earlier, I recommend that you customise your error message, so that the person using your trang web does not abandon the page, disappointed that they did not find what they were looking for.

1) Le Slip Français


Here, the french online siêu thị "Le Slip Français” gives you the possibility lớn return khổng lồ the Men section or Women Section of the site to lớn discover their products.

2) Ultra Secure


On the "Ultra Secure" online shop, the error page is not overly personalised, but presents users with a tìm kiếm engine, so they find products similar to the ones they were originally looking for.


To obtain further more information concerning the 404 error, it is always interesting khổng lồ perform an error tìm kiếm on Google (by adding the word in your tìm kiếm to refine the results).

You will find a lot of information & dedicated tutorials.

Furthermore, you can consult the forum discussions gathered under the heading .

With 500,000 community members, there will always be someone who is familiar with your problem và who can help you solve it.

If you follow these steps & suggestions, you should be able khổng lồ diagnose most type 404 errors.

Whether you are a customer or an online retailer, it can be difficult to lớn determine the cause or find the solution to an HTTP 404 error.