Hello,
So i recently purchased an expired domain and many of its links are pointed to a subdomain. I cant seem to figure out how to 301 redirect through .htaccess - anyone can help me out it would be greatly appreciated.
For example this is my goal:
subdomain.domain.com/post1 -->>> domain.com/post1
subdomain.domain.com/post2 -->>> domain.com/post2
and so forth.
Do i need to set back up the subdomain in DNS before i try to 301 through htaccess?
So i recently purchased an expired domain and many of its links are pointed to a subdomain. I cant seem to figure out how to 301 redirect through .htaccess - anyone can help me out it would be greatly appreciated.
For example this is my goal:
subdomain.domain.com/post1 -->>> domain.com/post1
subdomain.domain.com/post2 -->>> domain.com/post2
and so forth.
Do i need to set back up the subdomain in DNS before i try to 301 through htaccess?