WordPress.org

Support

Support » Plugins and Hacks » Plugin breaks /login redirection when WP installed in a subfolder

Plugin breaks /login redirection when WP installed in a subfolder

Viewing 1 replies (of 1 total)
  • mark_at_kaazing
    Member

    @mark_at_kaazing

    I installed the Root Relative URLs plugin today and I had to change the example configuration in wp-config.php to the following:

    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
    define('WP_CONTENT_URL', '/wordpress/wp-content');
    define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);

    You’ll see that I altered the second and third line to include /wordpress

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin breaks /login redirection when WP installed in a subfolder’ is closed to new replies.