Home›Support›English Support›[Resolved] Split: the number of main level menu in catalogue/store is 6 in french but only 5 in french
[Resolved] Split: the number of main level menu in catalogue/store is 6 in french but only 5 in french
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported two issues: a discrepancy in the number of main level menu items between French and English versions of their site, and various problems caused by WPML, including too many redirects and permalink changes leading to internal server errors. Solution: For the redirection issue, we suggested checking the known problem related to WooCommerce Multilingual causing too many redirects when using shop base with category permalinks. We recommended a workaround which can be found here: https://wpml.org/errata/woocommerce-multilingual-too-many-redirects-error-when-using-shop-base-with-category-permalinks/. Before implementing this, ensure to back up the database. For the permalink issue, it appears to be related to .htaccess being overwritten by WPML. A quick solution is available here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. Regarding the language switch leading to a 404 error, we requested a screenshot to better understand the issue with the hardcoded link.
If these solutions do not resolve your issues or seem outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum.
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.
Second issue it's the number of main level menu in catalogue/store is 6 in french but only 5 in french. I been told its something wrong but wpml but unsure if accurate.
I mena 6 in french and 5 in english. I do see translation of all of them. That why its so confusing.
Someone check and told its issue with wpml linked with auto translate translation be quantity 0 and so not displayed by the theme. Dunno if exact. hidden link vs hidden link
Have you attempted to run the troubleshooting options in WooCommerce → WooCommerce Multilingual & Multicurrency → Status and clicked on the troubleshooting link?
Before making any changes, please ensure that you back up your database first.
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
htaccess dont seem to me to have redirection:
# SGS XMLRPC Disable Service
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
# SGS XMLRPC Disable Service END
SetEnv PHPRC /home/customer/www/pefraser.com/public_html/php.ini
# BEGIN WordPress
# Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
# Toute modification des directives situées entre ces marqueurs sera surchargée.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
AddHandler application/x-httpd-php83 .php .php5 .php4 .php3
As for module, i try desactivate all as soon the category disapear in french of course the error disapear in english.
After many test here the result: if i desactivate one of these two erorr disapear: WPML Multilingual CMS & WooCommerce Multilingual & Multicurrency