setting the subdomain for english language
-
First I was going to modify the htaccess file, I need another rule for english language, now I have
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "https://de.test.sacconicase.com" </IfModule>
can I do the following?
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "https://de.test.sacconicase.com" Header set Access-Control-Allow-Origin "https://en.test.sacconicase.com" </IfModule>
Or I have to open another set of tags?
about the wp config file I was thinking to simply add another conditional for english
define( 'WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']); define( 'WP_HOME', 'https://' . $_SERVER['HTTP_HOST']); if ('de.' == substr( $_SERVER['HTTP_HOST'], 0, 3 )) { define ('WPLANG', 'de_DE'); } if ('en.' == substr( $_SERVER['HTTP_HOST'], 0, 3 )) { define ('WPLANG', 'en_EN'); }
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.