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. Questions about root domain setup

    Questions about root domain setup

    Technical SEO Issues
    8 3 375
    • 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.
    • enbphotos
      enbphotos last edited by

      Hi There,

      I'm a recent addition to SEOmoz and over the past few weeks I've been trying to figure things out.  This whole SEO process has been a bit of a brain burner but its slowly becoming a little more clearer.

      For awhile I noticed that I was unable to get Open Site Explorer to display information about my site.  It mentioned that that there was not enough data for the URL.  Too recent of a site, no links, etc.  Eventually I changed the the URL to include "www." and it pulled up results.

      I also noticed that a few of my page warnings are because of duplicate page content.  One page will be listed as http://enbphotos.com.  The other will be listed as http://www.enbphotos.com.

      I guess I'm not sure what this all means and how to change it.  I'm also not really sure what the terminology even is and something regarding root domain seemed appropriate but I'm not sure if it is accurate.

      Any help/suggestions/links would be appreciated!

      Thanks,

      Chris

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

        Hello Chris.

        I see you have an apache server.

        You should be able to add a few lines of redirect code in your .htaccess file in the document root directory.

        Here is a response from Ryan Schwab that answers your need to redirect:

        http://www.seomoz.org/q/is-there-an-easier-way-from-the-server-to-prevent-duplicate-page-content

        Unfortunately, some people have linked to you with www and some without it.

        You may suffer a little for a while, but you could come out of it even better than you were before.

        enbphotos 1 Reply Last reply Reply Quote 1
        • Matt-Williamson
          Matt-Williamson last edited by

          This is a common issue with sites in relation to duplicate content - I would look at setting up a 301 (permanent) redirect from none www version of your page to the www version.

          Have a look at the SeoMoz guide to redirection here - http://www.seomoz.org/learn-seo/redirection

          Hope this helps

          1 Reply Last reply Reply Quote 1
          • enbphotos
            enbphotos last edited by

            Thanks very much for your responses!  I looked at those threads and I was about to add that bit of redirect code when I noticed I already have an .htaccess uploaded to my server.  It has a small bit of code redirecting a subdomain/cname thing.

            RewriteEngine on
            RewriteCond %{HTTP_HOST} ^proofs.enbphotos.com$ [OR]
            RewriteCond %{HTTP_HOST} ^www.proofs.enbphotos.com$
            RewriteRule ^.*$ "http://accounts.exposuremanager.com" [R=301,L]

            Can I just add the other bit of redirect below this?

            Thanks again for your help!

            Matt-Williamson 1 Reply Last reply Reply Quote 0
            • enbphotos
              enbphotos @loopyal last edited by

              Hi Alan,  Thanks again for your response.  I just wanted to follow up with you and see if you had any pointers for my below response?  It turns out I have a .htaccess already in play.  It's for a CNAME/subdomain setup.  Do you know if I can just add the bit of code that you linked me too directly below what is already in my htaccess?

              1 Reply Last reply Reply Quote 0
              • Matt-Williamson
                Matt-Williamson @enbphotos last edited by

                what is the small bit or rewrite code that is already in there? Does it already engage the RewriteEngine? If so you don't need that line twice but you can just add your other code below the existing and it should work.

                A lot of hosting environments that are on shared servers for instance allow you to put redirects etc in place through interfaces and then create the .htaccess for you...

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

                  The engine is already invoked, with that code.

                  Add a few blank lines between RewriteEngine on and the other lines

                  Keep those other lines together. (I don't think they work)

                  And put the new code one blank line after invoking the engine.

                  keep a blank line after the new code.

                  -- Those other lines say this:

                  IF a request comes for proofs.enbphotos.com

                  OR a request for www.proofs.enbphotos.com

                  THEN redirect it to  http://accounts.exposuremanager.com

                  • but it doesn't work, so either there is a problem (your apache doesn't redirect or some config has turned it off - or it could be that the proofs subdomain has a different document root.
                  Matt-Williamson 1 Reply Last reply Reply Quote 1
                  • Matt-Williamson
                    Matt-Williamson @loopyal last edited by

                    My mistake - I thought that was the code that enbphotos wanted to add to the .htaccess, however if that is the code it is pretty obvious that the rewrite engine is engaged Alan haha cheers. My apologies for misreading the response.

                    Other than that I agree with what Alan says...

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Root domain change - should we update existing backlinks which include the redirect from the old root domain to the new one?
                      GFD_Chris
                      GFD_Chris
                      0
                      2
                      29

                    • Redirecting a questionable domain to a trusted domain
                      FDFPres
                      FDFPres
                      0
                      4
                      119

                    • Will Links to one Sub-Domain on a Site hurt a different Sub-Domain on the same site by affecting the Quality of the Root Domain?
                      ifbyphone
                      ifbyphone
                      0
                      5
                      153

                    • What is the advantage of using sub domains instead of pages on the root domain?
                      ThompsonPaul
                      ThompsonPaul
                      0
                      4
                      1.3k

                    • Domain authority not showing on root domain?
                      askotzko
                      askotzko
                      0
                      3
                      519

                    • Subfolder to Root Domain, Should i or not?
                      RyanKent
                      RyanKent
                      0
                      2
                      667

                    • Redirecting root domains to sub domains
                      Yozzer
                      Yozzer
                      0
                      4
                      804

                    • Accidently did a 301 redirect on root domain and lost domain keyword position
                      Blargh123
                      Blargh123
                      0
                      4
                      995

                    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