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 -
How do you fix redirect chains and temporary redirects?
Hi, I have a lot of issues popping up with temporary redirects and redirect chains. I'm still confused as to what exactly redirect chains are and I don't know how to find where the "chains" are or how to fix them. I'm having two issues mainly:1. Temporary RedirectsI have around 100 pages on our www.twowayradiosfor.com website that are being flagged as temporary redirects. All of them have one thing in common: they are review pages (basically, when a customer clicks on the Review button to review a certain product, they are redirected to a review page for that product).URL Example: https://www.twowayradiosfor.com/reviewhelpful.asp?ProductCode=CLS1410-COMBO&ID=44&yes=noI went into our website and set any URL containing the following as noindex:/review.aspWill that fix the issue? If yes, will I also need to do that for any URL containing /reviewhelpful.asp?2. Redirect ChainsIt seems like basically every product page on my website has this issue (over 100 pages). Here's an example of one:https://www.twowayradiosfor.com/Motorola-CLS1110-p/cls1110.htmI don't see any broken links on this page or links that redirect to another page that redirects, etc. What is causing this? Is it something on my header bar that is redirecting (since that header bar appears on every page, maybe that is why this issue shows up on a lot of pages)?I am new to Moz and still trying to figure this stuff out. I really appreciate any help. Thanks, Sawyer
Technical SEO | | AllChargedUp0 -
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 -
301 Redirects, Sitemaps and Indexing - How to hide redirected urls from search engines?
We have several pages in our site like this one, http://www.spectralink.com/solutions, which redirect to deeper page, http://www.spectralink.com/solutions/work-smarter-not-harder. Both urls are listed in the sitemap and both pages are being indexed. Should we remove those redirecting pages from the site map? Should we prevent the redirecting url from being indexed? If so, what's the best way to do that?
Technical SEO | | HeroDesignStudio0 -
Redirect non-www if using canonical url?
I have setup my website to use canonical urls on each page to point to the page i wish Google to refer to. At the moment, my non-www domain name is not redirected to www domain. Is this required if i have setup the canonical urls? This is the tag i have on my index.php page rel="canonical" href="http://www.mydomain.com.au" /> If i browse to http://mydomain.com.au should the link juice pass to http://www.armourbackups.com.au? Will this solve duplicate content problems? Thanks
Technical SEO | | blakadz0 -
Mobile Domain Setup
Hi, If I want to serve a subset of pages on my mobile set from my desktop site or the content is significantly different, i.e. it is not one to one or pages are a summarised version of the desktop, should I use m.site.com or is it still better to use site.com? Many thanks any help appreciated.
Technical SEO | | MarkChambers0 -
How best to redirect URL from expired classified ads?
We have problem because our content are classifieds. Every ad expired after one or two mounts and then ad becomes inactive and we keep his page for one mount latter like a same page but we ad a notice that ad is inactive. After that we delete the ad and his page but need to redirect that URL to search results page which contains similar ads because we don't want to lose the traffic form that pages. How is the best way to redirect ad URL? Our thinking was to redirect internal without 301 redirection because the httacces file will be very big after a while and we are thinking to try a canonicalization because we don't want engine to think that we have to much duplicate content.
Technical SEO | | Donaab0