Why I'm getting error 404?

Posted May 7, 2016 4.1k views

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?

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.

Submit an Answer
2 answers

Did you set your default in your .htaccess?

#Alternate default index page
DirectoryIndex first.html

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?