ghorbanzade/ghorcom/master/api/.htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.api.ghorbanzade.com
RewriteRule (.*) http://api.ghorbanzade.com/$1 [r=301,nc]
RewriteCond %{HTTP_HOST} ^api.ghorbanzade.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^?]*)$ /index.php [NC,L,QSA]
Files
