Error 404. for Wordpress

Hello,

I am unsure why, but everytime I click on a page on my wordpress site or I want to preview my article or page I get the following answer:

  1. That’s an error.
    The requested URL was not found on this server.

Do you know how I can fix this or what I did?

Thanks for your help !

1 Like

What’s the website URL?

The website: https://le-monde-de-la-deco.000webhostapp.com but I also bought a domain to get my own website: https://deco-centrees.com

Both show a coming soon or similar type page?

Yes ! I did that because the site is not yet done. But I never had the issue before with the coming soon page

Right well if you experience the issues again can you screenshot and upload here so we can check as all we can see is the coming soon page…
https://imgur.com

Most likely a simple configuration issue.
Head to wp-admin, Settings > Permalinks> Choose default/plain simple and save.

I can take off the coming soon page so you can see the site itself if you need that to see the issue !

Sure that’d be fine.

If you hit up wp-admin > settings > permalinks > choose one that isn’t already selected, save then back to plain/default and save again.

Your issue should be resolved after that.

1 Like

Just did that it works now ! Thanks for the help !

1 Like

Ok, so it worked now my permalinks are fine but I still have this issue when I want to preview my article or update it, it still shows 404 error … I took off the coming soon page but it’s more a user issue, I can’t preview my articles or save them anymore … Sorry to bother again !

1 Like

Can you give me some screenshots of the back-end when you’re getting the error messages sorry I’m viewing your site as a user and it seems to be functioning ok for me at least

Yes ! Sorry it’s in french, but basically in red it says update failed when I try to publish or preview the article and then in the preview page it just says Error 404.

Are you using cloudflare in tandem with your hosting here?

Can you open the chrome dev tools, open the network tab, find the failing request (row in red) and check the response content?

I am using cloudfare I believe.

And that last part I have no idea how to do. How do i find the dev tools?

I have a small feeling that cloudflare may be causing the issues

Do this on whatever page you are finding issues on

Example screenshot

And screenshot the network log and post back here

Ok looks like your page I believe !

Are you able to get any more information when clicking on any of the red error messages such as why it failed or any further information at all from it usually it will reveal a little more.
I have a feeling it will be related to cloudflare or a security plugin if you have enabled any or have you enabled any plugins lately that you think might be causing this?