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. White Hat / Black Hat SEO
    4. Multiple doamin with same content?

    Multiple doamin with same content?

    White Hat / Black Hat SEO
    12 3 992
    • 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.
    • VipinLouka78
      VipinLouka78 @RyanKent last edited by

      hi dear Ryan,

      thanks so much for your time and valuable suggestions. As you said, i am aware of this problem and therefore i added a canonical url to the homepage. should i make a 301 from non-www to www url? should i do it for each page?

      thanks & regards

      RyanKent VipinLouka78 BWIRic 9 Replies Last reply Reply Quote 0
      • RyanKent
        RyanKent @VipinLouka78 last edited by

        A 301 redirect is the proper solution and superior to the canonical. It is fine to have the canonical too, but add the redirect.

        When you ask "should I do it for each page", understand a single redirect can forward all non-www traffic on your site to it's www equivalent. If you are unsure how to perform the redirect, simply ask your host. Most sites are on managed hosting and it is a very common and easy request.

        1 Reply Last reply Reply Quote 1
        • VipinLouka78
          VipinLouka78 @VipinLouka78 last edited by

          hi,

          It's really helpful and now I understand it.

          I know that you are one of the true masters of SEO and I think you can clarify one more doubt. It is also regarding the issue of redirection. I want to know that a script i use for  redirectining old pages to newpages is right or not?

          This script is working properly and I want to know that what type of redirection is this and is it a proper redirection to get the backlink juice? (I add this script to the body just after the

          header.)

          thanks in advance

          1 Reply Last reply Reply Quote 0
          • RyanKent
            RyanKent @VipinLouka78 last edited by

            The javascript code you shared is not a proper redirect.

            A proper redirect happens on the server. Instead of loading the original target page, the server instead will load the redirect page instantly along with a header response code of 301 which tells search engines the content has moved to a new URL.

            If you use javascript in the manner you shared, the original page will load with a 200 "all ok" header code, and then 3 seconds later the javascript will trigger and load the new page with a 200 header code. All the backlinks will still be applied to the original page and not the redirected page.

            The exact method of performing a redirect varies based on your server setup. If you have a LAMP server with cPanel, there is a Redirect tool which you can use.

            1 Reply Last reply Reply Quote 1
            • VipinLouka78
              VipinLouka78 @VipinLouka78 last edited by

              Ohh thanks so much Ryan. Let me learn the server side redirection and other aspects related to it.

              Thanks once again for your consideration and time. I hope I can approach you in future too.

              best regards

              1 Reply Last reply Reply Quote 0
              • RyanKent
                RyanKent @VipinLouka78 last edited by

                Glad to be of help. You are always free to reach out here at the SEOmoz Q&A. If you feel a need to reach me specifically my contact information is in my user profile.

                1 Reply Last reply Reply Quote 0
                • VipinLouka78
                  VipinLouka78 @VipinLouka78 last edited by

                  Hi,

                  Thanks. As you said i was checking server side redirection. My site server is II7. I tried to make a server side rediretion but couldn't. I found a java script redirection and created a redirection.  _See the page; http://www.infoniagara.com/d-bed-roses.html_

                  I think this too is not a correct redirection, is it?

                  thanks

                  1 Reply Last reply Reply Quote 0
                  • RyanKent
                    RyanKent @VipinLouka78 last edited by

                    I would recommend either asking a new Q&A as to how an IIS redirect works, or checking Google. I lack experience working in that environment. I was spoiled by working with a very talented team who had performed all those changes and I never needed to learn any aspects of IIS.

                    1 Reply Last reply Reply Quote 0
                    • VipinLouka78
                      VipinLouka78 @VipinLouka78 last edited by

                      Anyway I am lucky being with a group of average team mates.

                      1 Reply Last reply Reply Quote 0
                      • BWIRic
                        BWIRic @VipinLouka78 last edited by

                        You want your redirect rules on the server, not client site. In Apache you can do this with mod_write and the .htaccess file like so.

                        To add the www

                        RewriteEngine on
                        RewriteCond %{HTTP_HOST} !^www.
                        RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

                        To remove the www:

                        RewriteEngine On
                        RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
                        RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

                        In IIS they have a rewrite command too. I've not used it myself but this should help: http://www.petermoss.com/post/How-to-redirect-non-www-domain-to-www-domain-requests-in-IIS-7.aspx

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Posting same content multiple blogs or multiple website - 2018
                          Seenlyst
                          Seenlyst
                          0
                          2
                          207

                        • Linking Websites/ Plagiarized Content Ranking Above Original Content
                          EGOL
                          EGOL
                          0
                          2
                          42

                        • Dublicated content
                          GPainter
                          GPainter
                          0
                          3
                          130

                        • Thin Content Pages: Adding more content really help?
                          EGOL
                          EGOL
                          0
                          2
                          109

                        • Looking for a Way to Standardize Content for Thousands of Pages w/o Getting Duplicate Content Penalties
                          TakeshiYoung
                          TakeshiYoung
                          1
                          9
                          250

                        • Can I Point Multiple Exact Match Domains to a Primary Domain? (Avoiding Duplicate Content)
                          MikeRoberts
                          MikeRoberts
                          0
                          4
                          224

                        • Is it a duplicate content ?
                          Chris.Menke
                          Chris.Menke
                          0
                          2
                          143

                        • Google authorship and multiple sites with multiple authors
                          Titan552
                          Titan552
                          0
                          5
                          1.0k

                        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

                        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