I am an old-school software developer with enough knowledge to setup a domain, a subdomain, etc., but what I want to do is above my understanding.
So today, I have two installations of wordpress, one at example.com, and a second one at blog.example.com. As you probably imagine, in example.com we have the main website, and in blog.example.com a company blog.
It is important to notice that by default, whenever I type example.com, it gets redirected somehow to www.example.com.
But we updated the template and the new version allows us to have a blog within the main website (example.com or www.example.com).
That is great, but we do not want to loose our old blog.example.com links, for SEO and other reasons.
In the end, what we want to achieve is that whatever content is accessible through
http://www.example.com/2019/05/some-blog.html
is at the same time available through:
http://blog.example.com/2019/05/some-blog.html
I thought that by creating a CNAME from blog. to example.com will work, but is not. Any ideas? Thank you very much!
Just to make it clearer, I don't want blog.example.com to redirect to www.example.com, I want to point to the same content. Thanks.
So today, I have two installations of wordpress, one at example.com, and a second one at blog.example.com. As you probably imagine, in example.com we have the main website, and in blog.example.com a company blog.
It is important to notice that by default, whenever I type example.com, it gets redirected somehow to www.example.com.
But we updated the template and the new version allows us to have a blog within the main website (example.com or www.example.com).
That is great, but we do not want to loose our old blog.example.com links, for SEO and other reasons.
In the end, what we want to achieve is that whatever content is accessible through
http://www.example.com/2019/05/some-blog.html
is at the same time available through:
http://blog.example.com/2019/05/some-blog.html
I thought that by creating a CNAME from blog. to example.com will work, but is not. Any ideas? Thank you very much!
Just to make it clearer, I don't want blog.example.com to redirect to www.example.com, I want to point to the same content. Thanks.
Last edited by a moderator: