Quick htaccess question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clickclickclick
    Confirmed User
    • Jan 2005
    • 1227

    #1

    Quick htaccess question

    i need to change

    domain.com/XANDER.php

    to domain.com/

    and i need to change

    domain.com/oasda.php?browse=/asswhores

    to

    domain.com/asswhores

    silly help?
    if you need more than 3 clicks to get to a join page, something is wrong ;)

    p.s. i still bring the sales whores here.
  • QTbucks_Mark
    Confirmed User
    • Mar 2006
    • 254

    #2
    If you're using Apache you'll need mod_rewrite for that. Something like this should do it I think:

    RewriteEngine on
    RewriteRule ^/ http://domain.com/XANDER.php [R,L]
    RewriteRule ^/(.*) http://domain.com/oasda.php?browse=/$1 [R,L]

    Not tested - you might have to adjust it a little so it actually works as intended.


    QTbucks : featuring cherrywinters.com - sweetcarry.com - cutecaroline.com
    [email protected] :: ICQ 26505638

    Comment

    Working...