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. Which way round to 301 redirect?

    Which way round to 301 redirect?

    Technical SEO Issues
    8 6 128
    • 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.
    • tidybooks
      tidybooks last edited by

      Hi

      We have just added a new layered navigation menu to our website.

      so for example we had

      Before : www.tidy-books.co.uk/chidlrens-bookcases  (this has the seo juice)

      And

      Now:  http://www.tidy-books.co.uk/childrens-bookcases-book-storage/childrens-bookcases

      Might be a stupid question but do I redirect the 'now' url to the 'before' url or the the other way round

      I look forward to hearing your thoughts

      Thanks

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

        Are you based on Wordpress? If so, there are many redirection plugins available where you can simply set wildcards for redirects. One popular one that we use is the following:

        https://wordpress.org/plugins/redirection/

        Also, that new title is somewhat keyword stuffy looking to me and as it shows the same keywords, you wouldn't really see any additional benefit, having it short and to the point would give a better user experience and still allow for keywords to appear in the URL.

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

          Hi Thanks for you answer

          We use magento so I will be using the URL rewrite function

          ProductPearson CandymanKen 2 Replies Last reply Reply Quote 0
          • ProductPearson
            ProductPearson @tidybooks last edited by

            Magento can sometimes be tricky. If you don't have a lot of pages, you can also create the redirects in htaccess.

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

              The Now URLs are the one you probably want ideally so it should be before to now!!

              1 Reply Last reply Reply Quote 1
              • CandymanKen
                CandymanKen @tidybooks last edited by

                Hi-

                Look into the built-in Magento redirects (catalog -->URL Rewrite Management). They tend to work much faster than putting all those redirects into an htaccess file (I learned that from experience)

                Ken

                1 Reply Last reply Reply Quote 1
                • jeff-rackaid.com
                  jeff-rackaid.com last edited by

                  From a system operations standpoint, here's a couple of tips about rewrite rules, especially if you are doing a mass rewrite.

                  When to avoid htaccess?

                  If you have 100's of rewrites do not use htaccess to rewrite each one individually.  The problem is that every HTTP request passing through has to be matched against the rules.  We recently had a customer's developers put in ~8000 rewrite rules - one per page. The result - the server queue filled up as every HTTP request was evaluated against 8000+ conditions.

                  If you have more than few 100 rewrites, consider either looking for a way to use regular expressions to dynamically rewrite them or use tools built into your CMS software.

                  Check your headers.

                  When you have completed your 301 efforts, you can use curl at the command line:

                  curl -I http://www.domain.com/

                  or use a tool like Redbot.org to check your headers to assure the 301 is correctly configured.

                  Trailing Slashes

                  I am not sure how or if trailing slashes impact SEO nowadays,  but I noticed in your example URLs, they did not include a trailing slash.  I have seen some CMS systems rewrite

                  http://www.domain.com/page -> http://www.domain.com/page/

                  This can cause a double 301.  This is easy to miss.   I've found this to be more common when changing CMS systems but something to check.

                  You may want to check out: http://moz.com/learn/seo/canonicalization and the trailing slash comments there.  Since you are dealing with a rewrite, you may want to fix that now.

                  1 Reply Last reply Reply Quote 0
                  • Christy-Correll
                    Christy-Correll last edited by

                    Hi there, you've received some good responses. Did any of them answer your question? We'd love an update, thanks!  (Christy)

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Is 301 redirect the only way when using Vanity URLs?
                      jedireturns
                      jedireturns
                      0
                      3
                      60

                    • 301 Redirects Showing As 307 Redirects
                      0
                      1
                      64

                    • Http -> https redirections / 301 the right way
                      Andy.Drinkwater
                      Andy.Drinkwater
                      0
                      4
                      61

                    • 301 Redirects
                      TheeDigital
                      TheeDigital
                      0
                      3
                      258

                    • 301 redirects reverting to 302 redirects
                      Devanur-Rafi
                      Devanur-Rafi
                      0
                      6
                      532

                    • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
                      Room214
                      Room214
                      0
                      7
                      1.1k

                    • Google Webmaster redirect vs 301 redirect
                      lavellester
                      lavellester
                      0
                      2
                      493

                    • Redirect or not to redirect
                      AlanMosley
                      AlanMosley
                      0
                      7
                      458

                    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