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. Canonicalisation - Best Approach?

    Canonicalisation - Best Approach?

    Technical SEO Issues
    2 2 758
    • 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.
    • ocelot
      ocelot last edited by

      Hi

      I have been reading into canonicalisation and I am looking for professional advice and guidance on the best approach as there are many conflicting views on how to implement a solution.

      I have added to the homepage

      http://www.cheapfindergames.com/" />

      so that http://cheapfindergames.com and index.php redirects to the www version.

      Or would it be better using .htaccess if this is the case what code would be needed to achieve the above?

      Many Thanks

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

        If what you are trying to achieve is to have a canonical that is the www version, you are better served doing two things: First go to Google webmaster tools and select a preferred domain (from GWMT):

        To specify your preferred domain:

        1. On the Webmaster Tools Home page, click the site you want.
        2. Under Site configuration, click Settings.
        3. In the Preferred domain section, select the option you want.

        You may need to reverify ownership of your sites. Because setting a preferred domain impacts both crawling and indexing, we need to ensure that you own both versions. Typically, both versions point to the same physical location, but this is not always the case. Generally, once you have verified one version of the domain, we can easily verify the other using the original verification method. However, if you've removed the file, meta tag, or DNS record, you'll need to repeat the verification steps.

        Note: Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer.

        To do the 301 redirect of the non www to the www here is the script from Scriptalicious:

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

        Hope this helps you.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • What is the best approach to fixing SSL issues with having multiple websites on a dedicated server? Please advise
          GoogleDowner
          GoogleDowner
          0
          4
          120

        • Dynamic Url best approach
          iSTORM-New-Media
          iSTORM-New-Media
          0
          2
          114

        • How many tiers are the best?
          CarlosZambrana
          CarlosZambrana
          0
          3
          69

        • Best Place to Redirect 301 to?
          billhartzer
          billhartzer
          1
          6
          131

        • Best Schema Advice
          Mike_Davis
          Mike_Davis
          0
          2
          91

        • Canonicalisation
          CleverPhD
          CleverPhD
          0
          2
          147

        • Redirect from old wordpress site to new php site? Best approach
          Vahe.Arabian
          Vahe.Arabian
          0
          7
          844

        • Best Personna Strategy
          waynekolenchuk
          waynekolenchuk
          0
          7
          647

        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