Redirect Subdomain
- by user2237615
I am trying to redirect an old website that was on Godaddy's website builder and Quick Blogcast to a new site on Wordpress. I have no problems redirecting from the old page structure to the new one.
For example:
For example:
http://sapientservicesllc.com/About_Us.html
redirected to
http://sapientservicesllc.com/about-us/
I used: 301 redirect /About_Us.html http://sapientservicesllc.com/about-us/
In the htaccess file.
My problem is that I need to redirect all of the blog posts that were on a subdomain to the new wordpress site.
For example:
http://blog.sapientservicesllc.com/2011/10/14/risk-mitigation.aspx
redirects to
http://sapientservicesllc.com/risk-mitigation/
http://blog.sapientservicesllc.com/2012/10/04/could-cold-air-channeling-help-your-data-center.aspx
redirects to
http://sapientservicesllc.com/cold-air-channeling-help-data-center/
This:
http://blog.sapientservicesllc.com/atom.aspx
redirects to
http://sapientservicesllc.com/?feed=atom
This:
http://blog.sapientservicesllc.com/2012/11.aspx
redirects to
http://sapientservicesllc.com/2012/11/
How can I set up the redirect to go to the new site?
I have set the subdomain to forward to the actual domain in the Godaddy settings (blog.sapientservicesllc.com forwards to sapientservicesllc.com.