Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default URL Rewriting...

    Hey,

    So Im not so good with rewriting urls...

    Im after rewriting the urls of 1 of my scripts so I can things such as:

    "/view/category/234" to replace view.php?type=category&id=234
    "/do/delete/log/23" to replace do.php?action=delete&type=log&id=23

    Any help + REP

    Thanks, Lew.
    Im not here to be loved, I love to be hated :-}


  2. #2
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    
    RewriteRule /view/(.*)/(.*)\.php view.php?type=$1&id=$2
    Try this in your HTACCESS for /view/category/id

  3. #3
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default

    Read this, you'll learn a bit: http://www.easymodrewrite.com/
    Helped me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •