I can’t stress enough the importance of redirects. Rather than force your readers to click on a link to go to your new website or blog, you should opt for a redirect whenever possible. My hosting company, Dreamhost, offers easy ways to redirect to other pages simply by configuring the domain. f your own host doesn’t have this ability, there are plenty of PHP and Javascripts out there to help out.
Here’s my favorite: it’s a single line of PHP code. You don’t have to know PHP or anything in order to use it:
<?phpheader( ‘Location: http://yournewblog.com/’ ) ;
?>
That’s it! Copy-and-past this little bit of code into the page you want redirect to another site. Don’t forget to change the dummy text (unless you own YourNewBlog.com) and save your page with a .php extension. Automatically, your incoming traffic will redirect from your old page to your new page.
0 Responses to “A Good Redirect Script”