This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Correct PHP_SELF


On some servers $_SERVER['PHP_SELF'] contains / instead of just /index.php. This one-line plugin restores the correct value. You only need it if you have problems with some other plugins and/or URLs like in your admin screens.


  1. Upload correct-php-self folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.


There are no reviews for this plugin.

Contributors & Developers

“Correct PHP_SELF” is open source software. The following people have contributed to this plugin.


Translate “Correct PHP_SELF” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial release