When I'm trying to activate theme in WP I can't see that it was activated, but see old theme is still activated. Then I want to see how it look like and need refresh page again to see new theme represent in main page. How to avoid regular need to refresh pages in Wordpress?

1 Answer 1


Solved by adding to .htaccess

<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0

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.