Note: This is a techie question, all those not interested, look away now.
(and no, I’m not doing very well at the whole ‘staying away from the blog to be productive thing…)
That nice man wot writes Hydragenic came through for me (apparently he would ‘not be defeated’, he cracked it second time round).
I’ve added the following line to my .htaccess file on the gordonmclean.co.uk domain:
RedirectMatch 301 /index.php/(.*) http://www.onemanblogs.co.uk/index.php/$1
And now when you click this link (which points at the gordonmclean.co.uk domain) you’ll be properly redirected back to this domain (onemanblogs.co.uk).
I received an email the other day. It was a nice email, the very kind I’d hoped my 404 page would generate.
The problem is a simple one. I moved domains a while ago, so some of the links that still exist point to my old blog URL (which is still live but is no longer a blog).
Following one of those links (from Lifehacker.com I think) will take you to this URL. Which is currently displaying a 404 error message.
To get to the correct page, all you need to do is edit the URL, replacing “gordonmclean” with “onemanblogs”. Simple.
So why the hell can’t I figure out how to write the appropriate .htaccess commands to get it to do that automatically.
I don’t want to redirect everything, only anything that has “/index.php…..” in the URL. Shouldn’t be THAT hard, right?
Well I’m stuck. So, dearest technical interweb friends, help!!