Page 1 of 1

move to different path, embeded image issue

Posted: Mon Oct 15, 2007 3:38 am
by CapriSkye
Hello guys, I've moved my installation from /blog to /live, and after the move, other than the places mentioned in the FAQ, there were several other places where I have to manually change the path. everything seems to be working correctly, except in entries where I have embedded media, they are still pointing to the old path.

example can be seen here,
http://capriskye.com/live/archives/P2.html
The 300 entry is still pointing to blog/uploads/pix/300.jpg if you look at the location of the image.
I've tried updating last_modified field in the sql, still no luck. Then I found out if I modify the entry and save it, it will point to the new path.

The reason why images still show up is because I haven't remove /blog directory yet. Anyone know where I've missed a step? Or if there's way to update all entries with embedded images to the new path? [/url]

Re: move to different path, embeded image issue

Posted: Mon Oct 15, 2007 12:07 pm
by garvinhicking
Hi!

Sadly you have to manually search+replace the media references in your entries. This is easiest done if you create a SQL dump and use search+replace in it, and then re-upload the dump.

Regards,
Garvin

Posted: Mon Oct 15, 2007 6:38 pm
by chickens
You could always just leave the old upload directory in place.

When I moved from wordpress to s9y I came across the same problem, the static images in posts. What I did was left my wordpress directory with just the image directory in place. This allows for the images to work with the least amount of work.

This is not the pretties solution, but it did work for me.

example post: http://zacgarrett.com/permalink/Windows ... eview.html

Posted: Tue Oct 16, 2007 2:37 am
by CapriSkye
great thanks guys, just thought i missed a step or something.