I have rewrite URL like following
RewriteCond %{HTTP_HOST} ^subdomain\.mydomain\.example$
RewriteRule (.*) /subdomain/$1 [L]
RewriteRule ^a/(.*)/(.*)$ search.php?searchtext=$1&locationtext=$2 [NC]
And I want to call my page like
http://kolkata.mydomain.example/a/phptraining/Kolkata
But when page is opening this is saying 404 not found. I’m not understanding this error.