WordPress.org

Ready to get started?Download WordPress

Forums

WordPress › Support » correct-php-self

Tag: correct-php-self Add New »

Correct PHP_SELF

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. Frequently Asked Questions
  2. Developer Information

Add New Topic

You must log in to post.