Right now it appears WordPress is re-writing the URLs, but the web server is not processing the rewrite rules. That’s why all the links on your website don’t work.
Kindly check and be sure the permalink setting is on the default (PLAIN). Let’s get the pages to display with “ugly” URLs before we worry about changing permalinks.
Waiting here for your feedback.
Does it means that, the pages will work later on if I should wait for a while…
Because the URLs are correct but just showing not found…. And when I goto the permalink menu, the site don’t open, it rather download.
Then when I check the tiles, . htaccess is created but when I delete, the homepage of the website open and I can also login to wordpress admin
Currently I’ve deleted the .htaccess file so the homepage works as I can login to wp admin.
But I don’t know why the other pages aren’t working
Currently I’ve deleted the .htaccess file so the homepage works as I can login to wp admin.
But I don’t know why the other pages aren’t working
With the .htaccess file deleted…
Head over to the permalinks page (if it works) and set it to PLAIN and save changes.
The moment I goto the permalink page, the htaccess file is created automatically again and then the page website go lalala… Can’t access unless I delete the htaccess file
I tried to create new page and publish, the publish failed & now I can access the site, it says I don’t have permission, I’ll need to chaeck it it has created a new htaccess.
its fixed for now. i hope it does not repeat.
i got help from here >> https://www.pickaweb.co.uk/kb/wordpress-fix-404-not-found-error/
thanks to he author of that post