Moved site, make old links redirect with .htaccess? From sub.mydomain.com to mydomain.com
Posted
by andrhamm
on Stack Overflow
See other posts from Stack Overflow
or by andrhamm
Published on 2010-04-20T18:32:15Z
Indexed on
2010/04/20
18:33 UTC
Read the original article
Hit count: 333
I recently moved my blog from
http://blog.mydomain.com
to
http://mydomain.com
My problem now is that I have sites linking to the old addresses.
What can I put in my .htaccess file to make, for instance,
http://blog.mydomain.com/my-post-title-here
go to
http://mydomain.com/my-post-title-here
Thanks in advance!
© Stack Overflow or respective owner