Why I'm getting error 404?

Hello I’m getting error 404 on my website.

Not Found

The requested URL /main was not found on this server.

I did change from AllowOverride None to AllowOverride All in httpd configuration file, but it didn’t help for me.

How could I fix it?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey i’m facing same issue on blog i.e tell me how to fix it when i load my blog for several times it automatically got to 404 nginx error.i’m using wp-cache plugin for caching.

please tell me …how to fix it?

Did you set your default in your .htaccess?

#Alternate default index page
DirectoryIndex first.html