CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Members   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.club_web_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 8/16/2006 3:52:01 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 7 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
dhconsult
Asp.Net User
How to Redirect to a Subdirectory8/16/2006 3:52:01 PM

0/0

I have my clubsite in a sub-directory, and need a way to redirect users from the root directory to the subdirectory where the clubsite lives.  When users nav to the main url it's taking them to the root directory and they get a temporary default.aspx page I placed there that gives them the "under construction" page.  I implemented the clubsite using the VB version. I think I should be able to use a default.aspx page in the root directory and do some form of redirect....to accomlish this, but have not been able to make it work.  I'm new, so likely this is Operator Error.  Any suggestions would be welcomed.

Thanks,

-Doug

jimbob_texas
Asp.Net User
Re: How to Redirect to a Subdirectory8/16/2006 7:46:01 PM

0/0

Doug,

Just use

Server.Transfer("/subdirectory/default.aspx")

from your top-level default.aspx page. 

jr


Like to shoot? Come see us!
http://www.dallaspistol.com/
dhconsult
Asp.Net User
Re: How to Redirect to a Subdirectory8/17/2006 2:22:40 AM

0/0

Thanks for the info.  I this and several variations and all I got was a webpage that had this code listed.  I could never get it to transfer me to another directory.  Probably missing something.

Any other ideas?

Thanks,

-Doug

jimbob_texas
Asp.Net User
Re: How to Redirect to a Subdirectory8/21/2006 7:18:46 PM

0/0

Sounds like you might not have that subdirectory set up as an IIS application directory.  Contact your ISP, and tell them you need that folder to be executable.  That's what I have to do with my provider (Alentus.com).

Regards,
jr


Like to shoot? Come see us!
http://www.dallaspistol.com/
4 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Monitor a printqueue - microsoft.public.dotnet.framework - Web ... Monitor a printqueue, > ROOT > NEWSGROUP > Microsoft News > ... passing dynamic querystring to a menu navigation control. how to redirect to a subdirectory ...
How to automatically redirect a browser to another web page from one of ... Redirect /path-of-file-to-be-redirected URL-of-page-to-go-to ... If there is already a .htaccess file in the subdirectory in question, see the ...
Using domain, URL and port redirection and mod_rewrite on Apache Servers How to solve www vs non-www canonicalization issues and redirecting domains. ... Example 4 - How to redirect a particular subdirectory and structure ...
WordPress " Support " Tags — redirect subdirectory ... redirect subdirectory. Tag: redirect subdirectory Add ... Freshness. direct a page to a subdirectory. 1. expeditionyacht. 8 months. RSS link for this tag. ...
How to setup a 301 Redirect The 301 Permanent Redirect is the most efficient and search engine friendly method for redirecting websites. You can use it in several situations, including...
How to Redirect index.html to index.php - CSS-Tricks Tips, Tricks, and Techniques on using ... Easily Password Protect a Website or Subdirectory ... Redirecting to a Splash Page ( ...but only once! ) with Cookies ...
DynDNS: Knowledge Base -- WebHops and Redirections Redirecting a subdomain to a subdirectory (e.g. sub.dom.com to dom.com/sub) ... wish to redirect from a subdomain (e.g. subdom.domain.com) to a subdirectory of ...
How to Redirect from Your Root Domain to the WWW Subdomain and Vice ... Steps to Redirecting Your URLs Using .htaccess. Before you begin, please ... web account, with those domains redirected to a subdirectory of your main domain. ...
How to redirect user based on domain requested? [Archive] - PHPBuilder.com [Archive] How to redirect user based on domain requested? General Help ... this in code to send a header() redirect to >the subdirectory or even specific page that > ...
How to get redirects in .htaccess to *exclude* a subdomain? ... I don't want to move or redirect this subdomain / subdirectory to the .com side. ... so any requested URL that matches a Redirect prefix-URL will be redirected. ...


 
All Times Are GMT