WordPress › Support » correct-php-self
On some servers
/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.
You must log in to post.