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
-
URL structure - Page Path vs No Page Path
We are currently re building our URL structure for eccomerce websites. We have seen a lot of site removing the page path on product pages e.g. https://www.theiconic.co.nz/liberty-beach-blossom-shirt-680193.html versus what would normally be https://www.theiconic.co.nz/womens-clothing-tops/liberty-beach-blossom-shirt-680193.html Should we be removing the site page path for a product page to keep the url shorter or should we keep it? I can see that we would loose the hierarchy juice to a product page but not sure what is the right thing to do.
Intermediate & Advanced SEO | | Ashcastle0 -
If I disavow bad Backlinks of my website. If, I create Backlinks again, those websites. Did that again become count in my Backlinks?
Hi, all please tell me. If I disavow bad Backlinks of my website. If, I create Backlinks again, those websites. Did that again become count in my Backlinks?
Intermediate & Advanced SEO | | sourav60 -
Restructuring Areas of a Website
Hi We are changing the structure of 2 areas of our site but the URL's won't be changing. We're effectively removing the first category level as it doesn't make much sense: Current structure Cat 1 - http://www.key.co.uk/en/key/cupboards-lockers Cat 2s - http://www.key.co.uk/en/key/lockers & http://www.key.co.uk/en/key/cupboards Cat 3s... New structure will look like Cat 1's http://www.key.co.uk/en/key/lockers & http://www.key.co.uk/en/key/cupboards Cat 2's.... etc The top category 1 doesn't rank for much & the level 2's perform better anyway. Will moving the structure change rankings even though the URLs don't change - just what is assigned to them in the back changes I know if the on-page content changes, things may be affected, but we're minimising this as much as possible. Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
If my website uses CDN does thousands of 301 redirect can harm the website performance?
Hi, If my website uses CDN does thousands of 301 redirect can harm the website performance? Thanks Roy
Intermediate & Advanced SEO | | kadut1 -
Is this the correct way of using rel canonical, next and prev for paginated content?
Hello Moz fellows, a while ago (3-4 years ago) we setup our e-commerce website category pages to apply what Google suggested to correctly handle pagination. We added rel "canonicals", rel "next" and "prev" as follows: On page 1: On page 2: On page 3: And so on, until the last page is reached: Do you think everything we have been doing is correct? I have doubts on the way we have handled the canonical tag, so, any help to confirm that is very appreciated! Thank you in advance to everyone.
Intermediate & Advanced SEO | | fablau0 -
Bing seriously hitting our website
Hi I have a strange query, Bing in the last four weeks have been seriously crawling our site, and while at the moment this isn't affecting our servers, coming into the busy time of the year I am just wondering if anyone else is seeing this. They are basically crawling the entire site (including nofollow pages) even though according to Bing Webmaster tools, they know our sitemap. Is anybody else seeing any unusual activity with the Bing bot. Thanks Andy
Intermediate & Advanced SEO | | Andy-Halliday0 -
Rel Canonical = WHAT
can someone please explain this "NOTICE" i am getting from my campaign...Is this a problem that needs attention?
Intermediate & Advanced SEO | | SEObleu.com0 -
Best SEO format for a blog page on an ecommerce website.. inc Source Ordered Content
Does anyone know of a page template or code I might want to base a blog on as part of an eccomerce website? I am interested in keeping the look (includes) of the website and paying attention to Source Ordered Content helping crawlers index the new great blogs we have to share. I could just knock up a page with a template from the site but I would like to investigate SOC at this stage as it may benefit us in the long run. Any ideas?
Intermediate & Advanced SEO | | robertrRSwalters0