Map a page to a subdomain in wordpress -


i'm trying map specific page subdomain in wordpress.

for example, have wordpress page: www.mysite.com/mypage

i want when enters mypage.mysite.com content of www.mysite.com/mypage shows (not redirect).

can't find way this.

i've tried rewrite rules in .htaccess file no luck.

i tried this:

rewritecond %{http_host} mypage.mysite.com rewriterule ^(.*)$ http://mysite.com/mypage$1 [r=301,l] 

but redirects instead of invisible showing content of page.

is possible achieve subdomain?

i've tried solutions i've found here no luck.

many thanks.

[r] @ way. [r=301,l] means redirect permanent new location.

try using reverse proxy

rewritecond %{http_host} mypage.mysite.com rewriterule ^(.*)$ http://mysite.com/mypage$1 [p] 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -