Hello
I have following code in my .htaccess file
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^sitemap-(.*?)-(.*?)\.xml$ sitemap.php?type=$1&page=$2 [L]
Now it's working fine when i open the site like http://domain.com/sitemap.xml it auto run the sitemap.php file.
But when i try to open same site with http://[subdomain].domain.com/sitemap.xml it automatically redirecting me to my main domain.
How can i stop this redirection?
Thanks in advance
Shahbaz