Why Am I Getting This 404 Error Suddenly?

404 errors are common, và we have probably all encountered one before while browsing the web. But what exactly is a 404 error? What are the reasons you are getting a 404 page? và why bởi 404 errors matter for your SEO? All these questions & many more are answered in the following.

Bạn đang xem: Why am i getting this 404 error suddenly?

What is a 404 error?

A HTTP 404 error is one of the most common errors on the web. The error is also known as “404 Page Not Found”. It indicates that the page you are looking for cannot be found. Usually it will mean that the page is deleted or has been moved. It can mean that the link is broken or that it does not lead lớn a valid website or page. To lớn explain it more in-depth it means that what is happening is that when you are going lớn a specific page, your browser is asking that specific website lớn display something. If the trang web cannot find the right page to lớn display, it will give an error instead.

A 404 page is definitely not a good thing for a website. It is bad for the user experience, và frequency incidences of users being redirected khổng lồ 404 error pages can lead khổng lồ the categorization of a trang web being “untrustworthy” or “low-quality”. This categorization is made by Google’s algorithms.

Because of the 404 error being so frequent on the internet & therefore one of the most well-known errors on the web, it has ended up becoming a meme và a slang term. For instance, if you refer lớn someone as “having a 404 error”, it usually means that they are ignorant about a particular topic or maybe even slow to think.


Reasons why you"re getting a 404 page error

A user can run into a 404 page in a great variety of ways. For example, it can happen if the user follows a liên kết on a website, và the links leads khổng lồ a 404 error message. It can also happen if the user has a bookmark that leads lớn a dead-end. We will explain five reasons why you may be getting a 404 page: 

The page is moved: If a page has been moved, it is possible that the page has been placed in the wrong folder. If this happens, you might have to check the pathway lớn the page và compare it against your file transfer protocol (FTP) service or nội dung management system (CMS). If you see that the page is placed in the wrong location, you need to lớn move it khổng lồ the proper location & then try to access it from your browser again. If that does not help, you might need khổng lồ talk to your trang web host and let them help you. The page’s directory has been moved: Sometimes moving the page’s containing folder - the directory - the URL for every single page in that folder will change as well. This means that you will need khổng lồ access every page by its new URL. Moreover, the names of each folder in your URL should match what’s in your CMS or your FTP service. The whole site has been moved: If an entire site has been moved/rehosted, you might encounter an HTTP 404 error while the site readjusts to its new place. If this happens, you can either wait for it to lớn fix itself - the trang web should not be down for more than a couple of minutes after moving it - or you can get in liên hệ with your new trang web host. They should be able lớn tell you more or less how long it will take before your trang web is ready. 301 redirects have been forgotten: If a page or a whole site recently has been moved, it is possible that proper 301 redirects have not been put in place. A 301 redirect tells the user that a page has permanently moved to a new URL. Moreover, it tells tìm kiếm engines that you bởi vì not thua any rankings for valuable search terms, but you are still free to customize your trang web the way you want it. If you want an old URL khổng lồ redirect users to the same page with a different address, you have khổng lồ implement a 301 redirect on that page. The URL has been mistyped: This reason is the simplest and before you start worrying about what the reason for the 404 page must be, it is a good idea to kiểm tra the spelling in your URL. A simple error like that can cause the user to kết thúc up with an HTTP 404 error.Any non-existing URL on a webpage will usually lead lớn a 404 page. Not because the URL is broken, but simply because it doesn"t exist. You have deleted a product, category, or a page: If you delete a page, for example a product page or a category page, then you will encounter a 404 page if you access the link. This is the most common reason why you would face a 404 error on your bephongngoaidon.com.


Why fixing 404 errors matter for your SEO

So, how does 404 pages matter for your SEO? Well, 404 pages have an impact on rankings. If a page returns a 404 error, it means that the links does not exist. This also means that Google & other tìm kiếm engines will not index it (eventually). According to Google, 404 errors are a completely normal part of the web. They are normal because the website is always changing; new nội dung is made và old nội dung gets outdated & Google has 404 errors themselves. However, there is no way around that 404 pages are not good for your SEO.

Google và other search engines favor new & fresh nội dung in their algorithms. Therefore, if you have a lot of HTTP 404 errors on your website, it is automatically a sign that your website content is old & outdated. To make a long story short, it tells search engines that you are not looking after your website & this will kết thúc up harming your SEO rankings. Needless to lớn say, no one can avoid 404 pages. So don’t be worried if you have some. The most important thing is to lớn regularly check and fix them.

Furthermore, the 404 error not found is not very popular among website owners because it can mess up a user’s online experience. The error can be frustrating for users because they bởi vì not reach the page they wanted to. This can result in bad user experience. However, as a trang web owner, you can make sure that the 404 error page includes link that, for instance, lead lớn your home page, one of your popular blog posts, one of your website’s popular products, the contact page, or maybe even a way for users khổng lồ report a broken link.


Difference between a 404 error và a broken link

So, are 404s & broken liên kết the same thing? Not entirely. If a link is broken because the URL has changed location then, yes, the 404 error is hence a broken link. What is happening, in this instance, is that the user is requesting something from the vps that no longer exists. It is defined as broken because something previously existed on that specific page/link.

A broken links needs to point khổng lồ a page with any 4XX client error or 5XX hệ thống error in order to lớn be classified as broken. Therefore, broken liên kết are not always exclusively due to 404 errors.


How to lớn Fix 404 Pages (Broken Links) On Your bephongngoaidon.com

For a bephongngoaidon.com store owner, a 404 error can be frustrating. Therefore, we will now discuss the most common causes of this error, & how to lớn correct it when it occurs in the administration panel or in the front office.

It is very important to lớn mention that there are two practices of fixing a broken links that directs lớn a 404 page error. Say there is a broken links in one of your category pages. The link is: yourwebsite.com/nike-air-one và the liên kết doesn"t work. The working liên kết is: yourwebsite.com/nike-air-force-one

So what bởi vì you do? 

Bad practice: You leave the broken link like it is, and then you redirect /nike-air-one to /nike-air-force-one the page with error lớn a new page (for example the new page). Good practice: You fix the broken link on the given page and replace it with the new link and at the same time you also redirect the broken link to the new link.

The endresult for the user but the difference is that the broken link will still exist on your page, if you vì it the bad-practice way.

Apart from that, here are some checks to lớn perform khổng lồ resolve a 404 error:

1) đánh giá the deleted pages

If you have deleted pages on your website, the search engines may have found and indexed it. So it could be the access to this page via an incorrect link which caused the HTTP 404 error for the user. Tìm kiếm engines may take a long time lớn recognize that a page has been deleted, depending on how many times the tìm kiếm engine crawler visits your website. Nowadays, Google’s crawler bots will at minimum visit your trang web once or twice per week if not more.

In order lớn fix your 404 pages, you would need to know where they are. You can find many online crawlers that can crawl your whole website & scan for any broken links. Tools like Screaming Frog, Ahrefs, Seemrush are all tools that can help with that. You can google “404 checker” that scans your site for không tính phí (limited number of pages) and gives you a menu of the 404 pages & broken link that exist on your webshop.

A good method is to redirect your deleted products lớn a different page such as the home page or the category page for the deleted sản phẩm in order to suggest similar products to lớn your customers.

You can analyze all these errors with a tool (paid) called Ahrefs in order khổng lồ detect possible contents that could present this type of anomaly.

Ahrefs can perform a Health Score check on the website. After the check is done, Ahrefs will tell you the amount of 404 pages và how many broken links it found.


Then, you can see the whole list of 404 pages and on which page the broken links were found.


Image: 404 danh sách from Ahrefs Health Score giving a các mục of 404 pages on novasolar-service.dk

In addition, with bephongngoaidon.com, you can perform your analysis with a redirection module from bephongngoaidon.com Addons, which does not require any technical knowledge.

Eventually, if you keep going on và fix your 404 errors, the danh mục will be empty và you won’t have any broken links.


2) Permissions

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

We recommend that you change the CHMOD of the files via an FTP command or ask your host to lớn make this change for you. The best configuration of the permissions of your files/folders should be 755 for directories và 644 for files.

Xem thêm: Tour Du Lịch Đài Bắc Đài Loan, Danh Sách Các Tour Du Lịch Đài Loan


3) Problems with .htaccess files

This is a configuration tệp tin used by the Apache web vps in the root directory which can, amongst other things, control redirections, protect your directories and rewrite URLs.

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

You can manually delete the .htaccess file on your FTP. The .htaccess is located in the root of your installation directory.



If you’re on Filezilla, right-click on the “.htaccess” file, and click “Delete”. After the tệp tin is deleted, simply xuất hiện your website, và the .htaccess file will generate automatically again.

A safer way would be to just rename the .htaccess tệp tin to for example “.htaccess_old”. That would work as a backup as well, in case anything should go wrong và the .htaccess tệp tin regenerates in a wrong way.

Another less technical alternative is lớn just save the settings of the “SEO và URLs” page on your bephongngoaidon.com back office. This kích hoạt also automatically regenerates the .htaccess file.

Click on shop Parameters và then “Traffic và SEO”. Scroll down lớn the bottom và hit the “Save” button.



4) URL rewriting mode (mod_rewrite) is disabled

This is an Apache module that allows you lớn customize 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, inside "Shop Parameters >Traffic và SEO”, you have an alert stating "The URL rewriting mode (mod_rewrite) is not enabled on your server, or it is impossible to lớn verify its configuration", then the problem is not due to the URL rewriting mode (mod_rewrite).

Some website hosts offer a higher màn chơi of security which does not allow bephongngoaidon.com to lớn verify your vps settings. However, if your "friendly URLs" are working properly, it means that the URL rewriting mode (mod_rewrite) is installed correctly.


5) Incorrect schema of URL’s

If you by mistake have changed the schema of your URL’s “Shop Parameters >Traffic & SEO" (friendly URLs must be enabled), then it will cause mass 404 errors on many of your pages. In this case, it is possible that the "friendly URL" paths were not entered correctly.

If you’re not using any modules that make your URLs pretty, then you can follow the default schema.

The mặc định schema as of bephongngoaidon.com 1.7.x looks like:


Route lớn products. Category:/id-:id_product_attribute-rewrite-:ean13.html

Route khổng lồ category: id-rewrite

Route lớn category selected_filter: id-rewrite/:selected_filters

Route to lớn supplier: supplier/id-rewrite

Route lớn brand: brand/id-rewrite

Route khổng lồ page: content/id-rewrite

Route lớn page category: content/category/id-rewrite

Route khổng lồ modules: module/module/:controller

But beware, changing the schema path can affect your site drastically, & eventually, you will end up creating lots of broken links if you are not aware of what you’re doing. In this case, consult professional help.


6) Automatically redirect 404 error pages khổng lồ homepage

This is usually not seen as best-practice at all, but if you’re facing a lot of 404 pages, it might be the fastest way for you khổng lồ avoid your many 404 pages in the search results. Apache provides ErrorDocument directive to help you catch all types of error responses.

If you are uncomfortable with files & server directories, then you can head over khổng lồ bephongngoaidon.com addons where you will find lots of modules that can bởi the above mentioned solution.


Making Your “404 not found page” look nice

As mentioned earlier, we recommend that you customize your error message, so that the person using your website does not abandon the page, disappointed that they did not find what they were looking for.


Source: dahlsgravering.dk

Here, the Danish shop Dahls Gravering has a simple, yet useful 404 page that allows you to search for products. (PS: The search bar is also a mặc định feature on bephongngoaidon.com 404 pages). There is also a button that liên kết to their most popular category.


Source: leslipfrancais.co.uk/

Here, the french online cửa hàng "Le Slip Français” gives you the possibility lớn return to lớn the Men section or Women Section of the site to lớn discover their products.


Source: novasolar.dk

Novasolar.dk has a simple 404 page. The page has 4 helpful links. They links to their homepage, their sales page, their heating calculator page và their FAQ page.

The most important with customizing the 404 page, is to make sure the page doesn"t look “scary”. Inexperienced users could easily misunderstand it as virus or malware.

Here is a 404 page we surely all remember :-)



Don"t worry, 404 errors are inevitable

404 errors are inevitable. They will appear on your site. A broken link that gives a 404 page is not a beginner"s mistake. Indeed, all websites, online stores or other, may at some point present this type of problem.

We recommend that you frequently perform 404 page checkups on your website. Usually, if you’ve hired a SEO agency or specialist, checking up on 404 pages would be one of their responsibilities.

404 is the error most users are familiar with, but it isn’t the only one. Other errors from the 4XX family include 400 Bad Requests, 301 Unauthorized, 403 Forbidden & 408 Request Timeout.