URL Redirection Without Changing the Address in the Address Bar

Sometimes we want to redirect to a specific URL but keep the same address without any changes. As an example, we may need to redirect www.domain.com to www.domain.com/subdirectory . To do this you simply need to:

1) Create html file on your current directory (www.domain.com root directory) and set it as the website default page.

2) Place the following html code in it:


<frameset rows=”100%” cols=”*” border=”0″ framespacing=”0″ frameborder=no>

<frame src=”http://www.domain.com/subdirectory” SCROLLING=”yes”>



3) Change http://www.domain.com/subdirectory to the URL you want your website to redirect to it.

That’s it. If you face any issues, please contact our Support and we will always be there for you.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , | Posted under Programming/Coding | RSS 2.0

Leave a Reply

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