How To Create M-dot Site?

- 1 answer

I'm trying to figure out how to create an M-dot site. My current site is already responsive and I'm using only 1 URL which is and since Google goes to mobile-first indexing I'm trying to create an to apply the best practices for mobile-first indexing and since it tells something about Separate URLs, here's the link: Best practices for mobile-first indexing.

My questions is to create a separate URL for mobile do I have to copy all the original files and create a new folder for mobile and set the domain that access this folder to

Is that the right way to create a M-dot site?



If you want to create a site which is like " ", then you should make a new subdomain and point it to the directory where you have keep the absolute mobile version of you site, not responsive.

But, for it to work you also first need to make some changes in .htacess file.


You need to resolve media queries with JAVASCRIPT or with anyone of programing script that if the size of the screen is lesser than the desktop then the main site should redirect to the version of your website.

For conclusion it is really easy to do so. But if you have a responsive website I don't think you need to do anything with your current site.