Quantcast
Viewing all articles
Browse latest Browse all 3201

declanelcocks on "Mass 301 Redirect for old permalinks"

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>

The old CMS isnt great, but as you can see this is the permalink structure it uses. 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.

So if we forget about the new permalink structure (seeing as I may change that at some point, who knows), 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 use these but I have no idea how to go about this.


Viewing all articles
Browse latest Browse all 3201

Trending Articles