I have a mobile site that has a redirect to m.sitename.com for users when they are on a detected mobile device.
The problem I have is this. Their location in google is found at www.sitename.com/locations/location-name/
But if you click that link on your phone it brings you to m.sitename.com/locations/location-name which doesnt exist.
How can i fix this? I tried editing the htaccess file in the main directory with no luck as well as the htaccess in the "m" folder.
And I guess how can i make all the main site pages redirect to the correct m.sitename.com versions
The problem I have is this. Their location in google is found at www.sitename.com/locations/location-name/
But if you click that link on your phone it brings you to m.sitename.com/locations/location-name which doesnt exist.
How can i fix this? I tried editing the htaccess file in the main directory with no luck as well as the htaccess in the "m" folder.
And I guess how can i make all the main site pages redirect to the correct m.sitename.com versions
Last edited: