Splash works only on default language
-
Hello,
I have splash on my site and it works only with default language. I have setup hide information about language in URL for default language. So for other language for example German it goes automatically to “https://mydomain.com/de” what is not generate the splash site. How I can solve that problem? I use simplesplash plugin.
I think I need some modification in simplesplash PHP code, but I don’t know PHP:
if( (strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home')) === false) && get_bloginfo('wpurl').'/' == 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']) add_action('send_headers', array('simplesplash', 'display_splash'));
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Splash works only on default language’ is closed to new replies.