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 this a safe 301 redirect?

    Is this a safe 301 redirect?

    Technical SEO Issues
    4 3 578
    • 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.
    • HCGDiet
      HCGDiet last edited by

      We are moving our site from one platform to another. Currently on our site we have two homepages. "www.homepage.com" and "www.homepage.com/Index" Both pages have some high quality links pointing in on them.

      The problem:

      We are going to be doing a 301 redirect from "www.homepage.com/Index"  page to "www.homepage.com" as we are moving platforms at this time we weren't going to create a  "www.homepage.com/Index" page all. This leaves this page as an empty URL. With this webpage disappearing all together will we lose traction as we are redirecting an empty URL? Or is it better to recreate this "www.homepage.com/Index" on our new platform redirect it  and wait for google to deIndex this page for us?

      As well is there a tutorial for how to implement 301 redirects or is this something worth looking for a developer and pay someone to do?

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

        Having two homepages sounds weird to me. I'd definitely opt for 301 redirecting /Index to your regular home page to pass all the link juice to one page.  The old /Index page isn't really an "empty" URL, it will redirect to your regular home page, so people who try to navigate there will see your regular home page.

        How to implement the redirect I believe will depend on what you're running your server on (Apache, etc).

        1 Reply Last reply Reply Quote 1
        • AdoptionHelp
          AdoptionHelp last edited by

          Be wary of redirecting /index to / as this could leave your server in an infinite loop if your server considers /index to be a valid way of loading the content at / (and lots do).

          There are lots of tutorials on the web for how to do this, but if you're not comfortable editing an .htaccess file its probably worth the extra money to have someone familiar with apache and regular expressions to do it for you.

          Here's an example of how I do something similar on my site, in my .htaccess file:

          <ifmodule mod_rewrite.c="">RewriteEngine on

          # Redirect index.html to the root mydomain.org
            RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html
            RewriteRule ^index.html$ http://www.mydomain.org/ [R=301,L]</ifmodule>

          HCGDiet 1 Reply Last reply Reply Quote 0
          • HCGDiet
            HCGDiet @AdoptionHelp last edited by

            Great advice Ryan.

            I'll make sure to keep an eye on that redirecting and keep it from going into a never ending loop. I can see how that could easily happen. I'll look into a developer, sounds like the safest bet.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • To 301 or not to 301?
              seorocket
              seorocket
              0
              3
              91

            • To 301 redirect or not...
              Immanuel
              Immanuel
              0
              7
              147

            • Redirect a 301 Redirect
              RedCaffeine
              RedCaffeine
              0
              5
              98

            • 301 Redirect
              KaneJamison
              KaneJamison
              0
              8
              408

            • 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

            • 301 Redirects
              trophycentraltrophiesandawards
              trophycentraltrophiesandawards
              1
              3
              426

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

            • How to safely reduce the number of 301 redirects / should we be adding so many?
              BaseKit
              BaseKit
              0
              7
              2.3k

            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