Magento admin display "404 error: Page not found." when I'm trying to enter CMS/Pages in the navigation. All other pages work great and even other items in CMS menu, only Pages gives 404. What should I do?

1 Answer 1


Had this exact problem..

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.

Original source: http://www.magentocommerce.com/boards/viewthread/18223/

  • i have also looked at this solution but could not sort out issue and origanl link is not opening. Can you suggest other alternative?
    – Jarnail S
    Aug 20, 2015 at 13:15
  • ..i hope it will work. Checking :)
    – Jarnail S
    Aug 20, 2015 at 13:51
  • Yes..it worked. Thank you. I had no idea that deleting store or website can create such issues. There was only 1 entry which i had to delete and it worked perfectly.
    – Jarnail S
    Aug 20, 2015 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.