[HOW-TO] Redirect Clip-Bucket v2 to any other website

Hello,

 

In this article I’ll show you the way to make your website go to any other one when it loads. This is useful if you have, for example, changed of domain name, and you want old users to be redirected to the new domain. This article is written for v2.0.91, but can give you an idea of doing the same thing on other versions. If you need a tutorial for other CB version, please let me know and I’ll write it for you. I always recommend backing up the files we are going to edit, in case you want to revert changes in the future.

 

Difficulty level: Easy

1. Open index.php located in the root of the CB script, ./*

2. The next line after “<?php“, add the following:

headers("Location: http://otherwebsite.tld");

You will need to replace otherwebsite.tld, with the desired address.

3. Save and Upload.

 

That’s it, you can now go into your website, and you’ll see that your website goes to the specified address without loading your website. Any comment, problem, etc, please let me know, I’ll more than glad to help you :)

 

Best Regards,

Richi

Looking for quality ClipBucket hosting? Try out Arvixe and you won’t be disappointed.

 

Tags: , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *


6 × 5 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>