Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Is 301 redirect the only way when using Vanity URLs?
We have been using vanity urls for some of our pages. Mostly the pages that have a vanity URL have a long URL length. But now the problem is, the vanity URL is getting displayed on the search engine when the particular keyword related to the page is entered. I checked the google search console, the vanity URL is indexed and the original URL remains unindexed. What should I do? Is adding 301 redirect to the vanity URLs are solution? Since some of vanity URLs are not redirecting to the original. Some of the original pages are not getting traffic. Also, can using canonical tag help?
Technical SEO | | tejasbansode0 -
Folders in url structure?
Hello, Revamping an out-of-date website and am wondering if I need to include the folders (categories) in the url structure? The proposed structure has 8 main folders. I've been reading that Google is ok if the folder is not included in the url, but is it really? The hesitation I have is that the urls are getting long and the main folder only has only a sub folder beneath it. So, /folder-name/facility-name/treatment-overview. This looks too long, doesn't it? Thanks!
Technical SEO | | lfrazer1230 -
URL too long. Shorten and redirect, or leave alone?
MOZ is indicating that i have several URLs that are too long. Should I shorten the URLs and redirect the long URLs to the new, shorter, URL? Or should i leave them alone, as I've been reading to avoid redirects.
Technical SEO | | Hanover4401 -
301 redirect adding trailing slash to url
I am looking into a .htacess file for a site I look after and have noticed that the urls are all 301 redirecting from a none slash directory to a trailing slashed directory/folders. e.g. www.domain.com/folder gets 301 redirected to www.domain.com/folder/ Will this do much harm and reduce the effect on the page and any links pointing to the site be lessened? Secondly I am not sure what part of my htaccess is causing the redirect. RewriteCond %{HTTP_HOST} !^www.domain.co.uk [NC] RewriteCond %{HTTP_HOST} !^$
Technical SEO | | TimHolmes
RewriteRule ^(.*) http://www.domain.co.uk/$1 [L,R,NE] RewriteCond %{THE_REQUEST} ^./index.php
RewriteRule ^(.)index.php$ /$1 [R=301,L] or could a wordpress ifmodule be causing the problem? Any info would be apreciated.0 -
Numbers in URL
Hey guys! Need your many awesome brains. 🙂 This may be a very basic question but am hoping you can help me out with some insights beyond "because Google says it's better". 🙂 I only recently started working with SEO, and I work for a SaaS website builder company that has millions of open/active user sites, and all our user sites URLs, instead of www.mydomainname.com/gallery or myusername.simplesite.com/about, we use numbers, so www.mysite.com/453112 or myusername.simplesite.com/426521 The Sales manager has asked me to figure out if it will pay off for us in terms of traffic (other benefits?) to change it from the number system to the "proper" and right way of setting up these URLs. He's looking for rather concrete answers, as he usually sits with paid search and is therefore used to the mindset of "if we do x it will yield us y in z months". I'm finding it quite difficult to find case studies/other concrete examples beyond the generic, vague implication that it will simply be "better" (when for example looking at SEO checklists and search engine guidelines). Will it make a difference? How so? I have to convince our developers of the importance and priority of this adjustment, or it will just drown in the many projects they already have. So truly, any insights would be so very welcome. Thank you!
Technical SEO | | michelledemaree2 -
Does Google pass link juice a page receives if the URL parameter specifies content and has the Crawl setting in Webmaster Tools set to NO?
The page in question receives a lot of quality traffic but is only relevant to a small percent of my users. I want to keep the link juice received from this page but I do not want it to appear in the SERPs.
Technical SEO | | surveygizmo0 -
How long will Google take to stop crawling an old URL once it has been 301 redirected
I need to do a clean-up old urls that have been redirected in sitemap and was wondering about this.
Technical SEO | | Ant-8080 -
Someone is redirecting their url to mine
Hello, I have just discovered that a company in Poland www.realpilot.pl is directing their domain to ours www.transair.co.uk. We have not authorised this, neither do we want this. I have contacted the company and the webmaster to get it removed. If you search for the domain name www.realpilot.pl we (www.transair.co.uk) come up top. My biggest worry is that we will get penalised by Google for this re-direct as it appears to be done using some kind of frame. Does anyone know anything about this kind of thing? Many Thanks Rob Martin
Technical SEO | | brightonseorob0