Support » Plugin: Root Relative URLs » Uninstalled plugin, media still relative

Viewing 5 replies - 1 through 5 (of 5 total)
  • jimmycrackedcorn

    (@jimmycrackedcorn)

    I found it. In the wp-config.php file your plugin left behind

    define(‘WP_CONTENT_URL’, ‘/wp-content’);

    Changing that to

    define(‘WP_CONTENT_URL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/wp-content’);

    has fixed the problem.

    @jimmycrackedcorn:
    the installation instructions for this plugin states:

    Add the following entries to your wp-config.php file before the “That’s all, stop editing!” comment:

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

    so i think its logical that you have to manually remove these changes if you uninstall / deactivate it.

    or did i miss something?

    • This reply was modified 1 year, 10 months ago by  s-light. Reason: formated code

    Hmm…I haven’t ever installed this myself because my web host includes it in the package when they install WordPress on any new hosting account that I create. I don’t think you missed something except for believing that I (should have)/had read the installation instructions.

    @jimmycrackedcorn thank you so much for posting this i was wondering how to fix my rss feed because its using relative paths still ….. wow same issue how are we supposed to know if the dang hosting company sets this up without us knowing about the changes to config file

    this plugin does break all sorts of stuff especially themes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uninstalled plugin, media still relative’ is closed to new replies.