cancel
Showing results for 
Search instead for 
Did you mean: 

404 Not Found problem after use sql code

404 Not Found problem after use sql code

i used this code SET FOREIGN_KEY_CHECKS=0;

UPDATE `store` SET store_id = 0 WHERE code='admin';
UPDATE `store_group` SET group_id = 0 WHERE name='Default';
UPDATE `store_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;

and SQL accept my code i am clear cache and page_cache folder but i have 404 not found admin page problem again

8 REPLIES 8

Re: 404 Not Found problem after use sql code

What is your backend login URL?

Re: 404 Not Found problem after use sql code

i check it , it is true and same with app/etc/env.php 

  array (
    'frontName' => 'admin_6464',

Re: 404 Not Found problem after use sql code

Are the frontend product pages shown correctly?

Re: 404 Not Found problem after use sql code

yes Sir

Re: 404 Not Found problem after use sql code

Did the backend work ever before?

Re: 404 Not Found problem after use sql code

no , didn't work

Re: 404 Not Found problem after use sql code

Do the frontend product pages contain "index.php" part in theirs URLs?

Re: 404 Not Found problem after use sql code

no , frontpage comes up without index.php