Correct PHP_SELF

Created by: Sergey Biryukov

Rating:
Downloaded: 1k times

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.

Screenshots

    Categories

    Get New Themes & Resources