How do I fix a 404 error on a Wordpress site?

Procédure

Why do I get a 404 error on my Wordpress site?

Wordpress is one of the most powerful content management systems (CMS) available today, but certain modifications to the configuration of your Wordpress site can make it inaccessible.

One of the most common problems is the"404 page not found" error. Usually, when you get this page when browsing your website, you are still able to connect to the Wordpress dashboard. This error generally occurs when your ".htaccess" file has been deleted when it contained information relating to some of your extensions such as caching extensions, but it can also occur if the rewriting rules defined in this file are not the correct ones. All you need to do is set your permalink parameters via your Wordpress dashboard.

How do I fix a 404 error on a Wordpress site?

1. Connect to the dash board of your Wordpress website. The default url for the connection page is http://nomdedomaine.ext/wp-admin.

You will need to replace "domainname.ext" with the domain name you use for your website.

How do I fix a 404 error on a Wordpress site?


2. Click on"Settings" and then on the"Permalinks" tab.

How do I fix a 404 error on a Wordpress site?


3. Click on the"Save changes" button to reset the permalinks.

How do I fix a 404 error on a Wordpress site?


This will update your"permalinks" parameters and empty the rewriting rules in your ".htaccess" file. In most cases, this solution will correct the"404 page not found" error.

Conclusion

You are now able to correct a 404 error on your Wordpress site hosted by LWS. This error is often due to a problem with the rewriting of permalinks defined in your .htaccess file. You can modify the .htaccess file yourself to add your own rules.

Don't hesitate to share your comments and questions!

Rate this article :

5/5 | 2 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

2mn reading

How to move a Wordpress blog to another directory

2mn reading

How to resolve a 500 or blank page error on Wordpress

4mn reading

How do you update your Wordpress site?


Ask the LWS team and its community a question