Posts are showing 404 error

(Sudip Majhi) #1

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.

(Pradeep Kumar) #2

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

(Sudip Majhi) #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.

(Pradeep Kumar) #4

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

(Sudip Majhi) #5

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.

(Pradeep Kumar) #6

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:

(Sudip Majhi) #7

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