I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the XML file containing posts from the old CMS:
<PublishingArticles>
<ID></ID>
<CategoryID></CategoryID>
<AllowComments></AllowComments>
<AllowPingback></AllowPingback>
<Body></Body>
<Categories></Categories>
<ContentFormat></ContentFormat>
<IsAppoved></IsAppoved>
<IsPrivate></IsPrivate>
<IsPublished></IsPublished>
<Language></Language>
<LastModified></LastModified>
<ParentID></ParentID>
<PermaLink>/home/year/month/day/id/blog-post-name.html</PermaLink>
<Pos></Pos>
<Posted></Posted>
<Ratings></Ratings>
<Slug></Slug>
<Title></Title>
<TotalReads></TotalReads>
<TotalComments></TotalComments>
<TotalVotes></TotalVotes>
<UserName></UserName>
<Version></Version>
</PublishingArticles>
I've had no problems so far importing the posts, so my next move is to make sure the old URL's are redirecting to the new URL's.
I used WP All Import to import the posts, but there was no option to save the permalink for redirection. I've now installed the Redirection plugin but the settings don't seem to do what I want it to do.
I would like to redirect all of the old permalinks to the new locations. Does anyone have any ideas about how to go about this? I've tried looking around on Redirection but I'm unsure if it's the right way to go about it.
My current thinking is that I should extract all the permalinks from the XML file and tell the Redirection plugin to apply these, seeing as the ID will also be imported from the XML file and used when imported to WordPress. I have no idea how to do this on a mass scale however as there are 1700~ posts.
No comments:
Post a Comment