can anybody please tell me the rewrite rule so I can make a URL like this:
From:
http://www.mysite.com/info/?file=someinfo.nfo
Into:
http://www.mysite.com/info/someinfo.png
Thanks in advance.
can anybody please tell me the rewrite rule so I can make a URL like this:
From:
http://www.mysite.com/info/?file=someinfo.nfo
Into:
http://www.mysite.com/info/someinfo.png
Thanks in advance.
RewriteCond %{QUERY_STRING} ^file=([^.]*)\.nfo$
RewriteRule info/ info/%1.png
(will fail if the filename contains a "." other than the one before the extension)