Web-pages on a Magento website show "404 Not found" after switching the domain to nginx

Follow

Comments

4 comments

  • Avatar
    Giulio

    Hi I have a similar error 404 for magento multi languages site if in the root I do directories same name languages suffix.

    I don't know id depend magento or plesk (apache/ngnix) setting.

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Giulio the only one thing you need to consider: if you have PHP-FPM by Nginx then you need to convert .htaccess file in your document root to Nginx rewrite rules  in the Additional Nginx directives field since Nginx is not using .htaccess.

    It can be tested easily: switch to PHP-FPM by Apache under PHP Settings and if still getting 404 errors issue should be checked from Magento side.

    0
    Comment actions Permalink
  • Avatar
    Raheel Ansari

    Does anyone in the Plesk or Magento community have a working set of Nginx directives that work in Plesk for Magento 2.3.5?

    I have wasted so many days trying to figure this out that I may walk away from Plesk after 14 years.

    Any input would be greatly appreciated.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Raheel Ansari

    As I can see, you've submitted a support request.

    Indeed the additional investigation is required to provide you suggestions. Please, expect update in a ticket.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request