Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author MarcusPope

    (@marcuspope)

    @huijun – Yeah, I can absolutely look into this problem and release a patch. I’ll try to reproduce the problem today and get back with you on when I can deliver a solution.

    Thanks,
    Marcus

    Thread Starter Huijun

    (@huijun)

    @marcuspope

    Thank you Marcus, you are so effective.
    I am trying to find a solution too, but I modify the /wp-admin/includes/medis.php
    If you could realise this function in the plugin, it should be better for users.

    Have a good day.
    Stella

    Plugin Author MarcusPope

    (@marcuspope)

    @huijun – Ok, I think I have a fix for this issue. I’ll release 1.7 here shortly.

    But first, are you sure you added the following lines to the wp-config.php file?

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

    I just want to confirm because if WP_CONTENT_URL is not defined properly, it could also cause this problem.

    Another cause is if you have specified an absolute url in Admin > Settings > Media : Uploading Files. Removing this and using the default value would also fix the problem (but won’t be necessary in version 1.7 of my plugin.)

    Regardless, I can intercept the URL and adjust it to root relative. If after verifying the define statements above are in your wp-config and after upgrading to 1.7 you still have problems then let me know and I’ll work with you further on this issue.

    I should have 1.7 released in a half hour or so.

    Plugin Author MarcusPope

    (@marcuspope)

    resolved in version 1.7

    Thread Starter Huijun

    (@huijun)

    @marcuspope

    Bravo. After a weekend, this is a surprise for me. As you said, I found out that this problem was caused by the configuration of upload media.

    And I tried the new version, it works perfect.

    Thanks for your help.

    Have a good day. ??

    Stella

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Root Relative URLs] attachment guid link in "wp_post"’ is closed to new replies.