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. Where/how do you set up 301 redirects when keeping the same domain and not preserving the filename?

    Where/how do you set up 301 redirects when keeping the same domain and not preserving the filename?

    Intermediate & Advanced SEO
    2 2 98
    • 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.
    • SEODarren
      SEODarren last edited by

      Hi there,

      I'm just reaching to to ask for some help in understanding where 301 redirects should be set up on a website when keeping the same domain but not preserving the original filenames?

      Essentially what is happening is an old website is being completely overhauled and brought up to date from a technical and usability standpoint. While the SEO isn't great naturally many of the pages have been indexed by google over time. A few pages have decent statistics and I don't want to lose the juice from them, but they do still need a lot of improving.

      So my question is this, would all the redirection take place in the .htaccess file only in this case?

      From reading here on Moz I think this is the case, but I need to confirm that. I was reading this article which has thrown me slightly: https://moz.com/learn/seo/redirection but this seems more complex as the website was actually moving domains.

      Open to any insight and if you need further clarification or information let me know.

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

        I'm by no means an authority on this topic, but I'd definitely use .htaccess to place those redirects, myself. It won't matter that the original filenames no longer exist. That's certainly what I've done as an SEO in the past.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Is it worth keeping a decades-old domain that's merely 301 redirecting to the main domain?
          BartonInteractive
          BartonInteractive
          0
          6
          47

        • Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
          Taiger
          Taiger
          0
          3
          446

        • Have You 301 Redirected Domain A to Domain B ?
          Nayotanguyen
          Nayotanguyen
          0
          13
          491

        • How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
          DirkC
          DirkC
          0
          2
          435

        • 301 redirecting staff Domain to Company Domain
          khi5
          khi5
          0
          5
          102

        • 301 Redirect To Another 301 Redirect
          cbielich
          cbielich
          0
          5
          247

        • 301 redirect from one domain to other domain, How To?
          ThompsonPaul
          ThompsonPaul
          0
          9
          511

        • Help with setting up 301 redirects from /default.aspx to the "/" in ASP.NET using MasterPages?
          BrianCrouch
          BrianCrouch
          0
          2
          595

        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