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. Redirect

    Redirect

    Technical SEO Issues
    4 4 588
    • 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.
    • tylerfraser
      tylerfraser last edited by

      Hello,

      I need to redirect just the homepage of my blog somewhere. So blog.com

      But there are other redirects in there and I don't want to override them. So blog.com/post.html

      How do I just redirect the homepage of wordpress page without redirecting all the other pages.

      This is what I did that recreated the issue.

      redirect 301 / blog2.com

      Thanks!

      Tyler

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

        You need to add a line to the start of your website’s .htaccess file.

        A 301 redirect won’t work as it will redirect the whole site, so you have to use a RedirectMatch. The code below will redirect the home page only to google.com, but leave any other pages and archives in place for people to come to your site.

        RedirectMatch ^/$ http://google.com

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

          Hello Tyler,

          For wordpress I use this tool Redirection. Is a plugin and its damn good and very simple to configure.

          Let me know if it helped.

          Regards,

          PP

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

            Hi Tyler,

            Did these answers solve your question, or are you still looking for some more help?

            Thanks!

            Keri

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Redirection chain and Javascript Redirect
              0
              1
              19

            • How do you fix redirect chains and temporary redirects?
              AllChargedUp
              AllChargedUp
              0
              7
              329

            • 301 Redirects Showing As 307 Redirects
              0
              1
              64

            • Redirects
              GastonRiera
              GastonRiera
              0
              4
              59

            • Redirect a 301 Redirect
              RedCaffeine
              RedCaffeine
              0
              5
              98

            • Delete 301 redirected pages from server after redirect is in place?
              RuthBurrReedy
              RuthBurrReedy
              0
              5
              4.0k

            • Do search engines treat 307 redirects differently from 302 redirects?
              CarsProduction
              CarsProduction
              0
              3
              710

            • Redirects
              RyanKent
              RyanKent
              0
              10
              764

            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