Magento – Magento 2 URL migration problem

404-pagemagento-2.0magento2

I had a magento website abc.com and now migrated all files and database to xyz.com.
After changing database and url path, the xyz.com is displaying the same home page(front-page). But, when you click on any product or page in home page or go to Admin Login url:

Not Found

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

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.

Need your help.

Best Answer

Looks like url_revrite module does not enable on the new server.

see more detail in http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html#enable-rewrites-and-htaccess-for-apache-24

Related Topic