I have a responsive site that adjusts itself for mobile viewports. Google comes along and looks for /m/ or /mobile/ from time to time. I don't like the 404 errors, so I'm redirecting those URLs back to the base URL like so:
(.htaccess)
# Mobile pages Google is checking
RewriteRule ^m/$ / [L,R=301,NC]
RewriteRule ^mobile/$ / [L,R=301,NC]
Is this the right thing to do to let Google know my site is mobile-friendly?