How To Redirect My Website?

Solution

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

  1. Conventional Redirect

    First, create a file, index.php

    Second, place the contents below inside index.php

    <?php header("Location: http://www.vodien.com"); ?>

    Lastly, change the URL to the desired URL required.

  2. 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.

    <html><head>
    <title></title></head>
    <frameset rows='100%, *' frameborder=no framespacing=0 border=0>
    <frame src="http://www.vodien.com" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>
    </frameset>
    <noframes>
    <h2>Your browser does not support frames. We recommend upgrading your browser.</h2><br><br>
    <center>Click <a href="http://www.vodien.com">here</a> to enter the site.</center>
    </noframes></html><html><head>

    This example uses�http://www.vodien.com as the URL. Simply change this URL to your desired URL for this to work in your case.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to perform trace route?

Solution Windows1) From your task bar, click the start button2) Click Run...3) In the text...

How To Secure My Web Application?

Solution Having a shopping cart or content management system is an excellent option to start...

How to redirect non www to www?

Solution Create a .htaccess file in the folder of your websitePlace the contents into your...

How to secure wordpress

Solution 1) Ensure that wordpress is always up to date2) Change your FTP login details...

Backup Your Important Data Using FTP Hosting

Solution Backup Your Important Data Using FTP HostingIt can't be said enough how important it is...