• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Wordpress WPML different domain

MichaelG

New Pleskian
Hi All,

I've been trying to follow this tutorial (How to use WPML with different domains per language - WPML) but I can't seem to fix it at:
"Setting up your HTTP server"

I need to add this to nginx config:
Code:
 server {
  server_name example.com example.de;
...

How should I do this?

server information:
Running CentOS 7
Plesk Onyx 17
PHP 7.0.17 as FPM application served by nginx
mysql 5.5
ngninx 1.11.10

Please let me know if you know how to do this or if I missed any info.

Thanks!
 
Hi MichaelG,

your domain - specific configuration files are located at:

=> /var/www/vhosts/system/(subdomain.)YOUR-DOMAIN.COM/conf
... and you are certainly able to manually edit these files... BUT ( !!! ), you should be aware, that the files will be modified/re-created again by Plesk, in case of hosting - dependent changes or updates/upgrades of your Plesk software and it's components. ;)
 
Hi MichaelG,

your domain - specific configuration files are located at:

=> /var/www/vhosts/system/(subdomain.)YOUR-DOMAIN.COM/conf
... and you are certainly able to manually edit these files... BUT ( !!! ), you should be aware, that the files will be modified/re-created again by Plesk, in case of hosting - dependent changes or updates/upgrades of your Plesk software and it's components. ;)

Ah that explains it! I will setup WPML in a different way then. Thanks!
 
Back
Top