Rewrited url (HELP PLEASE)

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

  • GumSlone
    replied
    here is an example of my htaccess rewrite rules from xchanger.mobi
    Code:
    Options +FollowSymLinks
    RewriteEngine On
    RewriteRule ^up([0-9]+)/?$ /index.php?fileinfoid=$1 [QSA,L]
    RewriteRule ^user([0-9]+)/?$ /index.php?profile=$1 [QSA,L]
    RewriteRule ^u-(.*)/?$ /index.php?uname=$1 [QSA,L]
    RewriteRule ^sess([0-9]+)/fil([0-9]+)/(.*)/?$ /index.php?PHPSESSID=$1&act=fileinfo&fid=$2 [QSA,L]
    RewriteRule ^sess([0-9]+)/afil([0-9]+)/(.*)/?$ /index.php?PHPSESSID=$1&act=warning&fid=$2 [QSA,L]
    RewriteRule ^zipget([0-9]+)/(.*)/(.*)\.zip /download.php?id=$1&tcheck=$2&mod=zip [L]
    RewriteRule ^3gpget([0-9]+)/(.*)/(.*)\.3gp /download.php?id=$1&tcheck=$2&mod=3gp [L]
    RewriteRule ^zc([0-9]+)-n([0-9]+)/(.*)/(.*)\.(.*) /download.php?id=$1&num=$2&tcheck=$3&mod=zipcontent [L]
    RewriteRule ^get([0-9]+)/(.*)/(.*)\.(gif|jpg|jpeg|png|sis|sisx|jar|thm|png|nth|mid|midi|mmf|3gp|avi|mp4|aac|m4a|wav|mp3|amr|mpn|mpc|wbmp|bmp|zip) /download.php?id=$1&tcheck=$2 [L]

    Leave a comment:


  • frostymarvelous
    replied
    You need to use mod rewrite rules in ur htaccess

    Leave a comment:


  • morency
    replied
    same like you get in normal way ...

    Leave a comment:


  • DiL
    started a topic Rewrited url (HELP PLEASE)

    Rewrited url (HELP PLEASE)

    HELLO friends,

    i need a lil help about rewrite url....
    as we knw that we can rewrite our by using URL ReWrite in .htaccess
    but my question is, how to get values from rewrited URL....

    If your url is
    and we rewrite it as

    now i wanna take 1212 from that url...
    can anyone help me about that...????
Working...
X