Correct PHP_SELF

0

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

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

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.