User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 423,333 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 5,273 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 762 | Replies: 2
Reply
Join Date: Mar 2007
Location: Wisconsin
Posts: 84
Reputation: Johnathan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
Johnathan's Avatar
Johnathan Johnathan is offline Offline
Junior Poster in Training

Redirect Problems

  #1  
May 27th, 2008
Hi I am developing a new site and would like to add a specific redirect. Here is what I would like to do.

lets say I own www.index.com and have a script in a subdirectory like lets say features "so the structure looks like" www.index.com/features" I would like to set it up so that if someone tries to link to the script in features folder they are redirected to www.index.com unless they were sent there by www.index.com

In short I want to make it so that only www.index.com can send people to the features directory links sent from anywhere else are redirected to www.index.com.

If anyone knows how to set this up please let me know. Ive been stuck on this for a while thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Arkansas
Posts: 394
Reputation: buddylee17 will become famous soon enough buddylee17 will become famous soon enough 
Rep Power: 2
Solved Threads: 77
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Whiz

Re: Redirect Problems

  #2  
May 29th, 2008
Do you know anything about server side scripts (php,asp,jsp...) and which one(s) can you use on your server. Once you find that out, look into using sessions.
Reply With Quote  
Join Date: Oct 2006
Posts: 26
Reputation: djnzak is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
djnzak djnzak is offline Offline
Light Poster

Re: Redirect Problems

  #3  
May 29th, 2008
I would agree with buddylee17 , the best and easiest would be PHP
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 11:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC