Tag Archives: htaccess

1,280 views

htaccess code

Change sitemap.txt to sitemap.php if url http://domain.com/sitemap.txt # http://domain.com/sitemap.txt open sitemap.php # in sitemap.php is function what return list of address RewriteRule ^sitemap\.txt$ sitemap.php [L] RewriteRule ^sitemap$ sitemap.php [L] Remove www before subdomain name www.www.subdomain.example.com to subdomain.example.com RewriteCond %{HTTP_HOST} (^|\.)(www\.)([^\.]*)\.example\.com$ … Continue reading

Posted in Uncategorized | Tagged | Comments Off on htaccess code