I have URL as: spa-shop/admin/index?docid=abc ,For this URL i am using htacces Rewrite Rule. The rule is as follow:
RewriteRule ^((?i)spa-shop)/(admin)/([a-zA-Z\?]*)$ spavendor/index.php?url=spaAdmin/$3 [L]
In this the output which i am expecting is :
spashop/index.php?url=spaAdmin/index?docid=abc , but I am getting the URl as:
spashop/index.php?url=spaAdminShop/index. Please let me know what is the problem though i am escaping the ? in the rewrite rule. But it seems not being escaped.