CMS 404 Not Found – How to Fix in Admin Panel

cms

when i after installing magento try goto CMS->Pages – i see 404 error, when i try found solution via mysql, also not working, i use this query:

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store);

not working

can you help me with solutions?
Thanks

Best Answer

You are getting a 404 on CMS pages because of the remains of old store views still hanging around in the database after deleting store views from Magento admin, to clean up ( delete ) old unused CMS pages for store views you have deleted run this MySQL cmd.

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store) You could also use an app like phpmyadmin to manually look for CMS entries that have store IDs that you know not to be in use, but this could get messy.

Related Topic