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. Intermediate & Advanced SEO
    4. I need help with setting the preferred domain; www. or not??

    I need help with setting the preferred domain; www. or not??

    Intermediate & Advanced SEO
    8 3 530
    • 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.
    • KristyO
      KristyO last edited by

      Hi!

      I'm kinda new to the SEO game and struggling with this site I'm working on:

      http://www.moondoggieinc.com

      I set the preferred domain to www. in GWT but I'm not seeing it reroute to that?

      I can't seem to get any of my internal pages to rank, and I was thinking it's possiblly b/c of a duplicate content issue cause by this problem.

      Any help or guidance on the right way to set preferred domain for this site and whiy I can't get my internal pages to rank?

      THANKS!

      KristyO

      1 Reply Last reply Reply Quote 0
      • William.Lau
        William.Lau last edited by

        GWT only utilizes the crawl bot and search results. It doesn't control your site's operation on the backend.

        Use this in your ".htaccess" file to redirect all .example.com to www.example.com

        <code class="htaccess" title="in your .htaccess file">RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www\.
        RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]</code> 
        
        KristyO 1 Reply Last reply Reply Quote 2
        • KristyO
          KristyO @William.Lau last edited by

          I'm a little scared to mess with the htaccess file. I will, if this will really help me, could it hurt?

          KristyO

          William.Lau 1 Reply Last reply Reply Quote 0
          • bronxpad
            bronxpad last edited by

            I totally understand your hessitancy of messing with HTACCESS.

            Here are some great links for PHP 301 redirects and canonical.

            http://www.webconfs.com/how-to-redirect-a-webpage.php/

            http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394

            This will make life easier for you.

            There is nothing to fear but fear itself.

            I hope this helps and good luck

            1 Reply Last reply Reply Quote 1
            • William.Lau
              William.Lau @KristyO last edited by

              Save your old .htaccess file just in case. You will see what works and what doesn't and at least you will have something to go back on.

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

                Is this why I can't rank any of my internal pages? I'm not getting duplicate content errors on all the pages.

                I'm kinda worried I'm reading too many different things and not getting a clear idea of what's going on. I really enjoy working on SEO, but I'm very new to it (a few months). My start is as a designer.

                Any other suggestions on why it's happening?

                bronxpad 1 Reply Last reply Reply Quote 0
                • bronxpad
                  bronxpad @KristyO last edited by

                  Hello Kristy, every industry is different. Some are easier than others. I would focus first on making sure your on site seo is optimized first with great content and code that makes it easy for the search bots. Then I would focus on a social media campaign to reach out to your online sphere of influence. This can also help out with getting links. In time you will rank better. Check out the links I posted earlier on 301 redirects and canonical.

                  KristyO 1 Reply Last reply Reply Quote 0
                  • KristyO
                    KristyO @bronxpad last edited by

                    Thank you! yes, I have read the articles that you suggested. Makes me think it's not the problem to be honest, but I can't be sure.

                    The industry is pet clothing 🙂 HAHA! http://www.moondoggieinc.com

                    we already are pluggin away on social media - FB, Twitter, & Tumblr (who doesn't share picutre of their pets in clothes lol!)

                    My homepage is getting better, but pages off of it like /dog-harness-php and /dog-clothing.php are what I'm having trouble with.

                    On-page grades I get A's for both... hmm

                    It's kinda like i wish I had a guide to help in the process of learning seo... seems trial by error right now. I can make most things look pretty, but getting them to search right is hard!

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Please help us undertsand the things we need to improve so that google crawler visit us more often to reindex pages from our domain
                      MrWhippy
                      MrWhippy
                      0
                      2
                      44

                    • "WWW" versus non "WWW" on domain
                      nhhernandez
                      nhhernandez
                      0
                      4
                      337

                    • Www or no www
                      TakeshiYoung
                      TakeshiYoung
                      0
                      5
                      531

                    • Redirect non www. domain to WWW. domain for established website?
                      SEO5Team
                      SEO5Team
                      0
                      4
                      281

                    • Root domain or sub domain? WWW. or NOT WWW......
                      craigyboy
                      craigyboy
                      1
                      13
                      2.1k

                    • How do i redirect www.domain.com/ to www.domain.com/index.php
                      Dr-Pete
                      Dr-Pete
                      0
                      3
                      1.3k

                    • Website domain hosting and set-up for foreign domains?
                      AdeLewis
                      AdeLewis
                      0
                      7
                      764

                    • Help With Preferred Domain Settings, 301 and Duplicate Content
                      RyanKent
                      RyanKent
                      1
                      7
                      1.2k

                    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