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
-
301 Redirects Backlinks?
I am wondering how many people still getting results from 301 redirects from high authority expired domains..? I read few case studies on detailed dot com where the shared some people still making big bucks from this strategy which i think 10beast also implemented few years back.? Is it worth it to test out 301 redirects to money sites.? How many people on the moz community here have implemented this strategy in practical and can share some insights and pros and cons of doing 301 redirects? Many Thanks.
Technical SEO | | asifseo0980 -
How to add parameter to url with 301 and wildcard
So this is my situation. I want to redirect : example.com/post1/ to example.com/post1/?m=yes
Technical SEO | | CarlLSweet0 -
Setting Up A Website For Redirects
I've got an old defunct domain with a lot of backlinks to individual pages. I'd like to use these backlinks for link juice by redirecting them to individual pages on the new domain (both sites belong to the same company). What is the best way to set this up? I presume I need some kind of hosting & site, even if it's just a default Wordpress install, which I can then use to set up the redirects? Would it be best done using .htaccess file for 301 redirects or some other way?
Technical SEO | | abisti20 -
URL Question: Is there any value for ecomm sites in having a reverse "breadcrumb" in the URL?
Wondering if there is any value for e-comm sites to feature a reverse breadcrumb like structure in the URL? For example: Example: https://www.grainger.com/category/anchor-bolts/anchors/fasteners/ecatalog/N-8j5?ssf=3&ssf=3 where we have a reverse categorization happening? with /level2-sub-cat/level1-sub-cat/category in the reverse order as to the actual location on the site. Category: Fasteners
Technical SEO | | ROI_DNA
Sub-Cat (level 1): Anchors
Sub-Cat (level 2): Anchor Bolts0 -
Redirection in .htaccess
Hi All, The problem is with the .htaccess file I have written 301 redirection code for Apache server but once I upload .htaccess file from ftp the website is throwing 500 error. Please help as I'm new to the redirection files.
Technical SEO | | Bharath_ATZ0 -
Wordpress URL weirdness - why is google registering non-pretty URLS?
I've noticed in my stats that google is indexing some non-pretty URLs from my wordpress-based blog.
Technical SEO | | peterdbaron
For instance, this URL is appearing google search: http://www.admissionsquest.com/onboardingschools/index.php?p=439 It should be: http://www.admissionsquest.com/onboardingschools/2009/01/do-american-boarding-schools-face-growing-international-competition.html Last week I added the plugin Redirection in order to consolidate categories & tags. Any chance that this has something to do with it? Recs on how to solve this? Fyi - I've been using pretty URLS with wordpress from the very beginning and this is the first time that I've seen this issue. Thanks in advance for your help!0 -
301 Redirect
Hi there, We are re-branding & re-structuring our website, there will be quite a number of 301 re-directs, possibly hundreds. The question is: Should i wait until the re-branding has been completed and do al the 301's in one go?, or should I try and do 301's as i go along? Kind Regards
Technical SEO | | Paul780 -
How to make multiple url redirection using global.asax in IIS 6?
sir, I am working with IIS 6 site and i ant to redirect three different urls of a domain to one url, i.e, there are the different versions of the same url...so how can i create one? I have found a script on google. but it says redirecting one url. see it here: Sub Application_BeginRequest(ByVal sender as Object, ByVal e as EventArgs) Try Dim requestedDomain As String = HttpContext.Current.Request.Url.ToString().toLower() If InStr(requestedDomain, "http://yoursite.com") Then requestedDomain = requestedDomain.Replace("http://yoursite.com", "http://www.yoursite.com") Response.Clear() Response.Status = "301 Moved Permanently" Response.AddHeader("Location", requestedDomain) Response.End() End If Catch ex As Exception Response.Write("Error in Global.asax :" & ex.Message) End Try End Sub
Technical SEO | | VipinLouka780