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?

Written By

Long time blogger, Father of Jack, geek of many things, random photographer and writer of nonsense.

Doing my best to find a balance.

More From Author

A clock showing the split of time between events

The in-between

A generated image of many app icons in a colourful display

Not yet sherlocked

Painting of the american flag on concrete, a large crack splits the flag in two

Fuck Trump

You May Also Like

An image representing writing and blogging

Where will we go?

Six Thousand

25 Years

5 comments

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 http://www.onemanblogs.co.uk/index.php will not redirect, but http://www.onemanblogs.co.uk/index.php/ will.

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

Yeah, what he said.

And it sounds right too. .htaccess rocks!

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.

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

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.

IMvHO

Comments are closed.