|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
.htaccess redirects.
Hey guys + gals,
Im at a loss for what to put in my .htaccess file. What I want to do is have the address bar display something like address bar to display www.domain.net/pages/news/ but have the actual file that is being loaded to be www.domain.net/index.php?page=news I have seen this done before, but cant remember how. Any help would be appreciated. Frazz. |
|
#2
|
||||
|
||||
|
RE: .htaccess redirects.
The key word is mod_rewrite. Use search to find pervious threads, I believe there was a thread that taught very basic things about it.
|
|
#3
|
|||
|
|||
|
RE: .htaccess redirects.
thankyou very much for your reply. I managed to figure it out. For any one else that needs help with this the .htaccess i used was:
Code:
RewriteEngine on RewriteRule ^page/(.+)/(.+)/$ page.php?page=$1&function=$2 |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > .htaccess redirects. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|