help mod rewrite

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help mod rewrite

    can anyone please explain to me how modrewrite this in .htaccess
    example:
    mysite.me/index.php?do=viewuser&who=1
    modrewrite to
    mysite.me/who=1

    #2
    u can re-write it

    Code:
    http://mysite.me/index.php?do=viewuser&who=1
    to
    http://mysite.me/viewuser/1.html
    by using dat .htaccess
    Code:
    RewriteEngine On
    RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?do=$1&who=$2 [L]

    Comment

    Working...
    X