Hey everyone,
I am currently moving my blog from one domain to another one:
www.example1.com/serendipity/
to
www.example2.com/2blog/
I imported all the articles and settings through the import feature and uploaded the photos manually using ftp as suggested.
Sadly in all the articles, the path to the pictures is "/serendipity/...". Is there an elegant way to change all these references to "/blog/..."?
If not, I guess I would have to do it manually or keep an old mediabase for references on a different path (/serendipity/) and start building a new one...
Migration - Path to pictures
-
kleinerChemiker
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Change Links, Trackbacks and Comments, too...
I just noticed an even bigger headache:
Apparently upon importing the articles, the numbering of the articles changed.
So unless I find a more systematic approach, I have to redo/rematch/move all internal links, internal trackbacks, all comments manually

Apparently upon importing the articles, the numbering of the articles changed.
So unless I find a more systematic approach, I have to redo/rematch/move all internal links, internal trackbacks, all comments manually
The only way to take entries from one S9Y blog to another while preserving pictures, comments, and other properties, is to export the database as an SQL dump (phpMyAdmin makes this easy), edit the database text to reflect the new locations (any text editor will do), and re-import the database at the new location (again, phpMyAdmin is your friend).
There was once a plugin that did database backups; unfortunately, it often overran its alloted time, or otherwise had problems with the size of the task.
There's a tutorial with pictures on s9y.org for moving your blog. It covers all this nicely.
There was once a plugin that did database backups; unfortunately, it often overran its alloted time, or otherwise had problems with the size of the task.
There's a tutorial with pictures on s9y.org for moving your blog. It covers all this nicely.
Ok, just adding a few problems and solutions that I am having in case it might help someone else.
Just exporting and importing an SQL dump everything is at first a nice idea... but also overwrites your current fresh configuration. Preexisting data can also cause problems upon importing.
I managed to transfer my data without any errors during import by not selecting the following tables:
- serendipity_authors
- serendipity_authorgroups (afterall upon installation at least one author is created, I guess these tables should be cleared before importing several new authors - or just left alone)
- serendipity_config (contains your fresh blog configuration)
- serendipity_groups
- serendipity_groupconfig (I suppose similar reason as with the authors)
- serendipity_plugins (I figured I was going to install the plugins later, no need to copy this one)
Next step: Export the data from the individual tables to correct paths with an texteditor.
Just exporting and importing an SQL dump everything is at first a nice idea... but also overwrites your current fresh configuration. Preexisting data can also cause problems upon importing.
I managed to transfer my data without any errors during import by not selecting the following tables:
- serendipity_authors
- serendipity_authorgroups (afterall upon installation at least one author is created, I guess these tables should be cleared before importing several new authors - or just left alone)
- serendipity_config (contains your fresh blog configuration)
- serendipity_groups
- serendipity_groupconfig (I suppose similar reason as with the authors)
- serendipity_plugins (I figured I was going to install the plugins later, no need to copy this one)
Next step: Export the data from the individual tables to correct paths with an texteditor.