Back to Knowledge Base
Knowledge Base Useful Tips How To Redirect My Website?

How To Redirect My Website?

Useful Tips 07/11/2026
<p><span style="font-family: arial, helvetica, sans-serif; font-size: small;">Solution</span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: small;">These are various ways that you can use to redirect a website/URL to another website/URL.<ol>
<li style="font: normal normal normal 11px/normal Verdana, Tahoma;"><strong>Conventional Redirect</strong>
<p style="font: normal normal normal 11px/normal Verdana, Tahoma;">First, create a file, index.php</p>
<p style="font: normal normal normal 11px/normal Verdana, Tahoma;">Second, place the contents below inside index.php</p>
<div style="background-color: #ecf3d9; padding: 15px; border: 1px dotted #d4d4d4;">
<pre>&lt;?php header("Location: <a href="http://www.vodien.com/" target="_blank">http://www.vodien.com</a>"); ?&gt;<br />
</pre>
</div>
<p style="font: normal normal normal 11px/normal Verdana, Tahoma;">Lastly, change the URL to the desired URL required.</p>
</li>
<li style="font: normal normal normal 11px/normal Verdana, Tahoma;"><span style="font-weight: bold;">Using an in-line frame, or an invisible frame (Loads within the same domain)</span>
<p style="font: normal normal normal 11px/normal Verdana, Tahoma;">First, create a file, e.g. index.html. Next, place the contents below inside that file.</p>
<div style="background-color: #ecf3d9; padding: 15px; border: 1px dotted #d4d4d4;">
<pre>&lt;html&gt;&lt;head&gt;<br />&lt;title&gt;&lt;/title&gt;&lt;/head&gt;<br />&lt;frameset rows='100%, *' frameborder=no framespacing=0 border=0&gt;<br />&lt;frame src="http://www.vodien.com" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0&gt;&lt;/frame&gt;<br />&lt;/frameset&gt;<br />&lt;noframes&gt;<br />&lt;h2&gt;Your browser does not support frames. We recommend upgrading your browser.&lt;/h2&gt;&lt;br&gt;&lt;br&gt;<br />&lt;center&gt;Click &lt;a href="http://www.vodien.com"&gt;here&lt;/a&gt; to enter the site.&lt;/center&gt;<br />&lt;/noframes&gt;&lt;/html&gt;&lt;html&gt;&lt;head&gt;<br /><br /></pre>
</div>
<p style="font: normal normal normal 11px/normal Verdana, Tahoma;">This example uses <a href="http://www.vodien.com/" target="_blank">http://www.vodien.com</a> as the URL. Simply change this URL to your desired URL for this to work in your case.</p>
</li>
</ol></span></p>
Was this article helpful?