[resolved] Import From .Com Caused Photos To Be Hotlinked (3 posts)

  1. nrepair
    Posted 6 years ago #

    I imported my blog and images from a .com blog last week. If I edit a post and view the attached images in the gallery, copies of each image have been imported into my .org installation. My blog knows the uploaded images are attached to a particular post, but the images in the post are still pointing to my .com blog.

    Isn't this a form of hotlinking? What can I do about it other than manually editing every single post?

  2. Hax
    Posted 6 years ago #

    few thinks to check

    * in your database make sure that "siteurl" and "homepage" has your new url
    * check your template, make sure that your images are within the loop, that you are using one the "attachment" functions http://codex.wordpress.org/Function_Reference and they are not using "guid"

    if you are still having problems the easiest way to modify every url is to go to your database, export a txt file do a find a replace and import back the file into you database

    hope this helps

  3. nrepair
    Posted 6 years ago #

    Thanks, Hax! I exported a sql file and did a find/replace. It worked well.

Topic Closed

This topic has been closed to new replies.

About this Topic