Hi,
You may try the following rewrite rule:
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/gallery
RewriteRule /gallery/(.*)/(.*) /pt/process-img.php&image=gallery/$1/$2
The above is to be placed in the apache config file. If you want to put it in a .htaccess file, remove the leading slash in the RewriteRule:
Code:
RewriteRule gallery/(.*)/(.*) /pt/process-img.php&image=gallery/$1/$2
Regards