Remove Index.php

Permalink
Dear All,
We were using a normal jQuery Post with controller function. The post is by default appending with index.php ($.post("/index.php?.......)). How can i remove index.php.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi bbaby,

How are you adding the URL?
bbaby replied on at Permalink Reply
$.post("<?= str_replace("&", "&", $this->action('get_branch_timing')) ?>",
{
branchCode: branchCode
},
function (data, status)
{
if (status === 'success')
{

}
});

when i execute this the above will replace with
$.post("/index.php?cID=9855&bID=37509&arHandle=Main&ccm_token=766676576e&btask=passthru&method=get_branch_timing",

I don't want to call index.php because it is blocked by the security.
MrKDilkington replied on at Permalink Reply
MrKDilkington
bbaby replied on at Permalink Reply
Yes, It is already configured. I think the issue is only with jquery post request.