Questions
-
Code to Redirect Mobile Subdomain to Desktop Site
Well, I worked with the developer that contracts with this client and here's what he put in the .htaccess file (domain replaced with "domain"). It did the trick. RewriteEngine On RewriteCond %{HTTP_HOST} ^m.domain.com RewriteCond %{REQUEST_URI} !^/sitemap.xml$ RewriteCond %{REQUEST_URI} !^/robots.txt$ RewriteRule ^(.*) http://www.domain.com/$1 [R=301]
Intermediate & Advanced SEO | | kernmedia0