WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: FG Joomla to WordPress] Importing to temporary site then moving to final site URLs

[Resolved] [Plugin: FG Joomla to WordPress] Importing to temporary site then moving to final site URLs

  • I am wondering if you have a solution to the problem with the URLs setting up a temporary site and then moving that to a working site with a different URL. When importing the image and link urls created are static links:
    img src="http://gdftest.co.cc/wordpress/wp-content/uploads/2004/08/soldout.jpg"

    Then when I move my site to another URL the images will not work when I shut my test site down, is there anyway to make the import URLs dynamic links so the site can move URLs?
    img src="/wp-content/uploads/2004/08/soldout.jpg"

    Is there any problem with using dynamic links?

    A couple other things I was curious about.
    1. Why does importing media also import a bunch of html pages?
    2. Does the permalink structure determine how the URLs are formed inside the imported posts and need to be set up before importing?
    3. If I have already done an import of the database and the media, is there a way to import the database and “Skip media” but have the image urls modify to the uploads directory?

    Thanks, this plugin is saving me so much time!

    http://wordpress.org/extend/plugins/fg-joomla-to-wordpress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kerfred

    @kerfred

    The solution to your problem is simple. Just before importing your database to your new host, you just have to replace the test host by the new host in your SQL file. Notepad++ can do it very simply.

    For your other questions:
    1. Can you explain me this ? I’m not aware of this problem. Normally only the media are copied (images, pdf, …).
    2. No. And only the media links are replaced. Not the internal or external links.
    3. I don’t understand why you want to do that. But if you want, you can remove the images in the upload directory after the migration or copy them with FTP.

    Great, should I replace all instances of the URL in the SQL file?

    Other questions:
    1. It copied lots of html pages to the uploads folder, for example:
    http://gdftest.co.cc/wordpress/wp-content/uploads/2007/07/Amy-s-Single-Serving-Pizzas-Roasted-Vegetable-Vegan-Soy-Free.html

    2. Okay, I will make a note to change internal links manually in posts.

    3. This is hard to explain, I emptied the wordpress content to test some import issues but don’t want to upload the half a GB of images again. I noticed when I “Skip media” the image urls in the posts do not change. Is there a way to skip media but have the urls change to the upload folder where the images have already been uploaded?

    Plugin Author Kerfred

    @kerfred

    Great, should I replace all instances of the URL in the SQL file?

    Yes

    1. It copied lots of html pages to the uploads folder

    It seems like a bug. I will have a look at it.

    3. Is there a way to skip media but have the urls change to the upload folder where the images have already been uploaded?

    I am going to see if there is a smart way to do it.

    1. So should I wait for an update to the code or just not worry about it?

    3. Not a big deal as I can just do one final import and not delete the database again. I was just testing to see how the import worked and now I think I can just update it without any issues.

    Thanks again for this fantastic plugin.

    Plugin Author Kerfred

    @kerfred

    The bug concerning the copy of html files is fixed in version 1.2.2.

    Thanks, that took the migration down from 1.5 hours to 40 minutes without saving the html files.

    Plugin Author Kerfred

    @kerfred

    The internal links are now replaced by WordPress permalinks in version 1.3.0.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: FG Joomla to WordPress] Importing to temporary site then moving to final site URLs’ is closed to new replies.