By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

Redirect a folder to a webpage

P: 1
hi
if i give www.thescripts.com/deepu then i should be directed to a page in that folder. can you tell me what should i do to make this?
thanking you in advance.
Feb 5 '08 #1
Share this Question
Share on Google+
1 Reply


harshmaul
Expert 100+
P: 490
Hi,

Just so i understand...
you go to ... www.thescripts.com/deepu
and the browser then redirects to ... www.thescripts.com/deepu/page.html

If thats what you want you can do it in one of two ways....

Expand|Select|Wrap|Line Numbers
  1. <script language="text/javascript">
  2. <!--
  3. window.location="http://www.thescripts.com/deepu/page.html";
  4. -->
  5. </script>
OR, using the non javascript approach

Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="refresh" content="1;URL=http://www.thescripts.com/deepu/page.html" />
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.