URL changes to using port when accessing wp-admin

Hey, if you guys still suffering from this error I found a solution for it!

so this happens only when nginx configuration is trying to add a trailing slash to the wp-admin, what you can do is:

  1. go to conf\nginx
  2. open the site.conf.hbs file
  3. add port_in_redirect off; under root “{{root}}”;

And You fixed it! Mark this as a solution if that worked for you so others can find it too! :grin:

2 Likes