Posts are showing 404 error


I have recently moved a blog to Digital Ocean and after that I have started getting 404 error. None of the posts, category, tags are opening and everything is showing a 404 error. However, the homepage is opening fine. Regarding the permalink structure, only the default structure is working. Please help me to solve this issue.


Hi @sudipmus, can you kindly share your blog URL mate?

#3 - this is the blog. You can open any post to find the error.
P.S.: Recently I have moved it to DigitalOcean and now I am using Twenty Seventeen theme. Make sure you are using a VPN or proxy to get that. Otherwise you will get older version of the site, I guess.


Can you go to your WordPress permalinks settings, and save the settings once again bro?


I have done that but there is no positive sign. Posts are opening only when I use the “Plain” permalink structure. Otherwise they are showing 404 error.


Oops, then there could be several reasons for this bro, even your .htaccess code as well, but I Googled and found this having some positive answers, can you kindly check this:


Great. Now it is working fine. Thanks for the link and tutorial.