Correct PHP_SELF

Plugin Banner

Correct PHP_SELF

by Sergey Biryukov

Download
Description

On some servers $_SERVER['PHP_SELF'] contains /example.com/index.php 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 http://example.com/example.com/wp-admin/ 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.

0.1

  • Initial release
Back to top