Website Redirect

These are various ways that you can use to redirect a website/URL to another website/URL:

Conventional Redirect

First, create a file, index.php. Second, place the contents below inside index.php

<?php header(“Location:“); ?>

Lastly, change the URL to the desired URL required.

Using an in-line frame, or an invisible frame

(Loads within the same domain)First, create a file, e.g. index.html. Next, place the contents below inside that file.




<frameset rows=’100%, *’ frameborder=no framespacing=0 border=0>

<frame src=”” name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>



<h2>Your browser does not support frames. We recommend upgrading your browser.</h2><br><br> <center>Click <a href=””>here</a> to enter the site.</center>



This example uses as the URL. Simply change this URL to your desired URL for this to work in your case.

Frame Redirect using .htaccess

Step 1. Create or edit .htaccess file.

Step 2. Add the following (make sure to replace and with your actual domain names or URLs):

When the URL is accessed through in a browser, it copies or shows the content of the website without the URL being modified.

Redirect domain name via cPanel.

Step 1. Log in to the cPanel

redirect domain

Step 2. Click Redirects under Domains panel.


Step 3. There are 2 types Permanent (301 Redirect) and Temporary (302 Redirect). You may choose any of the two depending on how you want the search engine to recognize the site. For 301, this means that the website has fully transferred already to the forwarding URL. While 302 means that this is only temporary or the real website might be under maintenance. domainredirect2

Step 4. Choose on the domain name under http://(www.)? . There may be an instance that the certain URL is under a subfolder.  You may need to enter the folder name. domainredirect4

Step 5. Type in the forwarding URL  where you want the domain name to be redirected under Redirects to field. Always make sure that http:// or https:// is part of the complete URL. Choose on the redirection.

Step 6. Click Add button to save the changes.

Website Redirection through Account Manager

If your domain name is registered with Vodien and you want to redirect it to a different URL, you may use the DNS Settings in the Account Manager. This is only applicable if the domain name is using Vodien’s name servers:

Step 1. Log in to your Account Manager.

Step 2. Click ‘Domains’.

Step 3. Choose the domain that you wish to add the website redirection.

Step 4. Locate External Editor DNS and click “Manage DNS”.

You will be redirected to the DNS page of your domain name. Scroll down to the bottom and locate Configure 3rd party DNS template.


Step 5.  Click Website Redirection.

Step 6. Enter the ‘Redirect Url’.

Step 7. If you have a hosting account associated with the domain name or using other A record, you will see a warning “There is an existing record”. Tick the checkbox ‘Tick to keep the record’ if you want to keep it. Leave it unchecked if you wish for the DNS to be overwritten.

Step 8. Click ‘update’.


Do not hesitate to contact our support team if you have further questions.

Website Redirect

(Visited 132 times, 1 visits today)