Hi there,
Currently Google is indexing my website under url.com/nl and url.com/nl/ because the code of the logo is not WPML compliant, see : https://wpml.org/wpml-hook/wpml_home_url/
I looked at the theme and found this in theme-functions.php:
<?php if($logoimg): ?>
<a href="<?php echo home_url(); ?>"><img src="<?php echo $logoimg ?>" alt="<?php bloginfo( 'description' ); ?>" /></a>
<?php else: ?>
<a href="<?php echo home_url(); ?>"><img src="<?php echo PARENT_URL.'/images/logo.png'; ?>" alt="<?php bloginfo('name'); ?>"></a>
<?php endif ;
do_action('etheme_after_logo');
}
I have no idea how to fix this, please help me out!