Support » Plugin: Easy Site Importer » Relative URLs fix

  • Resolved detail58


    Hi Alex,

    I think your Easy Site Importer is simply amazing.

    The best plugin I have seen in a loooong time.

    Thank you for it.

    I wanted to just drop you a note of a quick fix I made while
    attempting to use it on a sample site I was trying to import.

    The site uses relative URL’s so for example on the following URL:

    There would be links that look like:
    <a href="another-page.php">Facts About Stuff</a>

    On line 883 of code in:

    It states:

    Which causes this link to become:

    But it needs to become:

    So i fixed this by changing line 883 to:

    $formatted_dir = ($path_parts_info['dirname'] == '/' ? '/' : $path_parts_info['dirname'].'/');

    I’d love to help you whenever I make updates to the codebase, so if I
    do I’ll continue to shoot things over via email as I plan to
    definitely try and use this amazing tool you have made. If you get a
    chance please reply with your email address regarding this plugin, because I tried both from your website and they both bounce.

    If you ever want a guinea pig to test out new versions or any feedback
    I’d love to help in anyway I can.

    Once again thank you so much for creating this amazing tool, it can be
    a total life saver for many people.

Viewing 1 replies (of 1 total)
  • Plugin Author awfowler



    Thank you very much. We needing to do an import every couple of months which is why we created the tool in the first place.

    Thanks for pointing this out, I have added this into the latest version.

    I would love to spend more time on this project and hope one day to create a much bigger version with lots of options but I do not think this will happen for a few months.

    If you spot anything else like this, send it along and that would be great.

    Thanks again.


Viewing 1 replies (of 1 total)
  • The topic ‘Relative URLs fix’ is closed to new replies.