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. Do I need both canonical meta tags AND 301 redirects?

    Do I need both canonical meta tags AND 301 redirects?

    Technical SEO Issues
    4 3 1.1k
    • 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.
    • spkcp111
      spkcp111 last edited by

      I implemented a 301 redirect set to the "www" version in the .htaccess (apache server)  file and my logs are DOWN 30-40%! I have to be doing something wrong!

      AddType application/x-httpd-php .html .htm

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

      RewriteCond %{THE_REQUEST} ^./index.htm
      RewriteRule ^(.
      )index.htm$ http://www.luckygemstones.com/$1 [R=301,L]

      IndexIgnore *
      ErrorDocument 404 http://www.luckygemstones.com/page-not-found.htm
      ErrorDocument 500 http://www.luckygemstones.com/internal-serv-error.htm
      ErrorDocument 403 http://www.luckygemstones.com/forbidden-request.htm
      ErrorDocument 401 http://www.luckygemstones.com/not-authorized.htm

      I've also started adding canoncial META's to EACH page:

      I'm using HMTL 4.0 loose still--1000's of pages--painful to convert to HTML5 so I left the / off the tag so it would validate.

      Am I doing something wrong?

      Thanks, Kathleen

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

        Using the 301 redirect is the right and necessary thing to do, even if you are using canonical tags, Kathleen. They serve somewhat the same purpose on the home page, but the 301 is vastly more powerful to communicate to the search engines that the www version is your primary page.

        You've got a bit of a problem with the canonical tag as you've listed ti though.

        By doing the redirect, the canonical version of your home page is now www.luckygemstones.com  But your canonical tag is declaring www.luckygemstones.com/index.htm which directly contradicts what you set above. For your home page, it should be

        In addition, http://www.luckygemstones.com/index.htm should also be 301-redirecting to http://www.luckygemstones.com (another example of a different URL that applies to the same page). The htaccess you list has that redirect in place, but it doesn't seem to be working on the site - is that htaccess actually live as is?

        Paul

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

          Here's the entire contents of my .htaccess file:

          AddType application/x-httpd-php .html .htm

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

          RewriteCond %{THE_REQUEST} ^.*/index.htm
          RewriteRule ^(.*)index.htm$ http://www.luckygemstones.com/$1 [R=301,L]

          **IndexIgnore ***
          ErrorDocument 404 http://www.luckygemstones.com/page-not-found.htm
          ErrorDocument 500 http://www.luckygemstones.com/internal-serv-error.htm
          ErrorDocument 403 http://www.luckygemstones.com/forbidden-request.htm
          ErrorDocument 401 http://www.luckygemstones.com/not-authorized.htm

          Frankly, I'm not sure what all the flags on the Rewrite lines mean. I know when I updated the index.htm code I lost serious traffic--but without it I seem to have dup content issues. I would just LOVE to be done w/this once and for all--to know it's right would be huge!

          Here's the canonical tag in the index.htm file:

          Is anything amiss? I will say I had no dup content issues in this week's seomoz run but the loss of traffic means google isn't liking something...

          Thanks for your help, Kathleen

          1 Reply Last reply Reply Quote 0
          • Dr-Pete
            Dr-Pete last edited by

            I wouldn't use both 301s and rel=canonicals for the same purpose. It's fine to have 301s to redirect non-www URLs, and then canonicals for other problems, but I wouldn't double them up for the same issue. The 301s are the proper solution here.

            Your 301s don't seem to be triggering. Did you remove this code? Unfortunately, diagnosing someone's rewrites in .htaccess is incredibly difficult without direct access.

            How does Google crawl your site? It looks like all of the products are only available by submitting a form (pulldowns). Google can't take that action, which could be causing major problems with your PageRank flow internally. You need paths that Google can use to reach the actual products. Honestly, form selects menus aren't typically a good solution for users, either.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Duplicate content: using the robots meta tag in conjunction with the canonical tag?
              Keszi
              Keszi
              0
              2
              321

            • Should existing canonical tags be removed where a 301 redirect is the preferred option?
              MVIreland
              MVIreland
              0
              3
              50

            • Meta descriptions and h1 tags during a 301 redirect
              ClaytonJ
              ClaytonJ
              0
              3
              270

            • Canonical tag or 301
              TomRayner
              TomRayner
              0
              4
              146

            • Meta title Tag dilemma.... need help
              Bromtec
              Bromtec
              0
              9
              678

            • Changing title tags, do we need 301 redirects
              TextMarketing
              TextMarketing
              0
              6
              396

            • I need to know more clearance on rel=canonical usage than 301 redirects ?
              BlueprintMarketing
              BlueprintMarketing
              0
              8
              333

            • Canonical tag, CNAME and 301 redirect
              gfiorelli1
              gfiorelli1
              0
              10
              2.2k

            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