Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Aug 2005
    Posts
    1,119
    Thanks
    2
    Thanked 1 Time in 1 Post

    htaccess url rewrite

    Okay, I want to put together a rewrite code in my htacess file that will allow me to do something like this:

    21,Savior,62,30,IMF,Dalian.png

    instead of

    testsig.png?style=21&username=Savior&level=62&np=30&clan=IMF&server=Dalian

    My htaccess file already forces testsig.png to be render as php.

  • #2
    Regular Coder
    Join Date
    Oct 2004
    Posts
    359
    Thanks
    0
    Thanked 17 Times in 17 Posts
    Code:
    Options +FollowSymLinks
    
    RewriteEngine On
    
    RewriteRule ^([0-9]+),([a-z]+),([0-9]+),([0-9]+),([a-z]+),([a-z]+)\.png$ testsig.png?style=$1&username=$2&level=$3&np=$4&clan=$5&server=$6 [NC,L]


  •  

    Posting Permissions

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