moving the blog

I’m considering moving this blog. Not far, just into it’s own sub-directory to leave the URL as a ‘homepage’ for other uses. I’m sure with some re-directs I can make it fairly painless, but I’d welcome any suggestions or useful pointers?


  1. Mark said:

    Oooh, sounds like you’re after a challenge Gordon!

    You should be OK though if you update your rewrite rules in your apache config or htaccess file.

    You probably want something along the lines of

    RewriteRule ^index.php/(.*)$ /blog/index.php/$1 [NC,L,R=301]

    (Tip: Don’t put the R=301 in until you’re happy it works.)

    This should redirect all of your old blog urls to your new one, except for the homepage and /index.php.

    So will not redirect, but will.

    I think…. Need to test it, but I’ve not got much time today!

    January 25, 2007
  2. Lyle said:

    Yeah, what he said.

    And it sounds right too. .htaccess rocks!

    January 25, 2007
  3. Adrian said:

    Although I would be more interested in why you want to move the blog down a level. I quite like it on the home page.

    Unless I am misunderstanding. I have my blog in /blog but the last X posts still appear in root.

    January 26, 2007
  4. Gordon said:

    I want to leave the root as a ‘homepage’ and launch the blog, onemandesigns and ‘something else’ from there in future.

    January 26, 2007
  5. Adrian said:

    My feeling is people will just go to the blog. Launch pages IMHO rarely do what they are intended to do.

    I would move your blog archives down a level (I have 3 blogs that make up my home page, each archived under /blog /site /moblog) and still use the home page as the main part of your blog, as it is now. I would work your current design so you can include windows into other things on your home page perhaps but shifting down a level will just shift your regular readers down a level and confuse newbies.


    January 26, 2007

Comments are closed.