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. Another deduplication question.

    Another deduplication question.

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

      Where an existing website has duplicate content issues - specifically the www. and non-www. type; what is the most effective way to inform the searchers and spiders that there is only one page?

      I have a site where the ecommerce software (Shopfitter 4) allows a fair bit of meta data to be inserted into each product page but I am uncertain, after a couple of attempts to deduplicate some pages, which is the most effective way to ensure that the www related duplication is eliminated sitewide - there is such a solution.

      I have to own up to having looked at

      ,htaccess

      301 redirects

      webmaster tools

      and become increasingly bamboozled by the conflicting advice as to which is the most effective way or combination to get rid of this problem.  too olod to learn new tricks I reckon 😉

      Your help and clarification would be appreciated as this may help head off more fruitless work.

      1 Reply Last reply Reply Quote 0
      • Gustav-Northclick
        Gustav-Northclick last edited by

        Hi there!

        Use An 301 redirect you can do this in hte .htaccess file.

        Submit xml sitemap to Google webmaster tools with the correct adress(with www)

        You will soon be rid of the duplicated pages if you do this.

        Best

        / Gustav

        SkiBum 1 Reply Last reply Reply Quote 1
        • SkiBum
          SkiBum @Gustav-Northclick last edited by

          Blimey gustav - that was quick.   In the htaccess do you need to specify each separtae page url or is there a way of setting it site wide?

          Many thanks for taking the time to answer.

          Ray

          JoeYoungblood 1 Reply Last reply Reply Quote 0
          • Gustav-Northclick
            Gustav-Northclick last edited by

            Hi again!

            Here we go:

            Just input following to .htaccess file:

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

            (replace example withyour site 😉 )

            This should do the trick for the whole site.

            / Gustav

            1 Reply Last reply Reply Quote 1
            • Gustav-Northclick
              Gustav-Northclick last edited by

              BTW, my answer is for a Apache server.... This means don't use it if its Microsoft...

              1 Reply Last reply Reply Quote 0
              • Gustav-Northclick
                Gustav-Northclick last edited by

                Quick tip:

                Usually you can just contact your Hosting company and ask them to do the 301 redirect for you if you feel uneasy tampering with code on the server.

                / G

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

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • JoeYoungblood
                    JoeYoungblood @SkiBum last edited by

                    no. the rewrite rule will apply to all URLs

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • Backlink Question
                      gennarojewelers
                      gennarojewelers
                      0
                      2
                      75

                    • Can a duplicate page referencing the original page on another domain in another country using the 'canonical link' still get indexed locally?
                      shahryar89
                      shahryar89
                      2
                      2
                      53

                    • Question about moving content from one site to another without a 301
                      BruceA
                      BruceA
                      0
                      3
                      293

                    • Another footer question
                      BlueprintMarketing
                      BlueprintMarketing
                      0
                      3
                      155

                    • Subdomain Question
                      Francisco_Meza
                      Francisco_Meza
                      0
                      3
                      130

                    • Followup question to rand(om) question: Would two different versions (mobile/desktop) on the same URL work well from an SEO perspective and provide a better overall end-user experience?
                      retailgeek
                      retailgeek
                      0
                      2
                      202

                    • Another Guest Blogging Question!
                      NakulGoyal
                      NakulGoyal
                      0
                      2
                      419

                    • Crawl questions
                      RyanKent
                      RyanKent
                      0
                      3
                      856

                    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