Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 11th, 2002, 06:12 PM
Tsigo Tsigo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 139 Tsigo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to Tsigo Send a message via AIM to Tsigo
Rewriting URLs to redirect to a script with a variable in tact

I don't know what this would be called, or I'd search for it. So, I'm sorry in advance.

If a user types in domain.com/bots/ I want it to redirect to domain.com/index.php?g=bots

Similarly, if they enter domain.com/bots/viewmember.php?name=Tsigo I want it to redirect to domain.com/viewmember.php?name=Tsigo&g=bots

If it could also cloak the URL that'd be great as well, but not really neccessary. Is any of it possible? What's it called? Where can I learn more about it? Anything would help.

Last edited by Tsigo : January 11th, 2002 at 06:16 PM.

Reply With Quote
  #2  
Old January 11th, 2002, 08:37 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I want it to redirect to domain.com/index.php?g=bots

There are two types of redirection: internal and external. Likely you are looking for search engine friendly URL (internal). So do a search with the keyword internal redirect under my username in this forum. It has been asked and answered hundred times per day.

>> if they enter domain.com/bots/viewmember.php?name=Tsigo

They shouldn't. Your viewmember.php script should be completely hidden to visitors.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Rewriting URLs to redirect to a script with a variable in tact


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway