Skip to content

Instantly share code, notes, and snippets.

@joydeep-bhowmik
Last active June 25, 2024 08:17
Show Gist options
  • Save joydeep-bhowmik/4abaa9ea4f13e88338521fd72d0c42ed to your computer and use it in GitHub Desktop.
Save joydeep-bhowmik/4abaa9ea4f13e88338521fd72d0c42ed to your computer and use it in GitHub Desktop.
WordPress showing old page even after upated

WordPress showing old page even after upated

This thing happends mainly due to browser or server cache

If this problem is because of browser cache then we can hardreload the browser (ctrl + f5)

if this is because of server cache then you can replace default htaccess with the htaccess provided in wordpress documentation

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment