hyyan / woo-poly-integration

Looking for maintainers! - Wordpress WooCommerce Polylang Integration
https://wordpress.org/plugins-wp/woo-poly-integration/
MIT License
183 stars 66 forks source link

Language won't change if you are at main page (without index.php) #507

Closed Kacper1263 closed 3 years ago

Kacper1263 commented 4 years ago

Can you reproduce this issue on default Wordpress theme (eg Storefront)?

Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?

What product versions and settings are you using when this issue occurs?

Steps to Reproduce

  1. Go to main site by e.g clicking the logo. (your URL should be https://domain.com)
  2. Try to change language to different language

What I Expected

Language should change for the main (Shop) page.

What Happened Instead

Language is not changing. The URL is still https://domain.com. But when you will be at https://domain.com/index.php and you will try to change language it will works as expected.

Regards!

WordPress Environment

``` ` ### WordPress Environment ### WordPress address (URL): https://www.omegaserwis.com.pl Site address (URL): https://www.omegaserwis.com.pl WC Version: 4.3.0 REST API Version: ✔ 1.0.10 WC Blocks Version: ✔ 2.7.1 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.3.0 Log Directory Writable: ✔ WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: pl_PL External object cache: – ### Server Environment ### Server Info: Apache/2.4.38 (Debian) PHP Version: 7.3.19-1~deb10u1 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.22-MariaDB-0+deb10u1 Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.3.0 WC Database Prefix: wp_ Całkowity rozmiar bazy danych: 6.13MB Rozmiar bazy danych: 4.63MB Rozmiar indeksu bazy danych: 1.50MB wp_woocommerce_sessions: Dane: 0.09MB + Indeks: 0.02MB + Silnik InnoDB wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB wp_woocommerce_order_items: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_woocommerce_order_itemmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_actionscheduler_actions: Dane: 0.05MB + Indeks: 0.11MB + Silnik InnoDB wp_actionscheduler_claims: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_actionscheduler_groups: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_actionscheduler_logs: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_aryo_activity_log: Dane: 0.39MB + Indeks: 0.00MB + Silnik InnoDB wp_commentmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_comments: Dane: 0.02MB + Indeks: 0.09MB + Silnik InnoDB wp_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_options: Dane: 3.08MB + Indeks: 0.09MB + Silnik InnoDB wp_postmeta: Dane: 0.09MB + Indeks: 0.09MB + Silnik InnoDB wp_posts: Dane: 0.13MB + Indeks: 0.06MB + Silnik InnoDB wp_premmerce_search_words: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_termmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_terms: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_term_relationships: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_term_taxonomy: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_usermeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_users: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB wp_wc_admin_notes: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_wc_admin_note_actions: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_wc_category_lookup: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_wc_customer_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_wc_order_coupon_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_wc_order_product_lookup: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB wp_wc_order_stats: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB wp_wc_order_tax_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB wp_wc_product_meta_lookup: Dane: 0.02MB + Indeks: 0.09MB + Silnik InnoDB wp_wc_reserved_stock: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB wp_wc_tax_rate_classes: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB wp_wpmailsmtp_tasks_meta: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB ### Post Type Counts ### attachment: 2 custom_css: 2 customize_changeset: 39 nav_menu_item: 12 page: 9 polylang_mo: 2 post: 3 product: 7 revision: 27 shop_order: 10 shop_order_refund: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (8) ### Polylang: przez WP SYNTEX – 2.7.4 AJAX Search for WooCommerce: przez Damian Góra – 1.7.2 – Installed version not tested with active version of WooCommerce 4.3.0 Dziennik aktywności: przez Activity Log Team – 2.5.2 Jetpack z WordPress.com: przez Automattic – 8.7.1 Kirki Customizer Framework: przez David Vongries – 3.1.4 Hyyan WooCommerce Polylang Integration: przez Hyyan Abo Fakher – 1.4.3 – Installed version not tested with active version of WooCommerce 4.3.0 WooCommerce: przez Automattic – 4.3.0 WP Mail SMTP: przez WPForms – 2.2.1 ### Inactive Plugins (4) ### Akismet Anti-Spam: przez Automattic – 4.1.6 Hello Dolly: przez Matt Mullenweg – 1.7.2 Premmerce Product Search for WooCommerce: przez premmerce – 2.1.5 – Installed version not tested with active version of WooCommerce 4.3.0 WooCommerce Services: przez Automattic – 1.23.2 – Installed version not tested with active version of WooCommerce 4.3.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Strona sklepu: #6 - / Koszyk: #7 - /index.php/koszyk/ Zamówienie: #8 - /index.php/zamowienie/ Moje konto: #9 - /index.php/moje-konto/ Regulamin: ❌ Strona nie ustawiona ### Theme ### Name: Refru Version: 1.0.12 Author URL: https://www.quemalabs.com/ Child Theme: ❌ – Jeśli modyfikujesz WooCommerce lub motyw nadrzędny którego nie jesteś autorem polecamy używanie motywu potomnego. Zobacz: Jak tworzyć motywy potomne WooCommerce Support: ✔ ### Templates ### Overrides: refru/woocommerce/cart/cart.php ### Action Scheduler ### Zrealizowane: 65 Oldest: 2020-06-21 15:29:32 +0200 Newest: 2020-07-19 20:19:14 +0200 Oczekująca: 1 Oldest: 2020-07-20 18:41:27 +0200 Newest: 2020-07-20 18:41:27 +0200 ` ```
Jon007 commented 3 years ago

This is exactly how I use the plugin so should normally work.

What are your Polylang settings under Languages, settings, URL modifications? Note that "The language is set from content" is not supported. If it isn't that try flushing Permalinks from Settings, Permalinks.

If it is neither please reopen with more details, thanks.