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. Redirecting blog.<mydomain>.com to www.<mydomain>.com\blog</mydomain></mydomain>

    Redirecting blog.<mydomain>.com to www.<mydomain>.com\blog</mydomain></mydomain>

    Technical SEO Issues
    6 3 1.3k
    • 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.
    • MarkWill
      MarkWill last edited by

      This is more of a technical question than pure SEO per se, but I am guessing that some folks here may have covered this and so I would appreciate any questions.

      I am moving from a WordPress.com-based blog (hosted on WordPress) to a WordPress installation on my own server (as suggested by folks in another thread here).

      As part of this I want to move from the format blog.<mydomain>.com to www.mydomain.com\blog. I have installed WordPress on my server and have imported posts from the hosted site to my own server.

      How should I manage the transition from first format to the second? I have a bunch of links on Facebook, etc that refer to URLs of the blog..com format so it's important that I redirect.</mydomain>

      I am running DotNetNuke/WordPress on my own IIS/ASP.Net servers.

      Thanks.

      Mark

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

        Hi Mark

        You are going to need to rely on WordPress' own 301 redirect solution.  301 Redirects have to happen on the server where the original content resided (you can't set up a 301 redirect on your own site's server, since  the original files and domain weren't hosted there).

        Here's the official solution http://en.support.wordpress.com/site-redirect/

        MarkWill 1 Reply Last reply Reply Quote 1
        • MarkWill
          MarkWill @AlanBleiweiss last edited by

          Thank you, Alan. I want to make sure I understand this.

          I have full control of my DNS zone entries. I currently link a CNAME record for blog to the <myblog>.wordpress.com. My hope is that I could:</myblog>

          • Update the DNS entry to point to my own server (so, blog.<mydomain>.com would just be directed to that machine)</mydomain>
          • Implement some sort of server-side redirect that translates the old format to the new format.

          This way I have no reason to keep WordPress.com in the picture (with the redirection service) - I basically just create new links to www.<mydomain>.com</mydomain> and have all old links redirected as above.

          Would that not work?

          Thanks again.

          AlanBleiweiss Micke MarkWill 3 Replies Last reply Reply Quote 0
          • AlanBleiweiss
            AlanBleiweiss @MarkWill last edited by

            ah gotcha.  I paused initially reading, and was remiss in getting clarificatni.  So if you have full control, you're in better shape to do it yourself.

            Set up the DNS so that blog.yourdomain.com is pointed to your server, then you can implement the server level 301s on that subdomain yourself on that server.

            1 Reply Last reply Reply Quote 0
            • Micke
              Micke @MarkWill last edited by

              Yes, do what Alan is suggesting.

              Create the blog.yourdomain.com folder on your own server and then put in 301 redirects from blog.yourdomain.com to your www.yourdomain.com/blog

              After the redirects are setup, change your DNS from Wordpress.com to your installation of blog.yourdomain.com.

              On Apache servers you just need to create a htaccess file in your blog.yourdomain.com folder, but I don't have any experience with IIS/ASP server.

              1 Reply Last reply Reply Quote 0
              • MarkWill
                MarkWill @MarkWill last edited by

                Thank you. Yes, that's pretty much the plan I am executing now. Right now I'm struggling to get this working with the URL rewriting module in IIS 7 but I am sure it's possible.

                Thanks again.

                Mark

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Hi! I'm wondering whether for keyword SEO - a url should be www.salshoes.com/shoes/mens/day-wear (so with a few parent categories) or www.salshoes.com/shoes-mens-day-wear is ok for on page optimization?
                  _nitman
                  _nitman
                  0
                  5
                  165

                • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
                  Booj
                  Booj
                  0
                  4
                  113

                • How to link site.com/blog or site.com/blog/
                  matbennett
                  matbennett
                  0
                  2
                  107

                • Blog.furnacefilterscanada.com/ or furnacefilterscanada.com/blog/
                  irvingw
                  irvingw
                  0
                  3
                  175

                • Video Sitemaps <video:content_loc>and<video:player_loc></video:player_loc></video:content_loc>
                  Martijn_Scheijbeler
                  Martijn_Scheijbeler
                  0
                  2
                  1.1k

                • Having both <title>and <meta name="title"...> on a web page?</title>
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  7
                  6.7k

                • Having both <title>and <meta name="title"...> on a web page?</title>
                  KaneJamison
                  KaneJamison
                  0
                  2
                  590

                • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
                  fthead9
                  fthead9
                  0
                  3
                  729

                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