|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
>> 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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Rewriting URLs to redirect to a script with a variable in tact |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|