Skip to contentSkip to main navigation Skip to footer

/upgrade.php Not Working After WordPress Auto-Upgrade.

Due to the option to hide the upgrade.php file in Hide My WP > Change Paths > WP Core Security > Hide WordPress Common Files, it seems that the upgrade.php file is not accessible by WordPress after the auto-upgrade and it is needed to complete the WordPress upgrade.

To make it work, edit the .htaccess file using sFTP or server File Manager and remove the line:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_URI} /(readme\.html|readme\.txt|install\.php|license\.txt|php\.ini|upgrade\.php|bb-config\.php|error_log) [NC]
  RewriteRule ^(.*)$ - [L,R=404]

We add this fix in Hide My WP Ghost version 6.0.13. Upgrade the plugin after login and save the settings to rebuild the .htaccess rules.

Please contact us if you have any question.