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

February 9, 2017 462 views
Apache Ubuntu 16.04

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 sunrisestudio.co.in Port 80

3 Answers

@kmohammedca

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.

@kmohammedca facing the same problem here.

Did you get it solved?

Have another answer? Share your knowledge.