Yehia A.Salam
Yehia A.Salam

Reputation: 2028

Subdomain for Wordpress

Let's say I have a website on www.example.com powered by wordpress. I want to make the blog articles only accessible from blog.example.com, so blog.example.com/article-1 would work, but www.example.com/article-1 wouldn't with a 404 error.

What I did so far is add a CNAME entry for blog.example.com to example.com, the problem i have now is that the article would be accessible from both www and the blog subdomain. How can i do this with the same wordpress installation.

Upvotes: 0

Views: 34

Answers (1)

Related Questions