No page Opening except homepage


I created a website on 000webhost for learning purpose.i wanted to edit the .htaccess code.But when i uploaded the new one ,now none of my page is working.I am getting a message- “404. That’s an error.The requested URL was not found on this server.” in all these pages.Only the homepage is opening .Now i have already uploaded the old .htaccess code .But the same problem is still there.Help me out.

My website URL is


Your website working fine for me but the problem here is becuse the wrong rules on in your htaccess file. Please post your .htaccess file here, then I will check it to see if the problem is with your code or something else.

Thank you


I restored the default WordPress .htaccess and your pages seem to be working again :slight_smile:

If this happens again you can resolve by heading to PERMALINKS in wp-admin and choosing default/plain.

#5 works fine now.
1.but how you changed my .htacess code.
2.i tried to change the permalink settings to default,but it didn’t resolved my issue at that point.

Thanks by the way.