Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor danlester

    (@danlester)

    Thank you for your message, and sorry for the delay in replying.

    To be honest, it sounds like a WordPress configuration issue – not too sure where to suggest looking…

    What happens if you turn off GDE (i.e. deactivate the plugin), and then e.g. try uploading a PDF or DOC? Does it insert the URL to the file in full, or do you see the same issue again?

    If it’s the same problem then I guess we conclude it’s a WordPress config issue… if not, then maybe there is something in GDE that could be changed. I can’t promise a fix, but it would be good to know what needs to be targeted anyway.

    If anyone else has seen this issue, please jump in.

    Regards,

    Dan

    Thread Starter jimmycrackedcorn

    (@jimmycrackedcorn)

    Just wanted to post that I have not resolved this. I run 50 WordPress web sites and I use GDE on half of them.

    Of those 25 sites, GDE works correctly on maybe 22 of them, beginning each embedded tag with ‘https://www.domain.com’. On the other 3 sites, GDE omits the URL and begins the tag with ‘/wp-content….’.

    I can’t find the setting controlling this and as you said it seems to be outside of GDE.

    Thread Starter jimmycrackedcorn

    (@jimmycrackedcorn)

    I think I’ve tracked this down to being an issue not with your plugin, but with remnants left behind after uninstalling a plugin called Root Relative URLs.

    If anyone has any idea what gets left behind from this plugin I’d love to know.

    Thread Starter jimmycrackedcorn

    (@jimmycrackedcorn)

    I found my solution. In the wp-config.php file the plug-in Root Relative URLs left behind

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

    Changing that line to

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

    has fixed the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Have to always manually add the url’ is closed to new replies.