cancel
Showing results for 
Search instead for 
Did you mean: 

Admin url changes domain & gives 404 error on multisite Magento 2.3.4

Admin url changes domain & gives 404 error on multisite Magento 2.3.4

After moving to new a server the admin url gives 404 error on multisite Magento 2.3.4 ,with domains new.example.com and new.20example.com

  • The frontend works perfectly for both sites

  • When I go to the admin path using new.example.com I get 404 error with or without index.php in the url.

  • If I change the domain part of the url to the new.20example.com it changes the domain part to new.example.com but includes the additional path that usually gets tacked on i.e. admin/index/index/key/(alphanumeric code)
    This also gives a 404 error. If I can force it to maintain new.20example.com in the url it should connect.

Any suggestions would be greatly appreciated.

I have done the following:

  • SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0
  • in ssh cleaned cash, reindexed and upgrade
  • I don't have access to the root of this shared server to sudo
2 REPLIES 2

Re: Admin url changes domain & gives 404 error on multisite Magento 2.3.4

It really looks great, I've seen many other posts, that's the info I needed, thanks for sharing. 

 word finder

Re: Admin url changes domain & gives 404 error on multisite Magento 2.3.4

Every find a solution? We're experiencing the same problem.