Recently I had to move my webserver to a different domain (i.e. URL).
Although the old domain was still around for some more time; I still wanted my old users/viewers to be redirected to the new website.


This article in yolinux did the trick
http://www.yolinux.com/TUTORIALS/ApacheRedirect.html

Using the below code snippet you can redirect to a different website. I had to replace my index.php in the old-website with something like this :


 


“; print “My website has moved to a better and faster server; with a new name.
“; print “This page will forward to “.$newurl.” in 5 seconds”; print ”
Please update your bookmarks.”; print ”


“; print “”; ?>

 

 

What do you think ?

Set your Twitter account name in your settings to use the TwitterBar Section.
%d bloggers like this: