Mobile URL parameter (Redirection to desktop)
-
Hello,
We have a parallel mobile website and recently we implemented a link pointing to the desktop website. This redirect is happening via a javascript code and results in a url followed by this paramenter: ?m=off
Example:
http://www.m.website.com redirects to:
http://www.website.com/?m=offQuestions:
- Will the "http://www.website.com/?m=off" be considered duplicate content with "http://www.website.com" since they both return the same content?
- Is there any possibility that Google will take into consideration the url ending in "/?m=off"? How should we treat this new url?
- The webmaster tools URL parameter configuration at the moment isn't experiencing problems but should we submit the parameter anyway in order not to be indexed or should we wait first and see the error response?
- In case we should submit this for removal... what's the best way to do it? Like this?
- Parameter: ?m=off
- Does this parameter change page content seen by the user? - doesn't affect page content
Any help is much appreciated.
Thank you! -
Hi again!
It's normal that you feature very similar or even, duplicate content through both your mobile and desktop Website versions, what it is fundamental though is that you use the rel alternate and canonical tags that I shared with you in my previous answer. I've just checked your site and you're not using them.
If you correctly add these tags in your mobile and desktop URLs as I described in my previous answer you shouldn't have any content duplication or cannibalization issues in Google's search results.
Thanks!
Aleyda
-
Thanks Aleyda, mobile website development is something new for and since we developed this in house, we are not sure if we have done the right thing, if we have duplicate content. Is there any way we can check for duplicate content? Could you take a look at our website and its mobile version and let us know what you think?
Thank you!
-
Hi there!
It's ok (and needed) in these circumstances to use a parameter in the URL since you cannot simply add a direct link otherwise your mobile users who select to switch to the desktop version will end-up in a redirection loop. What you can do to avoid any type of content duplication issues in this type of settings is:
- Add a link rel="alternate" tag in each of the desktop URLs referring to their specific mobile URL versions and a link rel="canonical" tag in all of the mobile URLs referring to their specific desktop URLS versions, as specified here by Google. Take a look at an example here
- Configure the appropriate canonical tags in your Desktop URLs as specified here by Google, so they always refer to their original URL versions (without parameters). This means that in http://www.website.com/?m=off you should add this canonical tag:```
pointing to its original URL version... and do this with every URL (referring to its own original URL version).
By doing this you won't have any content duplication issues. If you want to learn more about Mobile SEO take a look at the Webinar I did sometime ago in SEOmoz here and this post where I answer the most common Mobile SEO questions.
Thanks,
Aleyda
-
The page ending in ?m=off is non existent. We are using Joomla and such page does not exist and cannot be configured via canonical tags. Any other suggestion?
Thank you!
-
Query parameters can become indexed by Google and can lead to duplicate content. Just make sure that you are using the canonical tag in your header pointing to the non-query parameter page, that way Google will know to index the proper URL.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What to do with existing URL when replatforming and new URL is the same?
We are changing CMS from WordPress to Uberflip. If there is a URL that remains the same I believe we should not create a redirect. However, what happens to the old page? Should it be deleted?
Technical SEO | | maland0 -
What can be the cause for difference in local rankings between mobile and desktop?
I have a site that ranks differently for the same search term on mobile and desktop computer. I'm based in Glasgow, and the search term is (I've replaced the term with X's) XXXXXX XXXXX Glasgow Searching from a location in Glasgow: Desktop: Snackpack : 2, Organic : 6
Technical SEO | | johanisk
Mobile: Snackpack: 1, Organic : 10 I'm keen to improve on the Organic positions as this term is a lead generating one for me. My site is mobile friendly and scores 69/100 on the speed test. Do you think bumping the pagespeed well "into the green" would help improve it's position? Is there anything else I should look at?0 -
Is there anyway to automatically find complete urls for 301 redirects?
Hello all, I'm working on a large site that is being prepared for a migration. After scraping on screaming frog, WMT, and deepcrawl, and deduping I have a list of 404 pages that need redirected. Many of these URLs are just incomplete URLs. For example the incomplete URL would be: "https://moz.com/beginners-guide-to" when it should be "https://moz.com/beginners-guide-to-seo" I have been finding the correct page manually searching google. With hundreds more to go, I am looking for a way the would be a little less laborious. Thanks! https://moz.com/beginners-guide-to-seo
Technical SEO | | AdamBohr0 -
Javascript is redirecting search bots to mobile
Here is the javascript I am using to send users to the mobile version of my website: This is causing major issues in Bing and Yahoo as the mobile website is the only thing ranking. I'd love any help dissecting this issue. Thanks in advance.
Technical SEO | | ShawnW0 -
Which URL would you choose?
1 – www.company.com/subfolder/subfolder/keyword-keyword-product (I’m able to keyword match with this url) or 2. www.company.com/subfolder/subfolder/product (no url keyword match) What would you choose? A url which is "short" but still relevant, or, a url which is more descriptive allowing “keyword” match? Be great to get your feedback guys. Many thanks Gary
Technical SEO | | GaryVictory0 -
Redirects for new website
Hi Moz community,
Technical SEO | | JSimmons17
I'm a fairly new SEO Specialist with a brand new website. We initially had a very basic holding website until the fully functional website was completed. I have to do some redirects as we have both .html and .php files & we don't want to lose SEO value for specific pages (like the index, news, etc). I also want to redirect from a www url to a non-www url. I am trying to accomplish redirects with the following code: RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mywebsite.com [NC]
RewriteRule (.*) http://mywebsite.com/$1 [R=301,L] RedirectMatch 301 /index.html (.*).(php|html) http://mywebsite.com/index.php RedirectMatch 301 /cupcakes-slideshow/glutenfree-slideshow.html (.*).(php|html) http://mywebsite.com/gluten-and-glutenfree.php RedirectMatch 301 /press.html (.*).(php|html) http://mywebsite.com/news-and-reviews.php Please let me know if I am on the right track. Thanks so much in advance!0 -
My number of duplicate page title and temporary redirect warnings increased after I enabled Canonical urls. Why? Is this normal?
After receiving my first SEO moz report, I had some duplicate page titles and temporary redirects. I was told enabling Canonical urls would take of this. I enabled the Canonical URLs, but the next report showed that both of those problems had increased three fold after enabled the canonical urls! What happened?
Technical SEO | | btsseo780 -
What tools produce a complete list of all URLs for 301 redirects?
I am project managing the rebuild of a major corporate website and need to set up 301 redirects from the old pages to the new ones. The problem is that the old site sits on multiple CMS platforms so there is no way I can get a list of pages from the old CMS. Is there a good tool out there that will crawl through all the sites and produce a nice spreadsheet with all the URLs on it? Somebody mentioned Xenu but I have never used it. Any recommendations? Thanks -Adrian
Technical SEO | | Adrian_Kingwell0