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. On-Page / Site Optimization
    4. Domain.com and www.domain.com

    Domain.com and www.domain.com

    On-Page / Site Optimization
    4 3 828
    • 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.
    • ChristopherGlaeser
      ChristopherGlaeser last edited by

      I recently changed the settings in Google Webmaster Tools so that domain.com and www.domain.com are the same.  Several quick questions.

      • About how long will it take for Google to list www.domain.com and stop listing domain.com?

      • The .htaccess file uses a 301 to redirect all domain.com paths.to www.domain.com paths.  Now that Google has been informed these two are the same, are the 301 rules to add www necessary?

      • The default page is index.php. so domain.com gets 301 to www.domain.com gets 301 to www.domain.com/index.php.  Is this the correct way to do things?

      • Are there SEO consultants who will help on small projects such assist on issues like this?

      Best,
      Christopher

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

        Hi Christopher, Answering by points:

        1. Google needs a certain amount of time before start showing just the canonical version of the site, time that depends on how big the site is.

        2. I suggest you to keep the 301 redirection in the .htaccess file

        • because so you are sure the the not www Urls in the SERPS are sending users to their www versions;
        • because may exist backlinks sending to not www links and this way your a redirecting not only users but also a great % of that backlink juice to the correct URL;
        • because exists also Bing, which obviously does not care of what you decide in GWT.
        1. what you did is incorrect. Infact the www.domain.com/index.php url version of the home page should have to 301 to www.domain.com, let say the opposite of what you have done.

        Redirect 301 /index.php http://www.domain.com/

        Finally, about finding SEOs, why don't you try the job section here in the Seomoz site, here > http://www.seomoz.org/marketplace/jobs?

        Ciao

        ChristopherGlaeser 1 Reply Last reply Reply Quote 2
        • AlanMosley
          AlanMosley last edited by

          I agree with Gianluca, but i would also add,

          301 to www.domain.com or domain.com, but not to index.php

          also do not 301 twice. 301 directly to the last final destination

          1 Reply Last reply Reply Quote 1
          • ChristopherGlaeser
            ChristopherGlaeser @gfiorelli1 last edited by

            Thanks for the quick responses.  I will add the redirect of index.php to domain.com/, but I don't know where the 301 of domain.com/ to index.php is coming from.  It's not in .htaccess.  Is that just a generic rule somewhere in the Apache server so that doman.com/ will default to an actual page?

            Best,
            Christopher

            EDIT: I think I found the problem. The site was originally created using .html pages and later converted to .php pages.  There was a 301 for index.html to index.php.  I changed to to

            Redirect 301 /index.html http://www.domain.com/

            and also added

            Redirect 301 /index.php http://www.domain.com/

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • I analysis my domain (http://yourdigibuddy.com/) on moz domain analysis. But there is not data show and show message "No data here". What should I do?
              0
              1
              20

            • My report is showing duplicate titles.. for http://www.mysite.com/ & http://mysite.com
              Fridaythe15th
              Fridaythe15th
              0
              8
              163

            • Which is best for the website? Example blog that starts blog.domain.com or domain.com/blog? Thanks!
              JonathanLeplang
              JonathanLeplang
              0
              6
              1.3k

            • 301 redirect www.brandname.com to www.brandname-keyword.com
              Webrevolve
              Webrevolve
              0
              8
              583

            • Www.sitename.com or sitename.com?
              AdoptionHelp
              AdoptionHelp
              0
              4
              440

            • Too www. or not to www.?
              ClassifiedsKing
              ClassifiedsKing
              0
              4
              844

            • Duplicate page content & title for www.mydomain.com and www.mydomain.com/index.php?
              Carl287
              Carl287
              0
              3
              500

            • Does a www.domain.com/# count as a link?
              RyanKent
              RyanKent
              0
              3
              508

            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