I have two separate netlify sites:
- 1 for my main website
(prettybar.co > prettybar.netlify.com)
- 1 for the blog
(prettybar.co/blog > prettybar-blog.netlify.com)
My redirects for the sites are:
https://prettybar.netlify.com/* https://www.prettybar.co/:splat 301! /blog/* https://prettybar-blog.netlify.com/:splat 200
https://blog.prettybar.co/* https://www.prettybar.co/blog/:splat 301!
My problem is that I don’t know how to redirect the domain
prettybar.co/blog has a 200 redirect (proxy) to the other netlify sites
So if I add a 301 redirect from
prettybar.co/blog, I have a “too many redirects” error.
I would like to do that to avoid a duplicate content from Google (+ assets are not found with this url)
How can I do that? Thank you