Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-29-2016, 07:14 PM #1
- Join Date
- Apr 2005
- Thanked 0 Times in 0 Posts
redirect subdomain to main domain?
i've been using hubspot for my blog, so i create a subdomain blog.domain.com which redirected to my hubspot blog posts
however, i am discontinuing with hubspot, and have reposted all my blog posts on my my domain www.domain.com
i am trying to create a htaccess record to redirect all the old links to the new ones.
old address: blog.domain.com/(article slug)
new address: www.domain.com/2016/10/29/(article slug)
(yes the date is fixed and the same for all posts, i've created them all today)
can someone help me with the htaccess record?
thanx in advance!