The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. How to configure mobile website?

    How to configure mobile website?

    Technical SEO Issues
    3 2 797
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IM_Learner
      IM_Learner last edited by

      Hi,

      Please tell me how to make the mobile website availabe:

      htp://m.mysite.com

      or

      http://www.mysite.com i.e. to render different content based on user agent but on the same URL

      1 Reply Last reply Reply Quote 0
      • Aftermath_SEO
        Aftermath_SEO last edited by

        If you would like to redirect it to a subdomain http://m.example.com/ then you can achieve that in a few different ways depending on the server it's hosted on. If you have Apache then you can use your .htaccess file to redirect mobile viewers to the mobile site.

        1 Reply Last reply Reply Quote 0
        • IM_Learner
          IM_Learner last edited by

          What i am planning to do is - create a small function that based on the user agent will render the content i.e. if the user agent is of smart phones, it will render mobile version of the website and if it is desktop then it will render the desktop version. I hope it does not amounts to cloaking. Please correct me if i am wrong

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Google Bot is seeing the desktop version in cache for Mobile website too.
            dhananjay.kumar1
            dhananjay.kumar1
            0
            3
            131

          • Why can't google mobile friendly test access my website?
            Nadav_W
            Nadav_W
            0
            4
            1.7k

          • I have website how i rank this website? suggest me any idea.
            TrentonGreener
            TrentonGreener
            0
            2
            66

          • My website is currently failing Google's mobile friendly test. What are my options?
            MattRoney
            MattRoney
            0
            6
            84

          • Mobile sitemap needed for responsive website?
            Addion
            Addion
            0
            3
            799

          • Mobile website content optimisation
            DirkC
            DirkC
            0
            2
            114

          • I have a mobile version and a standard version of my website. I'd like to show users some pages on the non-mobile site but keep googlebot mobile out. Is that ok?
            AxialDev
            AxialDev
            0
            2
            103

          • How to handle .mobi and normal website for mobile search and regular search
            StevenMapes
            StevenMapes
            0
            6
            4.8k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy