1

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.

  • Which web service you use? There is .htaccess file for Apache? – Khoa TruongDinh Dec 18 '16 at 5:57
  • no .htaccess Sir – Emiratideals Dec 18 '16 at 6:10
  • You should copy the .htaccess from your old site to the new site. – Khoa TruongDinh Dec 18 '16 at 6:11
  • I did Sir but still problem can't access dashboard cant accces any produict or page only front-page(hame page) is showing – Emiratideals Dec 18 '16 at 6:16
  • Try to flush Magento cache and try again. – Khoa TruongDinh Dec 18 '16 at 6:18
0

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

  • url_revrite module is enabled by default from my hosting as I am using dedicated hosting – Emiratideals Dec 18 '16 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.