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 Process for Moving a Blog

    Redirect Process for Moving a Blog

    Technical SEO Issues
    5 3 146
    • 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.
    • Flock.Media
      Flock.Media last edited by

      Hi, I've read several articles about the correct process for moving a blog from a subdomain to the main root domain but am not quite 100% sure as to what to do in our scenario. They were hosting their blog on Hubspot which puts the blog on a sub-domain "blog.rootdomain.com". Realizing it isn't benefiting the main website for SEO they want to move it to the main website. I understand we have to redirect the Hubspot "blog." pages to the new "rootdomain.com/blog" pages but when transferred over (it's a WordPress site) it shows the dates. So, the URL is "rootdomain.com/blog/year/month/title". They want to remove the date. Does that mean the URL must be re-written then redirected so that there's no date showing? There's over 300 posts which will have to be redirected from the Hubspot URLs. Is there a way to avoid setting up the second redirect to remove the dates or make it easier so it isn't one page at a time?

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

        Hi there Wendy,

        Wordpress allows you to specify a default permalink structure that will allow you to avoid inclusion of "/year/month/title".

        In the left-hand menu select Settings > Permalinks. Choose the last option (custom) and append "/blog/%postname%/" after your domain name.

        Flock.Media 1 Reply Last reply Reply Quote 2
        • evolvingSEO
          evolvingSEO last edited by

          If I'm understanding the question here's what you'll need to do:

          1. Redirect the Hubspot blog URLs to the non-date URLs
          2. Redirect the Dated URLs to the non dated URLs.

          So _instead of _ a set of redirect chains (like shown in my graphic here you'll end up with something like this) - because the dated URLs were already created and "out there" you will have to redirect them to the non-dated URLs as well.

          In terms of doing this quickly/automatically since it's 300 URLs, I'd usually do something like this:

          1. Put the list of old Hubspot URLs in a spreadsheet column A
          2. Put the new dateless URLs in colum B
          3. Do some sort of matching work to get the appropriate URLs side by side so they match (what's done here depends on how your URLs are setup - maybe just alphabetical sorting will work)
          4. I usually use some concatenates etc to then create each line of Redirects for the .htaccess file

          If you're working with Hubspot or something like a partner they should be able to help you with the technical lifting.

          PS - My redirect images come from this post, which is about finding and fixing redirect chains

          Flock.Media 1 Reply Last reply Reply Quote 2
          • Flock.Media
            Flock.Media @DonnaDuncan last edited by

            Thanks, Donna! I'll make sure they are aware to choose the option

            1 Reply Last reply Reply Quote 0
            • Flock.Media
              Flock.Media @evolvingSEO last edited by

              Thanks, Dan! That was the route I suspected i'd have to take but it helps to get validation!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Bulk redirection of blogs
                Omeo21
                Omeo21
                2
                3
                58

              • Is this a Risky Blog Move?
                Caro-O
                Caro-O
                0
                4
                104

              • Redirecting a blog
                Caro-O
                Caro-O
                1
                6
                132

              • Moving Blog Question
                TakeshiYoung
                TakeshiYoung
                0
                4
                72

              • How to redirect my .com/blog to my server folder /blog ?
                AymanH
                AymanH
                0
                5
                149

              • Redirect blogspot blog ?
                EricaMcGillivray
                EricaMcGillivray
                0
                2
                451

              • Redirect or not to redirect
                AlanMosley
                AlanMosley
                0
                7
                458

              • How to move my blog from subdomain to subfolder?
                jaraca
                jaraca
                0
                13
                5.5k

              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