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. Basic Redirection Question

    Basic Redirection Question

    Technical SEO Issues
    2 2 100
    • 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.
    • Vspeed
      Vspeed last edited by

      I am doing a 301 Redirect from site ABC to site XYZ. I loaded the following .htaccess file by ftp to the ABC.com/ server:

      Redirect 301 / http://XYZ.com/

      This was completed over 30 days ago, OSE is not showing any of the links and is failing to show that abc.com is redirected even though the MozBar shows a successful 301 http status code. Is this still just a waiting game or is it not advised to do a redirect this way for seo?

      PS: ahrefs is showing the redirect itself, however, it is not showing the links going to site ABC.com/ as passing to site XYZ.com/ . Any help is appreciated.

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

        Sounds to me like you only redirected homepage to homepage. Instead, you probably should have programmed the following into htaccess...

        RewriteEngine on
        RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
        RewriteCond %{HTTP_HOST} ^www.example.com [NC]

        RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

        Of course, you will want to replace example.com and example.net with your old domain and new domain.

        When you write it up in htaccess like I pasted above this way, you are doing an entire domain redirect. Source: http://www.inmotionhosting.com/support/website/redirects/setting-up-a-301-permanent-redirect-via-htaccess

        I have that page bookmarked for when I do SEO work through htaccess - maybe you should do the same :).

        Hope this helps. Good luck!

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • 302 Redirect Question
          Roman-Delcarmen
          Roman-Delcarmen
          0
          4
          56

        • 301 Redirect Question
          RobCairns
          RobCairns
          0
          3
          131

        • 301 redirect question
          TheeDigital
          TheeDigital
          0
          5
          128

        • URL redirect question
          AlanMosley
          AlanMosley
          0
          8
          165

        • 301 Redirect Questions
          photoseo1
          photoseo1
          0
          9
          512

        • Redirect Question
          KeriMorgret
          KeriMorgret
          1
          5
          322

        • Redirect questions
          lojdqvist
          lojdqvist
          0
          7
          559

        • 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