>> Forward a blog to another one

I create a blog via Network / network is a multisite-domain with witch I create subdomain site,

anewaddress.site.com for example, I would like a shortcut like “ana.site.com” forward to the initial address

Q. How can I do to put in ana.site.com root folder a .htaccess link to anewaddress.site.com ?

And where is root folder of subdomain site ?

Thank you

  • Nahid
    • Tech Support

    Hey Laurent_C !

    Hope you are having a great day!

    If you are configuring your sub-domains from the cPanel you can find the root folder and redirect options there. Here's a screenshot for reference.

    Moreover, if you prefer using a htaccess rule, you can put the following in your htaccess file.

    Redirect 301 / http://anewaddress.site.com/

    Hope this helps. Let me know if this works for you. Thanks!

    Best,

    Nahid.

  • Rupok
    • Support Ninja

    Hi Laurent_C,

    To solve this, please add these two lines in your .htaccess file in the root directory of your multisite:

    RewriteCond %{HTTP_HOST} ^ana.site.com [NC]
    RewriteRule ^(.*)$ http://anewaddress.site.com/$1 [L,R=301,NC]

    That should solve your issue.

    If you still can’t make it work with the given code, Can you send me a message with your FTP and WP access credentials through our secure contact form here: https://premium.wpmudev.org/contact/#i-have-a-different-question

    Subject: “Attn: Rupok”

    – WordPress admin Username

    – WordPress admin Password

    – Login URL

    – FTP Username

    – FTP Password

    – FTP Host

    – Link back to this thread for reference

    – Any other relevant URLs

    The subject line ensure that it gets assigned to me.

    Please confirm here when you are done sending. I’m looking forward to hearing from you and resolving this issue as soon as possible.

    Have a nice day. Cheers!

    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.