I want to replace 2 parameters values in url
my url under below i want to replace error and status_description parameters inside + and ğ like special characters with _ character. so this link gives 403 error.
https://www.mywebsite.com/folder/?fail=true&order_no=&order_id=&invoice_id=59448&status_code=1&status_description=cc+no+istenilen+formatta+değil.&transaction_type=Auth&1&error_code=1&error=cc+no+istenilen+formatta+değil.&auth_code=&installment=1
My htaccess. code under below but dont works. (Deleting all parameters only shows /_ )
<IfModule LiteSpeed>
RewriteEngine On
RewriteRule ^(.*)ğ(.*)$ /$1_$2 [L,R=301]
RewriteRule ^(.*)+(.*)$ /$1_$2 [L,R=301]
RewriteRule ^(.*).(.*)$ /$1_$2 [L,R=301]
</IfModule>
any idea thanks for help .
My htaccess. code under below but dont works. (Deleting all parameters only shows /_ )
<IfModule LiteSpeed>
RewriteEngine On
RewriteRule ^(.*)ğ(.*)$ /$1_$2 [L,R=301]
RewriteRule ^(.*)+(.*)$ /$1_$2 [L,R=301]
RewriteRule ^(.*).(.*)$ /$1_$2 [L,R=301]
</IfModule>
New contributor
Neo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.