| Redirection Subdomain site/blog to another Subdomain site/blog Would like to redirect subdomain to another subdomain in the same network |
calvinmicklefinger

msg:4363648 | 3:51 am on Sep 17, 2011 (gmt 0) | I would like to do a 301 redirect to send visitors to a different subdomain than the one they have attempted to reach. I tried to use the Wordpress plugin "Redirection," but I could not get it to work. As an example, I would like a visitor who is sent to blog/site http://12345.mysite.com to be redirected to http://45678.mysite.com I have tried the Redirection plugin and the WPMU Domain Mapping plugin. I could not get Redirection to work, and I did not understand how to set up the CNAME thing with the Domain Mapping plugin. (I don't even know what a CNAME is.) Any help you can give me is appreciated! Kirk [edited by: lorax at 11:37 am (utc) on Sep 17, 2011] [edit reason] delinked examples [/edit]
|
g1smd

msg:4363708 | 7:54 am on Sep 17, 2011 (gmt 0) | Copying from one of the 8000 WebmasterWorld Apache forum posts which shows what to do:
RewriteEngine On # RewriteCond %{HTTP_HOST} ^other\.example\.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] Use example.com in the forum to supress URL auto-linking.
|
calvinmicklefinger

msg:4363770 | 3:04 pm on Sep 17, 2011 (gmt 0) | Doesn't seem to work in my install of WP 3.2.1
|
rocknbil

msg:4364310 | 3:47 pm on Sep 19, 2011 (gmt 0) | You need to put it above the Begin Wordpress/End Wordpress directives.
|
|
|