Permalink not working after move to digital ocean of my wordpress site

Permalink not working after move to digital ocean of my wordpress site

I am able view home page,other pages are showing bellow error.

Not Found

The requested URL /news/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at Port 80

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@kmohammedca facing the same problem here.

Did you get it solved?

No luck! :-(


On Apache, a file called .htaccess controls how WordPress handles rewrites, so you’ll need to make sure that file exists. WordPress can auto-generate this file for you. To do this, you’d need to login to your WordPress Admin CP (i.e. ./wp-admin/), click on permalinks and just click “save.”

A new .htaccess file will be generated and as long as everything else is properly configured, that should take care of any permalink issues.