Pointing a sub-domain to a sub-folder in htaccess
-
I have a client who currently uses shopify for there blog. I want to set them up with a separate blog away from the shopify system and host it in Australia.
I know the best option is using a subfolder but as the shopify system is an unmoveable CMS can I somehow point my subdomain to a subfolder and get the benefits of the domain name?
I could do this by using the rewrite rule in the htaccess file.
If I was to do this would it end up cloaking the URL's of the articles?
-
Well, in that case, I don't think you will be able to set it up as domain/blog. Using a subdomain is likely your only option, blog.domain.
But, I wouldn't worry too much about it since Google doesn't really treat the two situations much differently. Matt Cutts recently commented on this exact situation:
http://www.youtube.com/watch?v=_MswMYk05tk
So, I'd go ahead and set up your blog at your secondary host, and point your subdomain to it.
-
Yes. the blog would be set up on am Aussie host.
It is a custom domain
-
Are you saying that:
1. Your client has an ecommerce site that uses shopify.
2. You want to set up a blog for their site, on a separate host.
3. But you'd like it to appear as if it were a subfolder of the main site (e.g. mysite.com/blog), rather than a subdomain (blog.mysite.com)?
Is that correct?
And, is the domain a custom domain that points to shopify?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Cross Domain Canonicalization for Site Folder
Hello colleagues! I have a client who decided to launch a separate domain so they could offer their content translated for other countries. Each country (except the US/English) content lives in its own country folder as follows: client.com/01/02/zh
Technical SEO | | SimpleSearch
client.com/01/02/tw etc. The problem is that they post the content in US/English on this domain too. It does NOT have its own folder, but exists righth after the date (as in the above example) Oh, and the content is the same as on their "main" domain so google likes to index that sometimes vs. the original client on the domain where we want the traffic to go. SO, is there a way to say "hey google, please index the US content only on the main domain, but continue to index the translated content in these folders on this totally separate domain?" Thank you so much in advance.0 -
Old Redirected Domain is replacing my current domain on SERPs
Hello everyone, All of a sudden a 2 year old redirected domain is replacing my current domain for 2 weeks now, my site is apitus.com and my old domain is aptitus.pe (the redirect is still working), however this only happens on my country google results (google.com.pe), if you check my site on google.com, everything looks ok even with a sitelink, which I no longer have on my country search results. Back to the issue, the first thing I thought was go to Search Console and take it out from the index, so I asked for access by uploading a file but since everything on that old site redirects to my current site I can't make such action. While still waiting for such access, is there anything else I could do?. Thanks in advance. PD: I'm adding the images of my SERPs CmzN8kY G3zZwwj
Technical SEO | | JoaoCJ0 -
Different Domains on Same IP
Hello I'm just wondering how much of a difference it makes having links to a site from 2 separate domains that are on the same IP, compared to if the domains were on separate IPs? Thank you! Sam
Technical SEO | | wearehappymedia0 -
Undo a 301 or Starting New Domain?
Hi Guys & Gals, I have a question I'd appreciate your input on. Quick History
Technical SEO | | Nobody1560986989723
When I first started in web design it was just me and a couple of clients. I had a website based on my name on the domain moxby.org.uk. The only 'SEO' work done on it was a bit of on-site work, various links based on forum and blog activity I was involved in (genuine involvement not crappy link building) and of course, building websites with a credit in the footer. When we got serious about the business we considered and finally put in place a new website, new branding and 301'd old URLs to their shiny new location on the new domain: _summitweb.net _(put in place about 12 months ago) Ranks were pretty much maintained and until recently we ranked well locally (still figuring the fallout from the last week or so's changes). The Question I would like to build a personal website, well I'm going to anyway. But as it's a personal/showcase website I need a personal URL for it and my natural choice would be my old url moxby.org.uk. However it is not that simple because summitweb.net is benefitting from redirected links and I don't want to harm our business' rankings just to reclaim a personal URL. So... is there benefit or would it be to my detriment to undo the 301 and build a website on moxby.org.uk or would it, in fact, just make more sense to buy a new domain and have a clean slate?0 -
Block Domain in robots.txt
Hi. We had some URLs that were indexed in Google from a www1-subdomain. We have now disabled the URLs (returning a 404 - for other reasons we cannot do a redirect from www1 to www) and blocked via robots.txt. But the amount of indexed pages keeps increasing (for 2 weeks now). Unfortunately, I cannot install Webmaster Tools for this subdomain to tell Google to back off... Any ideas why this could be and whether it's normal? I can send you more domain infos by personal message if you want to have a look at it.
Technical SEO | | zeepartner0 -
Localized domains and duplicate content
Hey guys, In my company we are launching a new website and there's an issue it's been bothering me for a while. I'm sure you guys can help me out. I already have a website, let's say ABC.com I'm preparing a localized version of that website for the uk so we'll launch ABC.co.uk Basically the websites are going to be exactly the same with the difference of the homepage. They have a slightly different proposition. Using GeoIP I will redirect the UK traffic to ABC.co.uk and the rest of the traffic will still visit .com website. May google penalize this? The site itself it will be almost the same but the homepage. This may count as duplicate content even if I'm geo-targeting different regions so they will never overlap. Thanks in advance for you advice
Technical SEO | | fabrizzio0 -
Multiple (different) domains and canonicalisation
Hello, We've had experience with canonical tags for various domains before, such as tidying up product categories etc... However, can anyone point me to any guidelines about different domains using canonicalisation. For example: If I had the following sites, all with identical content - exampledomain.com completelydifferentdomain.net anothertotallydifferentdomain.com With canonical tags pointing to the first one (exampledomain.com), could this be harmful? Is it better to 301 redirect the other sites? Thanks
Technical SEO | | Sarbs0 -
Subfolder to Root Domain, Should i or not?
Dear All, I am kinda of stuck and need your helps, I have major client's site which is located in subdirectory. Instance: http://www.majorclient.com.cn/cn/ and as you can see domain name is already localized and they are not planning to make any english version of the site, So there will be no /eng/ folder but clients whole website is /cn/ subdirectory which is totally unnecessary and i would like to 301 whole site to **http://www.majorclient.com.cn ** But the problem is that this site has been /cn/ folder forever since the beginning and lot of trusted links are pointing to www.majorclient.com.cn/cn/ So should i move it or just configure 301 www.majorclient.com.cn to www.majorclient.com.cn/cn/ leave it there and don't bother. Help?
Technical SEO | | DigitalJungle0