Using rel cannonical to host a blog as a path on our e-commerce website
-
There has been recent suggestion (from Rand) that hosting your blog as a folder rather than a subdomain is much better from an SEO point of view.
Unfortunately, our blog is hosted on a subdomain with a different technology stack to the main e-commerce site. We are finding it quite tricky to migrate to a folder given the different technologies. Is the following a suitable solution?
- 301 redirect from mysite.com/blog/cool-blog-post to blog.mysite.com/cool-blog-post
- And then put mysite.com/blog/cool-blog-post" /> on blog.mysite.com/cool-blog-post
Would be great to have your thoughts on this guys - I can't figure out if it will work or be an SEO fail.
-
LindaLV, we were actually going to 301 from the path to the subdomain (no content at the path). Could you explain a bit more about how subdomain-to-path 301-redirects would work? Would they not just end up somewhere where there is no content?
Lesley, we use IIS so not htaccess issues as such but, yes, we were having problems in that area.
Thank you both!
-
The original question was about moving a blog from a subdomain to a subfolder (hosting your blog as a folder rather than a subdomain) and using the newly created subfolder as the canonical, which would be accessible.
I do see that in the example the question refers to a 301 from the subfolder to the subdomain, but I think that was just a little mix-up in writing up the example, and it should say that the 301 would be from the old subdomain to the new subfolder. Otherwise yes, that would be circular.
There is also the question of whether you'd need a canonical as well as a 301 (since that would be redundant) but I would probably do it anyway as a sort of belts-and suspenders approach, in case something went wrong. (But I worry too much.)
-
I don't think that will work. The reason being if I am understanding correctly, is that the canonical url will never be accessible. I don't know all of the specifics about what Google does on an internal level (like most SEO people) but I don't think it would fly just for the fact that the canonical is never able to be accessed.
Are redirections and htaccess issues the reason you cannot move over to using a sub directory?
-
We are going to do a very similar changeover in the near future and that is how we plan to go about it. I have been looking into it and I don't see any major drawbacks. (But if anyone else has other information--I too would love to hear about it before starting this...)
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
-
Problems with a website-help
Soooooo, I did a crawl report on this site : www.greatwesternflooring.com and this was what was on the report. This is a dnn site. I'm guessing the site has a redirect loop given the http status code. Can anyone help me with a fix. (the developers have said there is no redirect on the site......clearly there is....) | http://www.greatwesternflooring.com/ | 2015-01-07T21:32:25Z | 609 : Redirect to already-visited URL received for page request. | Error attempting to request page; see title for details. | 302 | http://www.greatwesternflooring.com | <colgroup><col width="319"> <col width="144"> <col width="378"> <col span="39" width="64"></colgroup>
Intermediate & Advanced SEO | | Britewave
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |0 -
Getting Your Website Listed
Do you have any suggestiongs? I do not know local websites where I can get some easy backlinks. I guess a record in Google Places.would be great as well. Any sound suggestion will be appreciated. Thanks!
Intermediate & Advanced SEO | | stradiji0 -
Are prices shown in search results good for e-commerce sites?
Hello here. I own an e-commerce website (virtualsheetmusic.com) and with the fact we have implemented structured data for our product pages, now our search results on Google appear with pricing information whereas most of our competitors don't have that information displayed (yet). I am wondering: Do you think is that good? What side effects could that cause? Less CTR? Less bounce rate? Less traffic? Any thoughts on this issue are very welcome. Thanks!
Intermediate & Advanced SEO | | fablau0 -
Using rel=alternate hreflang element on ccTLDs
We have multilingual websites with some content variations but 60% of the content on site remains the same. Is it still advisable to use:rel=alternate hreflang option on ccTLDs when ccTLDs are in itself strong signal for Google to display result in respective countries 1. example.com 2. example.co.uk 3. example.co.jp 4. example.de
Intermediate & Advanced SEO | | CyrilWilson0 -
Is it ok to use both 301 redirect and rel="canonical' at the same time?
Hi everyone, I'm sorry if this has been asked before. I just wasn't able to find a response in previous questions. To fix the problems in our website regarding duplication I have the possibility to set up 301's and, at the same time, modify our CMS so that it automatically sets a rel="canonical" tag for every page that is generated. Would it be a problem to have both methods set up? Is it a problem to have a on a page that is redirecting to another one? Is it advisable to have a rel="canonical" tag on every single page? Thanks for reading!
Intermediate & Advanced SEO | | SDLOnlineChannel0 -
How to gain more conversions through my website
Hello, I have a wealth coaching website bobweikel(dot)com Will you look at it and tell me how I can improve traffic and conversions. I want to gain several clients a week just from the web. Possible areas of help: On-site SEO & keywords link building: I don't see how to link build here Content Creation Adwords Thanks!
Intermediate & Advanced SEO | | BobGW0 -
Rel=Canonical URLs?
If I had two pages: PageA about Cats PageB about Dogs If PageA had a link rel=canonical to PageB, but the content is different, how would Google resolve this and what would users see if they searched "Cats" or "Dogs?" If PageA 301 redirected to PageB, (no content in PageA since it's 301 redirected), how would Google resolve this and what would users see if they searched "Cats" or "Dogs?"
Intermediate & Advanced SEO | | visionnexus0 -
What To Do For A Website That is Mainly Images
I have a website that is a desktop wallpaper script. People can come and upload 100's of wallpapers to share with the community. This is were the problems comes in. Files are normally called 27636dark.jpg or whatever and come with no description. This leads to 2 things. no text content that google can use to know what the page/image is about. Meta descriptions, URL's just look like spam. Example: /car-wallpapers/7636dark.jpg If a text description was added, it would still only be like "Green Trees in the distance". Which as you may guess, with 1,000's of wallpapers... would end up having a lot of descriptions the same. Is there any advice for sites that focus on image driven content?
Intermediate & Advanced SEO | | rhysmaster0