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
        • 301 Redirect Only Home Page/Root Domain via Domain Registrar Only
          Roman-Delcarmen
          Roman-Delcarmen
          0
          4
          139

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

        • Redirect domain or keep separate domains in each country?
          PatrickDelehanty
          PatrickDelehanty
          0
          6
          220

        • Domain Authority... http://www.domain.com/ vs. http://domain.com vs. http://domain.com/
          MattAntonino
          MattAntonino
          0
          4
          136

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

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

        • 301 Redirecting multiple domains to brand new domain
          SEODinosaur
          SEODinosaur
          0
          13
          1.7k

        • Multiple domains expiring that have 301 redirects to my primary domain. Am I in trouble?
          absoauto
          absoauto
          0
          3
          416

        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