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. Redirecting Canonical 301s and Magento Website

    Redirecting Canonical 301s and Magento Website

    Intermediate & Advanced SEO
    22 4 3.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.
    • ClifThompson
      ClifThompson @ClifThompson last edited by

      So, assuming this works, can I eventually remove the ".html?print" versions of the pages after the SEs have changed the URLs in their indices?

      also, I'm not getting the impression it's going to save me time on specifying different pages (it may save time, I'm not sure), but in the chance it doesn't or the plugin fails to do as advertised, what is the htaccess option for this? Because at least, in this case, I can see the immediacy in it AND you can do canonical rewrites FROM the htaccess.

      My situation is, I'm not  THAT advanced in wildcards to make this happen (otherwise, I'd do it myself via just trial and error until it works) AND I myself don't have access to the site (the webmaster does, whose part time) and I have a choice between "Hey, here's several (or one line) of code to put into htaccess to resolve this problem" OR "can you go through and implement this plug to do the Canonical redirects on every page, oh and by the way, please back up first."

      So it's not merely JUST a technical problem or a know-how problem, it's also a bureaucratic problem that can mean the difference between getting it done in a few minutes, and it could take two weeks to make happen depending on this person's perception.

      1 Reply Last reply Reply Quote 0
      • ClifThompson
        ClifThompson @THB last edited by

        Yeah, I know, right. The problem is, I found this out only AFTER I bought the PRO version and mapped out the entirety of the site. Some of those ?print URLs are now indexed in the SEs. So I agree with nipping this problem in the bud (or the root, whichever one prefers), but I still need to know how to do it via the htaccess. In other words, I have to go backwards and take care of the rankings, THEN figure out how to turn it off (and I can go to the Magento forums for that).

        1 Reply Last reply Reply Quote 0
        • SEOKeith
          SEOKeith @ClifThompson last edited by

          I agree with THB on this, use rel="canonical" you simply want to say to the search engines "Hey this is the preferred URL for my content".

          301's are for saying "Hey this page has permanently moved to a new page/site"

          I would use the rel="canonical" plugin I posted for you above, it will automatically add the canonical tag for you, job done.

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

            I guess my question now is, just doing the htaccess route is a bad idea? in both 301s AND canonicals or just 301s? I guess I'm not looking for easy, but economical. Thanks for your responses.

            1 Reply Last reply Reply Quote 0
            • THB
              THB @ClifThompson last edited by

              Yes to your first questions.  Here's the process for each (as I see it):

              1. Fix/remove the ability for system to generate ?print URL's and implement canonical tags; open beer and wait 'til search engines sort things out.  Nothing more you can do here.

              2. No fix to system so we still have ?print URL's.  In this case, setup the 301's in your .htaccess file; however, as long as the system is still generating these ?print URLs, you will have to keep the redirects in the .htaccess in tact, permanently.

              Untested:

              RewriteEngine On

              RewriteBase /

              RewriteRule ^([^/]*).html?print$ /$1.html [L,NC,R=301]

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

                Yeah I guess this is the only way to go. Now I just got to get the webmaster to get around to it. (sigh)...

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

                  thank you sir....I'll try to avoid the htaccess route then.

                  1 Reply Last reply Reply Quote 0
                  • SEOKeith
                    SEOKeith @ClifThompson last edited by

                    I don't understand why you don't just use the rel="canonical" plugin I mentioned above... ?

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

                      like I said, I will email your solution concerning the plugin to my web admin guy, but the reason why I'm kind of reticent to do that is it's more a matter of bureacracy (to be sensitive to his time constraints) rather than technical or lack of know-how. I want to get it done right, but I also want to get it done in a timely manner. But I will forward this to him. Thanks you sir.

                      1 Reply Last reply Reply Quote 0
                      • THB
                        THB @ClifThompson last edited by

                        Hehe, hey now, not all us developers are lazy 😉

                        You know your system better than any of us do.  My 1. and 2. are just the best-case order in which to get things done.  Do what works for you and your site.

                        1 Reply Last reply Reply Quote 0
                        • Jeremy_FP
                          Jeremy_FP @ClifThompson last edited by

                          Late to this game, but just in case you're still waiting on your dev...

                          Magento has an automated add-on system called Magento Connect, and you can access it from your admin (unless the original installer disabled it on your account). You can just use that to install Yoast's plugin. Check out http://www.magentocommerce.com/magento-connect/canonical-url-for-magento.html

                          Aside from that, if you are using something after 1.4, you should have canonical built into your store (it's in the config section).

                          If you're not using something after 1.4, consider upgrading. It's not painless, but anything prior to 1.4.1 is pretty rough to use. I'm not surprised you've got bugs and general sadness.

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 2 / 2
                          • First post
                            Last post
                          • We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
                            BlueprintMarketing
                            BlueprintMarketing
                            0
                            8
                            437

                          • Someone redirected his website to ours
                            effectdigital
                            effectdigital
                            1
                            2
                            90

                          • Temporarily redirecting a small website to a specific url of another website
                            effectdigital
                            effectdigital
                            1
                            4
                            32

                          • If my website uses CDN does thousands of 301 redirect can harm the website performance?
                            kadut
                            kadut
                            1
                            4
                            897

                          • Website Redirection Issue
                            MattRoney
                            MattRoney
                            1
                            4
                            133

                          • 301s Or Stick With Canonical?
                            calindaniel
                            calindaniel
                            0
                            5
                            145

                          • Canonical OR redirect
                            stassaf
                            stassaf
                            0
                            14
                            189

                          • Redirecting my new Website URL to my old Website URL
                            j0a0vargas
                            j0a0vargas
                            0
                            11
                            2.3k

                          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