[wp-trac] [WordPress Trac] #3241: Blogger importer doesn't maintain
existing permalinks (post slug/name)
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 13 23:58:08 GMT 2006
#3241: Blogger importer doesn't maintain existing permalinks (post slug/name)
----------------------------+-----------------------------------------------
Reporter: justinsomnia | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.0.4
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
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:
[http://justinsomnia.org/2006/10/maintain-permalinks-moving-from-blogger-
to-wordpress/ 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.
--
Ticket URL: <http://trac.wordpress.org/ticket/3241>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list