I am trying to convert my nginx blocks to apache(.htaccess) file but not able to achive it. Can you please help me with this
location = /index.php {
if ($a = get) {
return 301 /$a/$b;
}
}
location = /home.php {
return 301 /a/$bool;
}
for the action = get, here is what the legacy website url looks like:
/index.php?action=get&id=5000849 => /get/5000849