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. Is my 301 redirect working?

    Is my 301 redirect working?

    Technical SEO Issues
    15 5 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.
    • Cairmen
      Cairmen @MikeGracia last edited by

      HTTP/1.1 200 OK. Oh, dammit.

      I'm going to try installing a plugin to sort this problem out, and if that doesn't work, I'll be back. Thanks!

      1 Reply Last reply Reply Quote 0
      • Cairmen
        Cairmen @gfiorelli1 last edited by

        It was a few weeks ago, and we're crawled pretty frequently. I think my theme is Not Doing What It Should.

        MikeGracia gfiorelli1 Cairmen johnshearer 6 Replies Last reply Reply Quote 0
        • Cairmen
          Cairmen @MikeGracia last edited by

          Wordpress Simple 301 Redirect plugin did NOT give me 301s on the site you recommended. So, for anyone else reading this subsequently - don't use that 🙂

          However, I then went and just inserted redirects into the .htaccess, and that worked like a charm. Win.

          Thanks very much!

          1 Reply Last reply Reply Quote 0
          • jamesjackson
            jamesjackson @gfiorelli1 last edited by

            Hi Gianluca,

            Sorry for butting into this thread, hope you dont mind:

            So the process that typically happens  is:

            1. 301 redirect is implemented but older pages remain in the index and ranking

            2. Over time Google will drop the older pages and replace them in their index with the new pages

            Is that the process? Is it an exact replacement, and is there a period of overlap when both the new and old pages are ranking?

            Also, is it possible to speed up the process by delisting the old URL with GWT and adding the new URL to GWT?

            Thanks in advance

            MikeGracia jamesjackson 2 Replies Last reply Reply Quote 0
            • MikeGracia
              MikeGracia @Cairmen last edited by

              I like to add the 301's myself in the .htaccess file, with the following format:

              Redirect 301 /url-goes-here.html http://www.yoursite.com/url-goes-here.html

              Be sure to use that structure (eg. NO http://www. on the old page, but have it on the new page)

              Maybe try that for 1 URL, and see if it works for you? - I have to say, be sure to not delete any o fthe other stuff in your .htaccess file! - Best to create a backup BEFORE editing 😉

              Remember, when doing web design, coding, or on-page SEO, if anything goes wrong, the worse thing that should happen is that you have to revert back to the bacup that you made before you started 😉

              Although if you have lots to do, then you can automate it... various ways to do that!

              Really it depends on the context of what you want to do.

              Can I ask, how many pages do you want to 301 redirect?

              1 Reply Last reply Reply Quote 1
              • MikeGracia
                MikeGracia @jamesjackson last edited by

                Hi, I am not Gianluca, but hope you don't mind my input here!

                From our own experience, this is what happens:

                1) Implement a 301

                1. TEST to ensure you get the correct header status (301 permanently moved)

                2. Google eventually crawls the old page, and finds the 301 redirect

                3. After some time, Google replaces the old URL with the new URL.

                Now, as for speeding things up, in my opinion (born out by testing), counter to your idea of adding the new URL to webmaster tools, it is better to get Google to find the actual 301 redirect, before the new url 😉 (this way, Google won't see the new URL as a duplicate, before it finds the old, now 301 redirected, URL, which in theory 'could' happen if both pages had the same content/title tag, etc - Although with just 1 or 2 redirects, it is quite unlikely, and should resolve itself pretty quick).

                So what I like to do, is try to get Googlebot to the old (301'd) page as soon as possible once it has been implemented (and tested!).

                To do this, consider pinging the URL, or pinging your RSS feed (if your site has them)  - Tweet about the fact you did a redirect, and link from twitter to the old URL, or even, if you have done some website redesign, write a press release about it, and within the PR, link to the old page... Basically, anything to get google old Googlebot to crawl the old URL< and find the 301 redirect 😉

                Others may disagree, but this does appear to work well for us!

                Hope that helps,

                Mike.

                1 Reply Last reply Reply Quote 1
                • gfiorelli1
                  gfiorelli1 @Cairmen last edited by

                  I think that to work directly in the .htacces would not be needed, as that should be the purpose of the wordpress plugin...

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

                    In theory, I agree with you. However, the plugin didn't work, and editing the .htaccess did, so I'm going with that in future!

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

                      All done. I added the redirects to the .htaccess directly, and it's now working as it should.

                      Bonza.

                      In answer to your question - about 15 pages, so not un-doable by hand.

                      1 Reply Last reply Reply Quote 0
                      • MikeGracia
                        MikeGracia @Cairmen last edited by

                        Hi Hugh,

                        Glad the advice helped 🙂

                        I have run into issues with Wordpress plugins in the past (ones that do various things!) and for important stuff like 301's, I tend to prefer working in .htaccess manually, as I can see what it is happening, and see how to fix any issues easier.

                        If you run into the issue whereby you are doing massive amounts of 301's, it is sometimes possible to do re-write rules on the URL structure to effect large amounts of 301's, however this can be a bit more involved 😉

                        Anyway, glad you got it sorted - did you check them with the http header check tool? (there are a few like that tool I linked to in case you prefer others, simply google: http header status tool

                        And that should give you a few (just letting you know in case you either prefer others, or if that one goes down when you need it ever).

                        Cheers!

                        Mike.

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

                          hi mike,

                          thanks for the detailed response. that seems like a pretty solid methodology. apparently resubmitting your old sitemap also helps google to recrawl those old url's..

                          although this is a bit off the point from the original question in this thread, this is a great Q&A answer from one of the seomoz staff about how to implement sitewide redirects http://www.seomoz.org/qa/view/45183/update-url-structure

                          1 Reply Last reply Reply Quote 0
                          • johnshearer
                            johnshearer @Cairmen last edited by

                            Thanks Mike..great instructions to 301 via .htaccess file.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • Redirect a 301 Redirect
                              RedCaffeine
                              RedCaffeine
                              0
                              5
                              98

                            • 301 redirect not working
                              BlueprintMarketing
                              BlueprintMarketing
                              0
                              12
                              4.5k

                            • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                              Chris-CA
                              Chris-CA
                              0
                              5
                              456

                            • We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?
                              cprasad
                              cprasad
                              0
                              12
                              2.6k

                            • 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

                            • 301 redirects
                              IM_Learner
                              IM_Learner
                              0
                              2
                              759

                            • 301 Redirect NOT Working as Expected - HELP!
                              hiphound
                              hiphound
                              0
                              5
                              1.1k

                            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