468,238 Members | 1,847 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,238 developers. It's quick & easy.

Redirect a folder to a webpage

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
1 1082
490 Expert 256MB

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.

Similar topics

1 post views Thread by Jac | last post: by
2 posts views Thread by WJ | last post: by
4 posts views Thread by Dot net work | last post: by
9 posts views Thread by postings | last post: by
5 posts views Thread by sck10 | last post: by
reply views Thread by AboutJAV | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.