1

Whenever I flush magento cache from backend enter image description here

it redirects to login page enter image description here

How do i solve this?

2
  • Did you change base url from core config data. Also I suggest you to empty /var/cache folder manually 1 time. Because sometimes it caches before flushing it.
    – kazimt9
    May 4, 2017 at 13:14
  • yes i did because i have moved site to another folder. How do i fix it, tried emptying var/cache May 4, 2017 at 13:17

1 Answer 1

1

You have not correct permission on folder media.

Please try to use from your Mage root:

#!/bin/sh
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 550 mage

Source: http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

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.