Blogger importer doesn't maintain existing permalinks (post slug/name)
|Reported by:||justinsomnia||Owned by:|
The current Blogger importer script doesn't grab the existing permalink URL, so post_names (aka slugs) are generated by WordPress based on the title, which can sometimes differ significantly from those created by Blogger. For instance Blogger limits post names to less than 40 chars (without breaking words), it strips non-ASCII characters, and it removes article words (a, an, the).
I've written up more information about the problem along with the fix here:
Maintain permalinks moving from Blogger to WordPress
People moving from a self-hosted Blogger blog to WordPress are usually keenly aware of wanting to maintain the links to their posts (usually for PageRank purposes). Unfortunately the current script makes this impossible without manually comparing and updating the post name for every post!
Luckily it turns out that importing the Blogger post name is insanely easy (unless there's some scenario I'm not thinking about). In any event, I'm attaching a patch that I've tested successfully on a Blogger blog with 400+ posts.
Change History (11)
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.3 to 2.4 (next)
- Owner changed from anonymous to andy
- Keywords reporter-feedback added
- Resolution set to wontfix
- Status changed from new to closed