cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve Magento 2.3.3 Admin url 404 error

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Re: How to solve Magento 2.3.3 Admin url 404 error

@Rahul Gupta  Yes, i have .htaccess file on root folder.

Re: How to solve Magento 2.3.3 Admin url 404 error

@Aveeva have you tried the steps which is shared with you?

Re: How to solve Magento 2.3.3 Admin url 404 error

Re: How to solve Magento 2.3.3 Admin url 404 error

Re: How to solve Magento 2.3.3 Admin url 404 error

@Rahul Gupta  Yes, i did

Re: How to solve Magento 2.3.3 Admin url 404 error

@Aveeva  you have installed this fresh magento?

Re: How to solve Magento 2.3.3 Admin url 404 error

Yes, this is my fresh magento 2.3.3 with sample data, after installed run below commands,

 


php bin/magento setup:upgrade
(or)
php -dmemory_limit=6G bin/magento setup:upgrade

 

Carefull to run => php bin/magento setup:upgrade –keep-generated


Carefull to run => php bin/magento setup:di:compile
(or)
Carefull to run => php -dmemory_limit=5G bin/magento setup:di:compile

 

php bin/magento setup:db-schema:upgrade

 

* php bin/magento setup:static-content:deploy
(or)
*** php -dmemory_limit=6G bin/magento setup:static-content:deploy -f

 

php bin/magento indexer:reindex
(or)
php -dmemory_limit=5G bin/magento indexer:reindex

 

php bin/magento cache:flush


php bin/magento cache:clean

Re: How to solve Magento 2.3.3 Admin url 404 error

Hello @Aveeva 

 

1. Please connect the database and check base_url  from core_config_data. In some cases, there are 2 (4 rows) places where you need to change the urls. 

so update properly base_url in core_config_data tabe.

UPDATE core_config_data SET value = REPLACE (value,'https://olddomain.com/','http://www.yournewdomain.com/');

 

2. You can check the admin frontname of backend /app/etc/env.php

e.g.

'backend' => [
'frontName' => 'backend'
]

You can also change it.

 

3. Then run the below commands :

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento cache:flush
php bin/magento setup:static-content:deploy -f
chmod -R 777 var/ pub/ generated/

 

If my answer is useful, please Accept as Solution & give Kudos

Re: How to solve Magento 2.3.3 Admin url 404 error

I am facing similar issue after adding domain names to base_url (config apache-> varnish -> magento (php server). Only admin gives 404, whoops, our bad. I tried all the steps mentioned above and I am running same version as mentioned. no luck. any pointers anyone ? 

no logs or no errors. 

Re: How to solve Magento 2.3.3 Admin url 404 error

@5e45d797eab01 Can you please give an example how your url looks like after adding domains