undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Intermediate & Advanced SEO
  4. Blog subdomain not redirecting

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Blog subdomain not redirecting

Intermediate & Advanced SEO
4
25
3.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • MarkWill
    MarkWill last edited by May 12, 2015, 12:17 PM

    Over the last few weeks I have been focused on fixing high and medium priority issues, as reported by the Moz crawler, after a recent transition to WordPress. I've made great progress, getting the high priority issues down from several hundred (various reasons, but many duplicates for things like non-www and www versions) to just five last week.

    And then there's this weeks report.

    For reasons I can't fathom, I am suddenly getting hundreds of duplicate content pages of the form http://blog.<domain>.com</domain> (being duplicates with the http://www.<domain>.com</domain> versions). I'm really unclear on why these suddenly appeared.

    I host my own WordPress site ie WordPress.org stuff. In Options / General everything refers to http://www.<domain>.com</domain> and has done for a number of weeks. I have no idea why the blog versions of the pages have suddenly appeared.

    FWIW, the non-www version of my pages still redirect to the www version, as I would expect.

    I'm obviously pretty concerned by this so any pointers greatly appreciated.

    Thanks.

    Mark

    1 Reply Last reply Reply Quote 0
    • MarkWill
      MarkWill @Travis_Bailey last edited by May 13, 2015, 2:36 PM May 13, 2015, 2:36 PM

      So far so good - every URL I try to my site is now redirected to the www subdomain and, to date, I am unaware of any side effects. I will keep monitoring but all looks good at this point.

      Thanks again to everyone who helped with this.

      Mark

      1 Reply Last reply Reply Quote 0
      • Travis_Bailey
        Travis_Bailey @Travis_Bailey last edited by May 13, 2015, 8:19 AM May 13, 2015, 8:19 AM

        Looks like that, or some approximation thereof has you sorted. I would just like to add that you should keep an eye on Webmaster Tools.

        MarkWill 1 Reply Last reply May 13, 2015, 2:36 PM Reply Quote 0
        • AlanMosley
          AlanMosley @Travis_Bailey last edited by May 12, 2015, 9:51 PM May 12, 2015, 9:51 PM

          Take a copy of the htaccess file, if something goes wrong, then you can always go back

          1 Reply Last reply Reply Quote 0
          • Travis_Bailey
            Travis_Bailey @MarkWill last edited by May 12, 2015, 6:08 PM May 12, 2015, 6:08 PM

            I'm hesitant to say; "Do X." because I'm not really sure what will happen - with the redirect plugin in the mix. I imagine a lot, if not all of the subdomain folders and pages have already been redirected via the plugin. So I imagine the path of least disaster at the moment is just redirecting the subdomain (sub.domain.com) to the main domain (www.domain.com) alone.

            I could be totally wrong, but this one is weird.

            Test out the rule and then push live. Here is the code to redirect just the subdomain to just the www domain:

            RewriteCond %{HTTP_HOST} ^blog.domain.com$ [NC]
            RewriteCond %{REQUEST_URI} ^/?$
            RewriteRule .* http://www.domain.com [R=301,L]

            Double check it, triple check it and then push live. Keep a very close eye on it. I really hope we don't end up with a loop.

            AlanMosley Travis_Bailey 2 Replies Last reply May 13, 2015, 8:19 AM Reply Quote 0
            • MarkWill
              MarkWill @AlanMosley last edited by May 12, 2015, 2:59 PM May 12, 2015, 2:59 PM

              Yep, totally agree with the thinking and prefer that approach. I researched the non-www (blank subdomain) solution a while back and the rewrite rule I used was suggested in a number of places. But your suggest seems much more robust, providing there's no gotcha (I know of none).

              I implemented this and it seems to be working (after a bit of a detour because of caching :)). So, I think I am good and will monitor.

              A big thanks to you and Travis. I very much appreciate the prompt responses.

              Mark

              1 Reply Last reply Reply Quote 0
              • AlanMosley
                AlanMosley @AlanMosley last edited by May 12, 2015, 2:33 PM May 12, 2015, 2:33 PM

                The logic I used is like this.

                rather than have a rules like
                If wearing jeans, you must wear the school uniform
                If wearing hoodie, you must wear the school uniform
                If wearing a thong, you must wear the school uniform
                If naked, you must wear the school uniform

                you only need one rule
                If not wearing school uniform, you must wear the school uniform

                MarkWill 1 Reply Last reply May 12, 2015, 2:59 PM Reply Quote 0
                • AlanMosley
                  AlanMosley @MarkWill last edited by May 16, 2015, 4:30 PM May 12, 2015, 2:29 PM

                  in htaccess "!" means not so try this

                  RewriteCond %{HTTP_HOST} !^www.domain.com$
                  RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

                  also when using regex special chars like "." should be escaped with "" see above www.domain.com

                  AlanMosley 1 Reply Last reply May 12, 2015, 2:33 PM Reply Quote 1
                  • MarkWill
                    MarkWill @Travis_Bailey last edited by May 12, 2015, 2:19 PM May 12, 2015, 2:19 PM

                    Here's the only (remotely) relevant entry I have in my .htaccess file (replacing my actual domain with <domain>):</domain>

                    RewriteEngine On
                     RewriteCond %{HTTP_HOST} ^<domain>.com$
                     RewriteRule (.*) http://www.<domain>.com/$1 [R=301,L]</domain></domain>

                    The intent of this is to redirect all URLs of the form http://<domain>.com/page</domain> to http://www.<domain>.com/page.</domain> I implemented that a while back and it seems to be working just fine.

                    I can't find any reference to the blog subdomain. I suspect what I need to do is implement something like this:

                    RewriteCond %{HTTP_HOST} ^blog.<domain>.com$
                     RewriteRule (.*) http://www.<domain>.com/$1 [R=301,L]</domain></domain>

                    By the way, despite appearances I am "the guy" for this site. I've completely installed/configured it from scratch so anything broken is my fault 🙂 I have the smarts to backup, test, verify, restore etc so I can make changes to .htaccess myself. I just don't have significant experience of the .htaccess file itself so just need to be cautious as I go. But it's all me 🙂

                    Dare I suggest that what I am trying to achieve here (redirect from the blog subdomain to the www subdomain) shouldn't be too tricky?

                    Thanks.

                    Mark

                    AlanMosley Travis_Bailey 2 Replies Last reply May 12, 2015, 6:08 PM Reply Quote 0
                    • AlanMosley
                      AlanMosley last edited by May 19, 2015, 3:15 PM May 12, 2015, 2:15 PM

                      Ok, I think I understand a bit better, you don't have a blog?
                      Then I would remove the dns record for blog, if you cant do that then yes you could 301 redirect

                      You can do this in one redirect following the logic
                      if not www.domain.com then redirect to www.domain.com

                      1 Reply Last reply Reply Quote 1
                      • MarkWill
                        MarkWill @AlanMosley last edited by May 19, 2015, 3:15 PM May 12, 2015, 2:10 PM

                        Thanks again, Alan.

                        I am thinking that what I probably need is to 301 redirect all URLs of the form http://blog.<domain>.com/page</domain> to http://www.<domain>.com/page</domain>, yes? In short I don't want to use the blog subdomain anywhere so, to avoid SEO inefficiencies, I should presumably redirect as above so that everything ends up at the www subdomain.

                        I think 🙂

                        Thanks.

                        Mark

                        1 Reply Last reply Reply Quote 1
                        • AlanMosley
                          AlanMosley @MarkWill last edited by May 19, 2015, 3:14 PM May 12, 2015, 2:00 PM

                          Sorry missed the bit about blog.
                          obviously blog.domain.com should not 301 to www
                          it should point to the correct site, then all reports and google will sort themselves out.

                          so add one more step, test that blog does in fact resolve to the correct site

                          MarkWill 1 Reply Last reply May 12, 2015, 2:10 PM Reply Quote 1
                          • MarkWill
                            MarkWill @Travis_Bailey last edited by May 12, 2015, 1:51 PM May 12, 2015, 1:51 PM

                            Travis,

                            I want to be really sure I understand what you are saying so let me clarify.

                            I do have a blog DNS entry, referring to the server (just like I have www, to the same IP address).  In a "clean" installation, any page being requested to that server, SHOULD redirect to the www subdomain because I have www.<domain>.com</domain> specified in General \ Settings. Is that accurate so far?

                            However, "something" (probably in .htaccess) is kicking in that allows URLs with the blog subdomain to resolve (no redirection), regardless of what is in General \ Settings, yes?

                            Thanks.

                            Mark

                            1 Reply Last reply Reply Quote 0
                            • MarkWill
                              MarkWill @AlanMosley last edited by May 12, 2015, 1:47 PM May 12, 2015, 1:47 PM

                              Thanks Alan. I would like to verify one aspect of this.

                              Somehow, Moz/Google located the blog.<domain>.com pages. I honestly don't know why but I assume that if these pages have actual resolved all along, as they do now, then I could potentially have external URLs pointing to them, yes? If so, then if I just follow the suggestion you have made then won't I continue to have duplicate content issues? I fear I am missing something from your suggestion :)</domain>

                              PS: I just realized what you perhaps meant. I have generally seen references to "non-www" to mean URLs of the form http://<domain>.com</domain> ie. with no subdomain. But I am guessing you mean "non-www" in the broader sense - absolutely ANYTHING that doesn't have the www subdomain should redirect there. That's presumably what you had in mind, yes?

                              Thanks again.

                              Mark

                              AlanMosley 1 Reply Last reply May 12, 2015, 2:00 PM Reply Quote 0
                              • Travis_Bailey
                                Travis_Bailey @AlanMosley last edited by May 12, 2015, 1:44 PM May 12, 2015, 1:44 PM

                                This particular situation won't sort itself out. There's a sub involved and I suspect it's a rewrite rule that shouldn't be there. The developer appears to be somewhat sophisticated as they're using X-FRAME-OPTIONS in a way that doesn't allow iFrames to work outside of the domain.

                                So who knows what goodies await in .htaccess. 😉

                                MarkWill 1 Reply Last reply May 12, 2015, 1:51 PM Reply Quote 0
                                • AlanMosley
                                  AlanMosley last edited by May 12, 2015, 1:39 PM May 12, 2015, 1:39 PM

                                  Test that non-www 301's to www
                                  Make sure that all your internal links point to www, you don't want links that you control going thought a redirect.

                                  If those 2 are ok, then forget the report it will sort itself out over time.

                                  Travis_Bailey MarkWill 2 Replies Last reply May 12, 2015, 1:47 PM Reply Quote 0
                                  • Travis_Bailey
                                    Travis_Bailey @MarkWill last edited by May 12, 2015, 1:32 PM May 12, 2015, 1:32 PM

                                    Okay, here's what I got:

                                    The plugin supposedly operates independently of .htaccess. So taking that at face value, I don't think you're going to get what you need out of the plugin.

                                    I would imagine the .htaccess file is much the same as it was when the site launched, or when it was last modified by the developer. So that file is likely going to need editing to achieve what you need. However, that file isn't something you just want to play with in a live environment.

                                    And it's not something anyone in their right mind would blindly say; "Yeah just copy and paste this rule!"

                                    I would talk to Dale and see if he has a block of free time coming up.

                                    MarkWill 1 Reply Last reply May 12, 2015, 2:19 PM Reply Quote 0
                                    • MarkWill
                                      MarkWill @Travis_Bailey last edited by May 12, 2015, 1:18 PM May 12, 2015, 1:18 PM

                                      We are using the Redirection plugin.

                                      https://wordpress.org/plugins/redirection/

                                      However, everything I have entered is at the page level (redirect page1 to page2). I don't know if the Redirection plugin even supports subdomain redirection. I am checking that now (a quick scan of the support page for that plugin finds every question related to subdomains unanswered :)).

                                      It seems the working assumption is that nothing changed and that Moz/Google just found this for the first time, which I hadn't considered.

                                      Thanks.

                                      Mark

                                      Travis_Bailey 1 Reply Last reply May 12, 2015, 1:32 PM Reply Quote 0
                                      • LesleyPaone
                                        LesleyPaone @MarkWill last edited by May 12, 2015, 1:12 PM May 12, 2015, 1:12 PM

                                        You are going to have to add a manual rewrite rule to the htaccess, preferably at the top. This might help, http://stackoverflow.com/questions/1321123/redirect-from-subdomain-to-domain-htaccess  But like Travis said, be careful, make a back up, because you can break your site doing this.

                                        1 Reply Last reply Reply Quote 1
                                        • Travis_Bailey
                                          Travis_Bailey @MarkWill last edited by May 12, 2015, 1:11 PM May 12, 2015, 1:11 PM

                                          You mentioned in the above thread that you're using a redirection plugin. What is it's name? Beyond that Yoast and All in One both allow you to edit htaccess entries. (I despise that feature, btw.)

                                          MarkWill 1 Reply Last reply May 12, 2015, 1:18 PM Reply Quote 0
                                          • MarkWill
                                            MarkWill @Travis_Bailey last edited by May 12, 2015, 1:06 PM May 12, 2015, 1:06 PM

                                            Thank you Travis. I have never actually edited the .htaccess file directly (not even 100% sure where it is :)) but I guess what you suggest could be put there through other means (plugins, etc).

                                            Just to make sure I understand, though, what I actually want is a 301 redirect for all pages under the blog subdomain to the www domain. I'm not overly familiar with the .htaccess syntax for redirects (but can research) - but if you happen to have the syntax for that I'd be appreciative 🙂

                                            Thanks again.

                                            Mark

                                            Travis_Bailey 1 Reply Last reply May 12, 2015, 1:11 PM Reply Quote 0
                                            • MarkWill
                                              MarkWill @LesleyPaone last edited by May 12, 2015, 1:03 PM May 12, 2015, 1:03 PM

                                              Thank you Leslie. Yes, I can browse to the blog... pages and they remain that way in the browsers URL field. So, the thinking is that this has been around all along and Moz/Google just found it? Interesting.

                                              So, any idea on how I would fix this? I do use the Redirection plugin (and have been entering quite a few redirects recently) but as far as I can tell that plugin allows me to redirect between pages, rather than redirect subdomains i.e. I can redirect http://www.<domain>.com/page1</domain> to http://www.<domain>.com/page2</domain> but not www -> something else.

                                              Thank you again, Leslie.

                                              LesleyPaone 1 Reply Last reply May 12, 2015, 1:12 PM Reply Quote 0
                                              • Travis_Bailey
                                                Travis_Bailey last edited by May 12, 2015, 12:53 PM May 12, 2015, 12:53 PM

                                                I'm going to guess that you have something that looks like this in your .htaccess file:
                                                RewriteRule ^blog/$ http://blog.website.com [L,NC,R=301]

                                                WARNING

                                                You can knock your site down with the slightest syntax error when you mess with the htaccess file. Proceed with caution.


                                                Read this first.

                                                Let us know what you find.

                                                MarkWill 1 Reply Last reply May 12, 2015, 1:06 PM Reply Quote 1
                                                • LesleyPaone
                                                  LesleyPaone @MarkWill last edited by May 12, 2015, 12:53 PM May 12, 2015, 12:53 PM

                                                  Can you access the pages at blog.yoursite.com? Do they show up in the browser? It could be an issue that has always been there that Google just found.

                                                  MarkWill 1 Reply Last reply May 12, 2015, 1:03 PM Reply Quote 0
                                                  • MarkWill
                                                    MarkWill last edited by May 12, 2015, 12:20 PM May 12, 2015, 12:20 PM

                                                    I should add that I do have a DNS record for the blog subdomain. However, that has been in place all along, including the last few weeks where these duplicate content errors didn't exist. Given the settings in Settings \ General I would expect these to be redirected to http://www.<domain>.com</domain>, which seems to be what was happening up until this weeks report.

                                                    LesleyPaone 1 Reply Last reply May 12, 2015, 12:53 PM Reply Quote 0
                                                    • 1 / 1
                                                    1 out of 25
                                                    • First post
                                                      1/25
                                                      Last post

                                                    Got a burning SEO question?

                                                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                                    Start my free trial


                                                    Browse Questions

                                                    Explore more categories

                                                    • Moz Tools

                                                      Chat with the community about the Moz tools.

                                                    • SEO Tactics

                                                      Discuss the SEO process with fellow marketers

                                                    • Community

                                                      Discuss industry events, jobs, and news!

                                                    • Digital Marketing

                                                      Chat about tactics outside of SEO

                                                    • Research & Trends

                                                      Dive into research and trends in the search industry.

                                                    • Support

                                                      Connect on product support and feature requests.

                                                    • See all categories

                                                    Related Questions

                                                    • Mat_C

                                                      Subdomain cannibalization

                                                      Hi, I am doing the SEO for a webshop, which has a lot of linking and related websites on the same root domain. So the structure is for example: Root domain: example.com
                                                      Shop: shop.example.com
                                                      Linking websites to shop: courses.example.com, software.example.com,... Do I have to check which keywords these linking websites are already ranking for and choose other keywords for my category and product pages on the webshop? The problem with this could be that the main keywords for the category pages on the webshop are mainly the same as for the other subdomains. The intention is that some people immediately come to the webshop instead of going first to the linking websites and then to the webshop. Thanks.

                                                      Intermediate & Advanced SEO | Nov 10, 2018, 12:50 PM | Mat_C
                                                      0
                                                    • alex_goldman

                                                      All URLs in the site is 302 redirected to itself

                                                      Hi everyone, I have a problem with a website wherein all URLs (homepage, inner pages) are 302 redirected. This is based on Screaming Frog crawl. But the weird thing is that they are 302 redirected to themselves which doesn't make any sense. Example:
                                                      https://www.example.com.au/ is 302 redirected to https://www.example.com.au/ https://www.example.com.au/shop is 302 redirected to https://www.example.com.au/shop https://www.example.com.au/shop/dresses is 302 redirected to https://www.example.com.au/shop/dresses Have you encountered this issue? What did you do to fix it? Would be very glad to hear your responses. Cheers!

                                                      Intermediate & Advanced SEO | Jul 10, 2017, 4:03 PM | alex_goldman
                                                      0
                                                    • BrandBuilder

                                                      New Site (redesign) Launched Without 301 Redirects to New Pages - Too Late to Add Redirects?

                                                      We recently launched a redesign/redevelopment of a site but failed to put 301 redirects in place for the old URL's. It's been about 2 months. Is it too late to even bother worrying about it at this point? The site has seen a notable decrease in site traffic/visits, perhaps due to this issue. I assume that once the search engines get an error on a URL, it will remove it from displaying in search results after a period of time. I'm just not sure if they will try to re-crawl those old URLs at some point and if so, it may be worth it to have those 301 redirects in place. Thank you.

                                                      Intermediate & Advanced SEO | Sep 18, 2015, 7:48 PM | BrandBuilder
                                                      0
                                                    • alexkatalkin

                                                      Problem with redirects in coldfusion

                                                      How to redirect pages in cold fusion? If using ColdFusion and modrewrite, the URL will never be redirected from ModRewrite.

                                                      Intermediate & Advanced SEO | Sep 2, 2014, 3:07 PM | alexkatalkin
                                                      0
                                                    • Kingalan1

                                                      Is Using a Question, Answer Format Appropriate for a Blog? Is a 300 Word Micro Blog An SEO Plus?

                                                      My PR agency has suggested a question answer format be incorporated in my blog. They suggest a microblog with a single sentence question and an answer of about 300 words. My blog currently has about 35 posts. I would like to ramp up blog entries to about one or two per week of these "mini blog" posts. The format of the new blog begins as a question with the responses being paragraphs that do not use headings. My concerns are as follows: 1. No headings in an answer of 300 words will fail to provide Google with context regarding the content's meaning. Everything I have read about SEO suggests text be broken up in short sections and that it be divided by headings (preferably H2s). I very much like my agency's concept for a question answer format blog. It provides very practical info for visitors. How can I use it in a manner that supports SEO best practices? 2. According to a reputable SEO firm that has been assisting me, Google does not consider a blog post of less than 600 words to be superior quality. They told me that  blog posts of 300 words, from an SEO purpose will not be a great helpful, that the content will not be rich enough to generate incoming links. Is this really the case? What if this abbreviated content is very well written and engaging? If so, is 300 words sufficient? From the visitor's perspective I am not sure they would have the patience to read 600 words when 300 words is more than than enough to answer these basic questions. From a PR perspective I think the shorter content in a question answer format is superior at least for my line of business (commercial real estate brokerage). 3. If 500-600 words is the minimum word count, and headings are necessary, what is the best way to execute a question and answer blog format? The purpose of this blog is to provide very useful info to my visitors while generating incoming links to that will boast my rankings. Thanks in advance for your feedback!!! Alan

                                                      Intermediate & Advanced SEO | Jan 7, 2014, 2:25 PM | Kingalan1
                                                      0
                                                    • ajarad

                                                      Geoip redirection, 301 or 302?

                                                      Hello all Let me first try to explain what our company does and what it is trying to achieve. Our company has an online store, sells products for 3 different countries, and two languages for each country. Currently we have one site, which is open to all countries, what we are trying to achieve is make 3 different stores for these 3 different countries, so we can have a better control over the prices in each country. We are going to use Geoip to redirect the user to the local store in his country. The suggested new structure is to add sub-folders as following: www.example.com/ca-en
                                                      www.example.com/ca-fr
                                                      www.example.com/us-en
                                                      ... If a visitor is located outside these 3 countries, then she'll be redirected to the root directory www.example.com/en We can't offer to expand our SEO team to optimize new pages for the local market, it's not the priority for now, the main objective now is to be able to control the prices for different market. so to eliminate the duplicate issue, we'll use canonical tags. Now knowing our objective from the new URL structure, I have two questions: 1- which redirect should we use? 301, 302? 
                                                      If we choose 301, then which version of the site will get the link juice? (i.e, /ca-en or /us-en?)
                                                      if we choose 302, then will the link juice remain in the original links? is it healthy to use 302 for long term redirections? 2- Knowing that Google bots comes from US-IP, does that mean that the other versions of the site won't be crawled (i.e, www.example.com/ca-fr), this is especially important for us as we are using AdWords, and unindexed pages will effect our quality score badly. I'd like to know if you have other account structure in your mind that would be better than this proposed structure. Your help is highly highly appreciated.
                                                      Thanks in advance.

                                                      Intermediate & Advanced SEO | Nov 18, 2013, 9:59 PM | ajarad
                                                      0
                                                    • Webrevolve

                                                      Franchise sites on subdomains

                                                      I've been asked by a client to optimise a a webpage for a location i.e. London. Turns out that the location is actually a franchise of the main company. When the company launch a new franchise, so far they have simply added a new page to the main site, for example: mysite.co.uk/sub-folder/london They have so far done this for 10 or so franchises and task someone with optimising that page for their main keyword + location. I think I know the answer to this, but would like to get a back up / additional info on it in terms of ranking / seo benefits. I am going to suggest the idea of using a subdomain for each location, example: london.mysite.co.uk Would this be the correct approach. If you think yes, why? Many thanks,

                                                      Intermediate & Advanced SEO | Mar 5, 2012, 3:11 PM | Webrevolve
                                                      0
                                                    • Ryan-Ricketts

                                                      Should we stream videos from a subdomain or subfolder?

                                                      This is causing some hand-wrangling and I need some help. Let's say we were developing rich video content for our products and our agency is hosting the content on a new external server. There are already plans to link to these videos from product detail pages, category pages, and landing pages on our main website: www.example.com. Would it be better to create a new subdomain or to use a subfolder with a reverse proxy technique for this video content? It's not truly a microsite and will not have a gallery page to navigate the various videos. For example, would it be better to use this: video.example.com/ ...or this (executed with a reverse proxy😞 www.example.com/video/ Of course, regardless of whether this new content will live on a subdomain or within a subfolder, we plan on creating a video Sitemap using guidance from Justin Hammack in this terrific post.

                                                      Intermediate & Advanced SEO | Feb 17, 2012, 4:16 PM | Ryan-Ricketts
                                                      1

                                                    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
                                                    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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                                    • Accessibility
                                                    • Terms of Use
                                                    • Privacy

                                                    Looks like your connection to Moz was lost, please wait while we try to reconnect.