Quote:
Originally Posted by CurrentlySober
OK, I know that my site *should* be mobile friendly, but fuck it - Google says it isn't and sends me emails complaining. When I make a change to make google happy, my site looks shit on a normal web browser and 75%+ On average of my visitors are not mobile users anyway...
So I want to dupe the site to a 'm' subdomain - m.mysite for the mobile version. Then I'll just do a dupe of the site with all the changes google wants me to make and leave my perfectly good site for the people on desktop etc, as god intended it...
Duping the site = No Problem.
Making the mobile m. subdomain = No Problem
Making all googles changes to 'new' version of site = Pain in the ass, but dooable via search and replace etc...
But what's the line to go in my .htaccess? I have googled, but all the results are from 2012 etc, and obviously the worlds moved on a bit - What's the line for 2019 / 2020 that tells anyone on mobile who hits the site, to goto the other version automagically? Spanks 4 UR time... 
|
Use CSS for responsive design and skip all the above.
If you need help, see sig.
