Multi domain WPML - Domain alias

I have one main domain with a Wordpress and the WPML plugin and I suppose that it has been correctly set up because I see no errors so far.

Hestia 1.5.4: Nginx + Apache + FPM

I configure as an alias of but when I activate the multi domain feature and try to assign: → Spanish → English

I can only see

After I have read all the troubleshooting information from WPML and as stated here ( domain per language don't work nginx - WPML ) they asked to make a small test:

add exit( $_SERVER[‘HTTP_HOST’] )

at the beginning of the index.php file and enter as the

I get when I enter as so there has been a redirection.

How can I configure hestia to make it work?

I tried a workaround with no luck either:

  • remove as an alias
  • create as a domain
  • login SSH
  • ln -s /home/user/web/ /home/user/web/

Same result as before:
When I visit I see

No you should not configure second domain as separate site, instead use it as alias for primary domain like you did in Step 1. If domain2 redirects to domain1, it means your DNS/vHost configuration is good… your internal Wordpress internal routing is NOT working.

You have not mentioned what you did inside it so better paste a screenshot to see if it is correctly setup.
WPML should have option to setup multi-domain. Ref :


Hello. Thank you very much for answering. I did it exactly as the WPML manual says.

I have just checked again.

You are right. I still can’t get the homepage to redirect correctly but the rest of the URL’s do redirect correctly so it is not Hestia related.

Still with method 2 though but of course method 1 will work and it is the way to go.

Thank you for your time. I finally looked at the problem in a different way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.