ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Best way of keeping links from old Wordpress site in new EE site?

October 12, 2011 8:35am

Subscribe [2]
  • #1 / Oct 12, 2011 8:35am

    esset

    191 posts

    I’ve re-done a site for a client which used WP as their CMS. What I want to do is to keep all their old page-links for organic search engines a little while so they aren’t lost.

    What’s the best way with the new EE site to keep this?

    Let’s say http://www.domain.com/?page=100 should go to http://www.domain.com/new-page

    There’s around 50-60 of them.

    Thanks.

  • #2 / Oct 12, 2011 8:36am

    Boyink!

    5011 posts

    Easiest way I know would be some .htaccess work…

  • #3 / Oct 12, 2011 8:40am

    esset

    191 posts

    Just some regular .htaccess redirects could work I guess. Must be the easiest when thinking about it, there’s no good build in functionallity in EE(?)

    Something like this, right?

    Redirect /?page=100 <a href="http://www.domain.com/new-page">http://www.domain.com/new-page</a>
  • #4 / Oct 12, 2011 8:47am

    Boyink!

    5011 posts

    Maybe a couple easier ways:

    http://www.blue-dreamer.co.uk/blog/entry/expressionengine-301-redirects-made-easier
    http://erikreagan.com/projects/redirect-helper-lite/ (only for EE1 though).

    It gets a bit complex because in order to use template code in EE to do the redirect EE would already need to have the request, which wouldn’t be the case for a wordpress URL.  .htaccess is upstream from EE in the request stream.

  • #5 / Oct 12, 2011 8:52am

    esset

    191 posts

    Thanks Boyink! 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases