Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by Riffaz 4 years, 6 months ago.

Assisted by: Riffaz.

Author Posts
October 31, 2020 at 11:10 pm #7350997

bejark

Tell us what you are trying to do?
I am trying to get the url structure of /language/<content> to work and a language dropdown in the menubar, none of them work

Is there any documentation that you are following?
The one in wp-admin when configuring

Is there a similar example that we can see?
hidden link

What is the link to your site?
See above

November 1, 2020 at 11:21 am #7352061

Riffaz

Hi,

Thank you for contacting WPML support.

As per your WPML debug info your SiteURL and HomeURL are not same.
Please go to Settings > general and make them both same. save.
Now check the issue. do you see the same issue now?
Please check and let me know.

Regards,
Riffaz.

Cant get language switcher working - WPML 2020-11-01 16-46-19.jpg
November 1, 2020 at 12:36 pm #7352503

bejark

Hi,
They are the same

They are set in wp-config.php,
define( 'WP_HOME', 'hidden link' );
define( 'WP_SITEURL', 'hidden link' );

Screenshot from 2020-11-01 13-33-11.png
November 1, 2020 at 12:44 pm #7352533

bejark

Rewrite and permlinks is setup, .htaccess setup is
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

November 2, 2020 at 4:49 am #7354711

Riffaz

Hi,

Please create a temporary admin user.
Let me know the username and password in the next private reply.
So I can check this bit deeper.

Regards,