Posts Tagged ‘PHP’

HTTP Status codes and how to trigger them in PHP

Tuesday, March 10th, 2009

I will be adding all the codes to this post but for now here is how to do a php 301 redirect

PHP 301 Redirect

If you have upgraded your website and renamed some of your files, make sure you don’t get any 404 error’s – Google will punish you for it!

simply put the following lines of code at the old location:

header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.yourdomain.com/newpage.php”);
exit();

Wow I finally got a blog!

Tuesday, June 17th, 2008

It only took me 23years but i’ve got myself a blog at last!

Expect to see me writing about my experiences and mainly Web Development posts, Motorbike adventures and my current gig’s and musical oppinions…

Catch you soon..

Andi G