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. 404 Errors & Redirection

    404 Errors & Redirection

    Technical SEO Issues
    5 3 127
    • 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.
    • csmm
      csmm last edited by

      Hi,

      I'm working with someone who recently had two websites redesigned. The old permalink structure consisted of domain/year/month/date/post-name. Their developer changed the new permalink structure to domain/post-name, but apparently he didn't redirect the old URLs to the new ones so we're finding that links from external sites result in 404 errors (once I remove the date in the URL, the links work fine). Each site has 3-4 years worth of blog posts, so there are quite a few that would need to be changed. I was thinking of using the Redirection plugin - would that be the best way to fix this sitewide on both sites?Any suggestions would be appreciated.

      Thanks,

      Carolina

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

        Hi Carolina if that's the ONLY thing you've changed you may consider adding just one line using wildcards in your htaccess and you're done without any plugin.

        Something like this may work:

        RewriteRule ^201(0-3)/(.+)/(.*) http://www.domain.com/$2 [R=301,L]

        csmm 1 Reply Last reply Reply Quote 0
        • csmm
          csmm @mememax last edited by

          Thanks for the response. It turns out that there are going to be other pages that will need to be redirected as well.

          mememax 1 Reply Last reply Reply Quote 0
          • mememax
            mememax @csmm last edited by

            Hi Carolina, if you can send to me even on pvm a list of some examples of the url you'll need to redirect I'll try to help you. However if you publish here the URI (so your domain won't be shown) the whole community may try to help you.

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

              Hi Carolina, has your question been answered?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Changing URL structure of site, including AMP - redirect AMP too?
                1
                1
                40

              • Search Console has found over 18k 404 errors in my site, should I redirect?
                pablo_carrara
                pablo_carrara
                0
                5
                51

              • How i can remove 404 redirect error (Wordpress)
                nichehackathon1
                nichehackathon1
                0
                5
                405

              • Redirect Error
                AlanBleiweiss
                AlanBleiweiss
                0
                5
                546

              • 600+ 404 Errors: Best Practice for Redirects?
                G2W
                G2W
                1
                5
                186

              • 404 Error
                OTSEO
                OTSEO
                0
                7
                530

              • 404 errors and what to do
                JamesNorquay
                JamesNorquay
                0
                4
                769

              • 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