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 thread is resolved. Here is a description of the problem and solution.

Problem: Site does not redirect to correct language and loads old frontpage

Solution: 1. Create a template page into your theme and call it for example page-root-redirect.php.
- Here, add the following code:

<?php
/*
Template Name: Root redirect
*/
wp_redirect( home_url() );
exit;
?>

This will redirect to your main language folder.

2. Now go to WPML -> Languages :
- Select 'Different languages in directories'
- Enable 'Use directory for default language'
- Select 'A page Create root page.'
- And assign the 'Root redirect' template for it.

Now, when you go to your main site, you'll be redirected to your main folder.
Remember to remove your cookies or try an incognito view.

Relevant Documentation: https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

This topic contains 18 replies, has 3 voices.

Last updated by stevenM-21 11 months, 3 weeks ago.

Assigned support staff: Ricardo Alday.

Author Posts
October 23, 2018 at 9:34 am #2841694

stevenM-21

Hello,

We are very dissapointed with the purchase of your plugin because since we started using the payed version of WPML our website is broken:

hidden link: shows old menu without demo button
hidden link: shows old menu without language switcher
hidden link: shows correct menu

This is putting is in a very unprofessional position as website builders. Thank you for trying to find a solution.

Best
Steven

October 23, 2018 at 2:46 pm #2843006

stevenM-21

Hello,

We are now more then 5 hours with a broken homepage without any answer from your side. As a paying customer this is very dissapointing. We have paid for your product and it has broken our website. Please help us ASAP. We have updated all plugins and deactivated all plugins that are not required for our Uncode Theme.

Underneath you'll find the updated debug information. This is urgent. Thank you.

Steven

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/peaceofcake.be","HomeURL":"https:\/\/peaceofcake.be\/en\/","Version":"4.9.8","PermalinkStructure":"\/%year%\/%monthnum%\/%day%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, product, product_variation, shop_order, shop_order_refund, shop_coupon, vc4_templates, wpcf7_contact_form, portfolio, uncodeblock, uncode_gallery, option-tree","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.2.7","MySQLVersion":"5.7.22","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"256M","WP Memory Limit":"128M","UploadMax":"256M","PostMax":"256M","TimeLimit":"300","MaxInputVars":"20000","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"4.0.8","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"LayerSlider\/layerslider.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"LayerSlider WP","PluginURI":"https:\/\/codecanyon.net\/item\/layerslider-responsive-wordpress-slider-plugin-\/1362246","Version":"6.7.6","Author":"Kreatura Media","AuthorURI":"https:\/\/layerslider.kreaturamedia.com","TextDomain":"LayerSlider","DomainPath":"","Network":false,"Title":"LayerSlider WP","AuthorName":"Kreatura Media"},"contact-form-7\/wp-contact-form-7.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Contact Form 7","PluginURI":"https:\/\/contactform7.com\/","Version":"5.0.4","Author":"Takayuki Miyoshi","AuthorURI":"https:\/\/ideasilo.wordpress.com\/","TextDomain":"contact-form-7","DomainPath":"\/languages\/","Network":false,"Title":"Contact Form 7","AuthorName":"Takayuki Miyoshi"},"insert-headers-and-footers\/ihaf.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Insert Headers and Footers","PluginURI":"http:\/\/www.wpbeginner.com\/","Version":"1.4.3","Author":"WPBeginner","AuthorURI":"http:\/\/www.wpbeginner.com\/","TextDomain":"insert-headers-and-footers","DomainPath":"","Network":false,"Title":"Insert Headers and Footers","AuthorName":"WPBeginner"},"revslider\/revslider.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Slider Revolution","PluginURI":"https:\/\/revolution.themepunch.com\/","Version":"5.4.8","Author":"ThemePunch","AuthorURI":"https:\/\/themepunch.com","TextDomain":"revslider","DomainPath":"","Network":false,"Title":"Slider Revolution","AuthorName":"ThemePunch"},"uncode-core\/uncode-core.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Uncode Core","PluginURI":"http:\/\/www.undsgn.com","Version":"1.7.1","Author":"Undsgn","AuthorURI":"http:\/\/www.undsgn.com","TextDomain":"uncode-core","DomainPath":"","Network":false,"Title":"Uncode Core","AuthorName":"Undsgn"},"uncode-js_composer\/js_composer.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Uncode Page Builder (Visual Composer)","PluginURI":"http:\/\/vc.wpbakery.com","Version":"5.5.2","Author":"Michael M - WPBakery.com","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"uncode-js_composer","DomainPath":"","Network":false,"Title":"Uncode Page Builder (Visual Composer)","AuthorName":"Michael M - WPBakery.com"},"vc_clipboard\/vc_clipboard.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPBakery Page Builder (Visual Composer) Clipboard","PluginURI":"","Version":"4.5.0","Author":"bitorbit","AuthorURI":"http:\/\/codecanyon.net\/user\/bitorbit","TextDomain":"vc_clipboard","DomainPath":"","Network":false,"Title":"WPBakery Page Builder (Visual Composer) Clipboard","AuthorName":"bitorbit"},"woocommerce-multilingual\/wpml-woocommerce.php":{"Plugin Slug":"","WC requires at least":"2.1.0","WC tested up to":"3.5","Woo":"","Name":"WooCommerce Multilingual","PluginURI":"http:\/\/wpml.org\/documentation\/related-projects\/woocommerce-multilingual\/","Version":"4.3.7","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"woocommerce-multilingual","DomainPath":"","Network":false,"Title":"WooCommerce Multilingual","AuthorName":"OnTheGoSystems"},"woocommerce\/woocommerce.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WooCommerce","PluginURI":"https:\/\/woocommerce.com\/","Version":"3.4.7","Author":"Automattic","AuthorURI":"https:\/\/woocommerce.com","TextDomain":"woocommerce","DomainPath":"\/i18n\/languages\/","Network":false,"Title":"WooCommerce","AuthorName":"Automattic"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.8.8","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.6.8","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":{"advanced-cache.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"","AuthorName":""}}},"theme":{"Name":"Uncode Child","ThemeURI":false,"Author":"Undsgn™","AuthorURI":"http:\/\/www.undsgn.com","Template":"uncode","Version":"1.0.0","TextDomain":"uncode","DomainPath":"","ParentName":"Uncode"},"extra-debug":{"WMPL":{"hide_upgrade_notice":"4.0.7","icl_capabilities_verified":true,"active_languages":["en","nl"],"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":"1","theme_localization_type":3,"icl_lso_link_empty":1,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_password":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":0,"sync_delete_tax":0,"sync_post_taxonomies":1,"sync_post_date":0,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":1,"remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"automatic_redirect":1,"remember_language":2400,"icl_lang_sel_copy_parameters":"","translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":1,"string_name_migrated":true,"types":{"product":1}},"urls":{"directory_for_default_language":true,"show_on_root":"html_file","root_html_file_path":"index.php","root_page":75607,"hide_language_switchers":0},"xdomain_data":"1","custom_posts_sync_option":{"post":1,"page":1,"attachment":1,"vc_grid_item":1,"portfolio":1,"uncodeblock":1,"uncode_gallery":1,"product":2,"product_variation":1,"shop_coupon":0,"shop_order":0},"taxonomies_sync_option":{"category":1,"post_tag":1,"translation_priority":1,"portfolio_category":1,"page_category":1,"uncodeblock_category":1,"uncode_gallery_category":1,"product_type":0,"product_visibility":0,"product_cat":2,"product_tag":1,"product_shipping_class":1,"pa_size":1,"shop_order_status":0},"tm_block_retranslating_terms":1,"admin_default_language":"_default_","taxonomy_names_checked":true,"ajx_health_checked":true,"setup_complete":1,"default_categories":{"en":"1","nl":110},"default_language":"en","setup_wizard_step":5,"translation-management":{"custom_fields_translation":{"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":3,"_wp_attached_file":0,"_wp_attachment_image_alt":2,"_vc_post_settings":0,"_yoast_wpseo_title":2,"_yoast_wpseo_bctitle":2,"_yoast_wpseo_metadesc":2,"_yoast_wpseo_metakeywords":2,"_yoast_wpseo_focuskw":2,"_yoast_wpseo_meta-robots-noindex":1,"_yoast_wpseo_meta-robots-nofollow":1,"_yoast_wpseo_meta-robots-adv":1,"_yoast_wpseo_canonical":0,"_yoast_wpseo_redirect":0,"_yoast_wpseo_opengraph-description":2,"_yoast_wpseo_google-plus-description":2,"_yoast_wpseo_twitter-title":2,"_yoast_wpseo_twitter-description":2,"_yoast_wpseo_opengraph-title":2,"_yoast_wpseo_opengraph-image":3,"_yoast_wpseo_twitter-image":3,"_uncode_gallery_media":3,"_uncode_gallery_cover":3,"_uncode_featured_media":3,"_uncode_poster_image":3,"_uncode_team_member":3,"_uncode_team_member_social":3,"_uncode_video_alternative":3,"_uncode_video_loop":3,"_uncode_animated_svg":3,"_uncode_animated_svg_time":3,"_uncode_header_height":3,"_uncode_carousel_transition":3,"_uncode_carousel_navigation":3,"_uncode_carousel_dots":3,"_uncode_carousel_loop":3,"_uncode_carousel_autoplay":3,"_uncode_carousel_autoplay_timeout":3,"_uncode_revslider_list":3,"_uncode_layerslider_list":3,"_uncode_content_width":3,"_uncode_header_align":3,"_uncode_classic_breadcrumb":3,"_uncode_page_scroll":3,"_uncode_select_content":3,"_uncode_featured_media_display":3,"_uncode_specific_menu_opaque":3,"_uncode_blocks_list":3,"_uncode_header_title":3,"_uncode_header_style":3,"_uncode_header_content_width":3,"_uncode_header_custom_width":3,"_uncode_header_position":3,"_uncode_header_title_size":3,"_uncode_header_title_italic":3,"_uncode_header_title_custom":3,"_uncode_header_featured":3,"_uncode_header_parallax":3,"_uncode_header_overlay_color_alpha":3,"_uncode_header_scroll_opacity":3,"_uncode_header_scrolldown":3,"_uncode_specific_title":3,"_uncode_sidebar_position":3,"_uncode_sidebar_size":3,"_uncode_sidebar_style":3,"_uncode_sidebar_fill":3,"_uncode_header_type":3,"_uncode_specific_breadcrumb":3,"_uncode_content_full_width":3,"_uncode_content_align":3,"_uncode_specific_menu_full":3,"_uncode_specific_unlock":3,"_uncode_specific_unlock_content":3,"_uncode_specific_footer_full":3,"_uncode_header_full_width":3,"_uncode_header_width":3,"_uncode_header_title_uppercase":3,"_uncode_header_breadcrumb":3,"_uncode_header_container_overlay_color_alpha":3,"_uncode_active_sidebar":3,"_uncode_specific_menu_no_shadow":3,"_uncode_header_background":3,"_uncode_sidebar_sticky":3,"_uncode_menu_no_padding":3,"_uncode_menu_no_padding_mobile":3,"_uncode_page_sidebar":3,"_uncode_header_slides":3,"_uncode_specific_menu_no_padding":3,"_uncode_fullpage_type":3,"_uncode_fullpage_opacity":3,"_uncode_scroll_dots":3,"_uncode_empty_dots":3,"_uncode_scroll_history":3,"_uncode_scroll_safe_padding":3,"_uncode_scroll_additional_padding":3,"_uncode_fullpage_mobile":3,"_uncode_scroll_snap":3,"_uncode_header_text_animation":3,"_uncode_header_overlay_color":3,"_uncode_header_overlay_pattern":3,"_uncode_header_text":3,"_uncode_header_container_background":3,"_uncode_specific_footer_block":3,"_uncode_header_min_height":3,"_uncode_header_title_font":3,"_uncode_header_title_transform":3,"_uncode_specific_menu_width":3,"_uncode_specific_footer_width":3,"_uncode_header_title_weight":3,"_uncode_header_title_spacing":3,"_uncode_scroll_header_name":3,"_uncode_specific_body_background":3,"_uncode_sidebar_bgcolor":3,"_uncode_header_bold":3,"_uncode_sidebar":3,"_uncode_specific_layout_width":3,"_uncode_specific_bg_color":3,"_uncode_specific_content_full":3,"_uncode_header_title_height":3,"_uncode_header_overlay_scrolldown":3,"_uncode_specific_menu":3,"_uncode_specific_layout_width_custom":3,"_uncode_portfolio_position":3,"_uncode_portfolio_sidebar_size":3,"_uncode_portfolio_style":3,"_uncode_portfolio_sidebar_fill":3,"_uncode_fullpage":3,"_uncode_portfolio_size":3,"_uncode_portfolio_active":3,"_uncode_portfolio_title":3,"_uncode_portfolio_text":3,"_uncode_portfolio_bgcolor":3,"_uncode_footer_blocks_list":3,"_uncode_portfolio_sidebar_sticky":3,"_uncode_specific_navigation_index":3,"_uncode_specific_content_block_after":3,"_uncode_portfolio_sidebar_full":3,"_uncode_specific_background":3,"_uncode_fullpage_menu":3,"_uncode_specific_media":3,"_uncode_specific_tags_align":3,"_uncode_specific_navigation_hide":3,"_uncode_specific_breadcrumb_align":3,"_uncode_specific_tags":3,"_uncode_specific_header":3,"_uncode_header_content_full_width":3,"_uncode_header_content_align":3,"_uncode_is_oembed_gallery":3,"_backorders":1,"_crosssell_ids":2,"_default_attributes":0,"_download_limit":1,"_download_expiry":1,"_download_type":1,"_downloadable":1,"_file_paths":2,"_downloadable_files":2,"_featured":1,"_manage_stock":1,"_sku":1,"_stock":1,"_stock_status":1,"_sold_individually":1,"_subscription_length":1,"_subscription_period":1,"_subscription_period_interval":1,"_subscription_price":1,"_subscription_sign_up_fee":1,"_subscription_trial_length":1,"_subscription_trial_period":1,"_tax_class":1,"_tax_status":1,"_upsell_ids":2,"_virtual":1,"_visibility":1,"_weight":1,"_width":1,"_height":1,"_length":1,"_woocommerce_exclude_image":1,"total_sales":1,"_product_url":2,"_button_text":2,"_purchase_note":2,"_wcml_custom_prices_status":0,"_min_price_variation_id":0,"_min_regular_price_variation_id":0,"_min_sale_price_variation_id":0,"_max_price_variation_id":0,"_max_regular_price_variation_id":0,"_max_sale_price_variation_id":0,"attr_label_translations":0,"_per_product_pricing_active":1,"_pricing_rules":1,"_regular_price":1,"_sale_price":1,"_price":1,"_min_variation_regular_price":1,"_min_variation_sale_price":1,"_min_variation_price":1,"_max_variation_regular_price":1,"_max_variation_sale_price":1,"_max_variation_price":1,"_sale_price_dates_from":1,"_sale_price_dates_to":1,"_wcml_schedule":1,"_variation_description":2,"wcml_sync_hash":0,"wpml_language":0,"_product_attributes":0,"_children":2,"_subscription_limit":1,"_regular_price_EUR":0,"_sale_price_EUR":0,"_price_EUR":0,"_min_variation_regular_price_EUR":0,"_min_variation_sale_price_EUR":0,"_min_variation_price_EUR":0,"_max_variation_regular_price_EUR":0,"_max_variation_sale_price_EUR":0,"_max_variation_price_EUR":0,"_sale_price_dates_from_EUR":0,"_sale_price_dates_to_EUR":0,"_wcml_schedule_EUR":0},"custom_fields_readonly_config":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_vc_post_settings","_backorders","_crosssell_ids","_default_attributes","_download_limit","_download_expiry","_download_type","_downloadable","_file_paths","_downloadable_files","_featured","_manage_stock","_sku","_stock","_stock_status","_sold_individually","_subscription_length","_subscription_period","_subscription_period_interval","_subscription_price","_subscription_sign_up_fee","_subscription_trial_length","_subscription_trial_period","_tax_class","_tax_status","_upsell_ids","_virtual","_visibility","_weight","_width","_height","_length","_woocommerce_exclude_image","total_sales","_product_url","_button_text","_purchase_note","_wcml_custom_prices_status","_min_price_variation_id","_min_regular_price_variation_id","_min_sale_price_variation_id","_max_price_variation_id","_max_regular_price_variation_id","_max_sale_price_variation_id","attr_label_translations","_per_product_pricing_active","_pricing_rules","_regular_price","_sale_price","_price","_min_variation_regular_price","_min_variation_sale_price","_min_variation_price","_max_variation_regular_price","_max_variation_sale_price","_max_variation_price","_sale_price_dates_from","_sale_price_dates_to","_wcml_schedule","_variation_description","wcml_sync_hash","wpml_language","_product_attributes","_children","_subscription_limit","_uncode_gallery_media","_uncode_gallery_cover","_uncode_featured_media","_uncode_poster_image","_uncode_team_member","_uncode_team_member_social","_uncode_video_alternative","_uncode_video_loop","_uncode_animated_svg","_uncode_animated_svg_time","_uncode_header_height","_uncode_carousel_transition","_uncode_carousel_navigation","_uncode_carousel_dots","_uncode_carousel_loop","_uncode_carousel_autoplay","_uncode_carousel_autoplay_timeout","_uncode_revslider_list","_uncode_layerslider_list","_uncode_content_width","_uncode_header_align","_uncode_classic_breadcrumb","_uncode_page_scroll","_uncode_select_content","_uncode_featured_media_display","_uncode_specific_menu_opaque","_uncode_blocks_list","_uncode_header_title","_uncode_header_style","_uncode_header_content_width","_uncode_header_custom_width","_uncode_header_position","_uncode_header_title_size","_uncode_header_title_italic","_uncode_header_title_custom","_uncode_header_featured","_uncode_header_parallax","_uncode_header_overlay_color_alpha","_uncode_header_scroll_opacity","_uncode_header_scrolldown","_uncode_specific_title","_uncode_sidebar_position","_uncode_sidebar_size","_uncode_sidebar_style","_uncode_sidebar_fill","_uncode_header_type","_uncode_specific_breadcrumb","_uncode_content_full_width","_uncode_content_align","_uncode_specific_menu_full","_uncode_specific_unlock","_uncode_specific_unlock_content","_uncode_specific_footer_full","_uncode_header_full_width","_uncode_header_width","_uncode_header_title_uppercase","_uncode_header_breadcrumb","_uncode_header_container_overlay_color_alpha","_uncode_active_sidebar","_uncode_specific_menu_no_shadow","_uncode_header_background","_uncode_sidebar_sticky","_uncode_menu_no_padding","_uncode_menu_no_padding_mobile","_uncode_page_sidebar","_uncode_header_slides","_uncode_specific_menu_no_padding","_uncode_fullpage_type","_uncode_fullpage_opacity","_uncode_scroll_dots","_uncode_empty_dots","_uncode_scroll_history","_uncode_scroll_safe_padding","_uncode_scroll_additional_padding","_uncode_fullpage_mobile","_uncode_scroll_snap","_uncode_header_text_animation","_uncode_header_overlay_color","_uncode_header_overlay_pattern","_uncode_header_text","_uncode_header_container_background","_uncode_specific_footer_block","_uncode_header_min_height","_uncode_header_title_font","_uncode_header_title_transform","_uncode_specific_menu_width","_uncode_specific_footer_width","_uncode_header_title_weight","_uncode_header_title_spacing","_uncode_scroll_header_name","_uncode_specific_body_background","_uncode_sidebar_bgcolor","_uncode_header_bold","_uncode_sidebar","_uncode_specific_layout_width","_uncode_specific_bg_color","_uncode_specific_content_full","_uncode_header_title_height","_uncode_header_overlay_scrolldown","_uncode_specific_menu","_uncode_specific_layout_width_custom","_uncode_portfolio_position","_uncode_portfolio_sidebar_size","_uncode_portfolio_style","_uncode_portfolio_sidebar_fill","_uncode_fullpage","_uncode_portfolio_size","_uncode_portfolio_active","_uncode_portfolio_title","_uncode_portfolio_text","_uncode_portfolio_bgcolor","_uncode_footer_blocks_list","_uncode_portfolio_sidebar_sticky","_uncode_specific_navigation_index","_uncode_specific_content_block_after","_uncode_portfolio_sidebar_full","_uncode_specific_background","_uncode_fullpage_menu","_uncode_specific_media","_uncode_specific_tags_align","_uncode_specific_navigation_hide","_uncode_specific_breadcrumb_align","_uncode_specific_tags","_uncode_specific_header","_uncode_header_content_full_width","_uncode_header_content_align","_uncode_is_oembed_gallery"],"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":0,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_vc_post_settings","_backorders","_crosssell_ids","_default_attributes","_download_limit","_download_expiry","_download_type","_downloadable","_file_paths","_downloadable_files","_featured","_manage_stock","_sku","_stock","_stock_status","_sold_individually","_subscription_length","_subscription_period","_subscription_period_interval","_subscription_price","_subscription_sign_up_fee","_subscription_trial_length","_subscription_trial_period","_tax_class","_tax_status","_upsell_ids","_virtual","_visibility","_weight","_width","_height","_length","_woocommerce_exclude_image","total_sales","_product_url","_button_text","_purchase_note","_wcml_custom_prices_status","_min_price_variation_id","_min_regular_price_variation_id","_min_sale_price_variation_id","_max_price_variation_id","_max_regular_price_variation_id","_max_sale_price_variation_id","attr_label_translations","_per_product_pricing_active","_pricing_rules","_regular_price","_sale_price","_price","_min_variation_regular_price","_min_variation_sale_price","_min_variation_price","_max_variation_regular_price","_max_variation_sale_price","_max_variation_price","_sale_price_dates_from","_sale_price_dates_to","_wcml_schedule","_variation_description","wcml_sync_hash","wpml_language","_product_attributes","_children","_subscription_limit","_uncode_gallery_media","_uncode_gallery_cover","_uncode_featured_media","_uncode_poster_image","_uncode_team_member","_uncode_team_member_social","_uncode_video_alternative","_uncode_video_loop","_uncode_animated_svg","_uncode_animated_svg_time","_uncode_header_height","_uncode_carousel_transition","_uncode_carousel_navigation","_uncode_carousel_dots","_uncode_carousel_loop","_uncode_carousel_autoplay","_uncode_carousel_autoplay_timeout","_uncode_revslider_list","_uncode_layerslider_list","_uncode_content_width","_uncode_header_align","_uncode_classic_breadcrumb","_uncode_page_scroll","_uncode_select_content","_uncode_featured_media_display","_uncode_specific_menu_opaque","_uncode_blocks_list","_uncode_header_title","_uncode_header_style","_uncode_header_content_width","_uncode_header_custom_width","_uncode_header_position","_uncode_header_title_size","_uncode_header_title_italic","_uncode_header_title_custom","_uncode_header_featured","_uncode_header_parallax","_uncode_header_overlay_color_alpha","_uncode_header_scroll_opacity","_uncode_header_scrolldown","_uncode_specific_title","_uncode_sidebar_position","_uncode_sidebar_size","_uncode_sidebar_style","_uncode_sidebar_fill","_uncode_header_type","_uncode_specific_breadcrumb","_uncode_content_full_width","_uncode_content_align","_uncode_specific_menu_full","_uncode_specific_unlock","_uncode_specific_unlock_content","_uncode_specific_footer_full","_uncode_header_full_width","_uncode_header_width","_uncode_header_title_uppercase","_uncode_header_breadcrumb","_uncode_header_container_overlay_color_alpha","_uncode_active_sidebar","_uncode_specific_menu_no_shadow","_uncode_header_background","_uncode_sidebar_sticky","_uncode_menu_no_padding","_uncode_menu_no_padding_mobile","_uncode_page_sidebar","_uncode_header_slides","_uncode_specific_menu_no_padding","_uncode_fullpage_type","_uncode_fullpage_opacity","_uncode_scroll_dots","_uncode_empty_dots","_uncode_scroll_history","_uncode_scroll_safe_padding","_uncode_scroll_additional_padding","_uncode_fullpage_mobile","_uncode_scroll_snap","_uncode_header_text_animation","_uncode_header_overlay_color","_uncode_header_overlay_pattern","_uncode_header_text","_uncode_header_container_background","_uncode_specific_footer_block","_uncode_header_min_height","_uncode_header_title_font","_uncode_header_title_transform","_uncode_specific_menu_width","_uncode_specific_footer_width","_uncode_header_title_weight","_uncode_header_title_spacing","_uncode_scroll_header_name","_uncode_specific_body_background","_uncode_sidebar_bgcolor","_uncode_header_bold","_uncode_sidebar","_uncode_specific_layout_width","_uncode_specific_bg_color","_uncode_specific_content_full","_uncode_header_title_height","_uncode_header_overlay_scrolldown","_uncode_specific_menu","_uncode_specific_layout_width_custom","_uncode_portfolio_position","_uncode_portfolio_sidebar_size","_uncode_portfolio_style","_uncode_portfolio_sidebar_fill","_uncode_fullpage","_uncode_portfolio_size","_uncode_portfolio_active","_uncode_portfolio_title","_uncode_portfolio_text","_uncode_portfolio_bgcolor","_uncode_footer_blocks_list","_uncode_portfolio_sidebar_sticky","_uncode_specific_navigation_index","_uncode_specific_content_block_after","_uncode_portfolio_sidebar_full","_uncode_specific_background","_uncode_fullpage_menu","_uncode_specific_media","_uncode_specific_tags_align","_uncode_specific_navigation_hide","_uncode_specific_breadcrumb_align","_uncode_specific_tags","_uncode_specific_header","_uncode_header_content_full_width","_uncode_header_content_align","_uncode_is_oembed_gallery"],"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"translation_priority":1,"portfolio_category":1,"page_category":1,"uncodeblock_category":1,"uncode_gallery_category":1,"product_cat":1,"product_tag":1,"product_type":0,"shop_order_status":0,"product_visibility":0,"product_shipping_class":1},"custom-types_readonly_config":{"attachment":1,"portfolio":1,"uncodeblock":1,"uncode_gallery":1,"vc_grid_item":1,"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0}},"custom-types_sync_option":{"attachment":1,"vc_grid_item":1,"portfolio":1,"uncodeblock":1,"uncode_gallery":1,"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0},"language_selector_initialized":1,"languages_order":["nl","en"],"dont_show_help_admin_notice":true,"site_key":"pjIEhN6pM3","site_does_not_use_icl":true,"sync_comments_on_duplicates":0,"show_translations_flag":1,"just_reactivated":0,"st":{"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Db_Cache_Command_2.4.2_1_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"WPML_ST_Upgrade_MO_Scanning_3_has_run":true,"WPML_ST_Upgrade_DB_String_Name_Index_2_has_run":true,"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true,"strings_per_page":10,"icl_st_auto_reg":"disable","strings_language":"en","translated-users":[],"db_ok_for_gettext_context":true,"sw":[],"plugin_localization_domains":{"wpml-string-translation\/plugin.php":{"wpml-string-translation":268},"acme-wpml-language-switch\/acme-wpml-language-switch.php":{"acme-wpml-language-switch":0},"woocommerce\/woocommerce.php":{"woocommerce":5490},"wpml-translation-management\/plugin.php":{"wpml-translation-management":817},"sitepress-multilingual-cms\/sitepress.php":{"sitepress":0,"installer":1203},"contact-form-7\/wp-contact-form-7.php":{"contact-form-7":329},"uncode-js_composer\/js_composer.php":{"js_composer":458},"wordpress-seo\/wp-seo.php":{"wordpress-seo":0},"wp-rocket\/wp-rocket.php":{"rocket":0},"wp-smushit\/wp-smush.php":{"wp-smushit":0},"woocommerce-multilingual\/wpml-woocommerce.php":{"woocommerce-multilingual":813},"flamingo\/flamingo.php":{"flamingo":95},"mollie-payments-for-woocommerce\/mollie-payments-for-woocommerce.php":{"mollie-payments-for-woocommerce":192},"Clientside\/index.php":{"clientside":0},"pixo\/pixo.php":{"redux-framework":167},"admin-custom-font\/admin-custom-font.php":{"admin-custom-font":0}}},"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"admin_text_3_2_migration_complete_e28c8e7515d04878d5c79b0a8f9840b5":true,"xliff_newlines":1,"tm_xliff_version":"12","language_per_domain_sso_enabled":false,"admin_text_3_2_migration_complete_3551547f2cb80db929ade56dd973137c":true,"admin_text_3_2_migration_complete_8abae9ac83a41e9952c80e9937aa33c4":true,"custom_posts_unlocked_option":{"product":1},"taxonomies_unlocked_option":{"product_cat":1},"store_frontend_cookie":0]}

October 23, 2018 at 4:10 pm #2843444

Ricardo Alday

Hi Steven,

Thank you for contacting WPML support.
First of all, an apology for the late reply but 5 hours is well within an expected response time frame or 24 hours (except weekends).

That said, the menu I see on both hidden link and hidden link is the same. Only hidden link shows a different menu. See attachment below as a reference.

I noticed that your using WP Rocket which has an aggressive cache system. Can you clear it's cache or deactivate it completely to see if it that helps?

Thanks,
Ricardo

October 23, 2018 at 4:53 pm #2843613

stevenM-21

Hi Ricardo,

We have updated all plugins and deactivated all plugins that are not required for our Uncode Theme. We have cleared all Cache. WP rocket was already deactived and there is no other caching, CDN or cloudflare plugin active.

The menu of the 2 languages are now the same but peaceofcake.be still shows an old menu. Please try finding a solution ASAP because now people visiting our website see an old blury image with an old menu.

Thanks
Steven

October 23, 2018 at 5:05 pm #2843627

Ricardo Alday

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

Please make a backup of site files and database before providing us access.

If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:

hidden link

October 23, 2018 at 7:28 pm #2843996

Ricardo Alday

Is there a way to access the WP dashboard where I can see themes, plugins, etc?

All I can access is a member-type Dashboard.

October 24, 2018 at 7:04 am #2845110

stevenM-21

We have changed the permissions for your user from subcriber to administrator. Sorry for the invoncience but you should have all the permissions you need if you login again with the same username and password.

October 24, 2018 at 4:58 pm #2847355

stevenM-21

Hey Ricardo,

We've been 10 hours again without any answer of you or the customer service while our website is now broken for more then 3 days.

Clearly website's being broken because of your plugin are not a priority at WPML customer service, very disappointing.

Please try finding a solution ASAP because now people visiting our website see an old blury image with an old menu caused by WPML plugin.

Thanks
Steven

October 24, 2018 at 6:02 pm #2847494

Ricardo Alday

Thanks for the info.

1. Let me remind you that our expected response time frame or 24 hours (except weekends).
If you happen to post a question on Friday afternoon/night you will not get a response until Monday so keep that in mind.

2. I just visited the site again and now hidden link automatically redirects to hidden link so there's no way for visitors to see the old menu.
Did you make any new changes? If not, this was probably a cache issue after all.

October 24, 2018 at 7:05 pm #2847714

stevenM-21

Problem is still the same. Visitor still see the old menu. The website does not redirect. We have not changed anything.

1. If I clear my cache the website still does not redirect AND shows an outdated page with blurry images and old menu. Please watch this screencapture: hidden link

2. our host (combell.com) has tested and also with them URL is not redirecting. has examined the problem on their side, they see the same problem and they point to WPML as the origin of the problem

Please take a close look to this problem or transfer it to 2nd line support please.

Thank you

October 24, 2018 at 9:00 pm #2847867

Ricardo Alday

It's redirecting on my side because I had already selected a language yesterday.
The problem is that in WPML -> Languages -> Language URL format -> What to show for the root url:, you put the index.php file. This is not going to work.

When selecting "Use directory for default language" a root page needs to be created. It is not optional. It must be created.

When you enable "Use directory for default language" the site's default language will change from this format: mysite.com/ to this format: mysite.com/en/.

"Root page" is what is used to display the site when mysite.com/ is called.

A "root page" does not hold any language information. It is a sort of "intro" page. Your site's front door. From there you can enter into the different language rooms.

That said, you have 3 options:

1. (easiest) - Don't use "Use directory for default language".

or 2. Create an HTML page that mimics what you see in hidden link (you can probably use the browser's "Save as" feature to save the page).

or 3. Create a redirection rule in your htaccess file that redirects hidden link to hidden link

October 24, 2018 at 11:15 pm #2848010

stevenM-21

1. is not an option because every language needs to have it's own directory
2. we don't want a root page, instead we want to redirect visitors based on browser language, however we have created a root page to avoid conflicts (hidden link)
3. not a clean solution because it will overrule Browser language redirect

Your answer still not solves the problem we are having with Browser language redirect. Please transfer our ticket to a different agent with experience in Browser language redirect.

We have selected the option "Always redirect visitors based on browser language" and this does not work. Here's a screenshot: hidden link

Thanks

October 24, 2018 at 11:41 pm #2848062

Ricardo Alday

As far as I know, browser redirection does not work if you use the "Use directory for default language" option. I will consult with our 2nd tier support team and one of them or I will get back to you with more info.

October 24, 2018 at 11:54 pm #2848065

stevenM-21

Thank you for checking on the browser redirection with 2nd tier support team.

Second problem is that the very basic root page we have created is not showing on peaceofcake.be but still showing an old page with old menu. Strange thing is that when you put www. in front (www.peaceofcake.be) the root page displays correctly.

a) peaceofcake.be is still showing an old page with old menu
b) hidden link is correctly showing the basic root page we have added as a test

October 25, 2018 at 12:12 am #2848089

Ricardo Alday

I will pass this new information along to them too.

"What to show for the root url:" setting instead of using an actual HTML page use something like root.php

Then create the root.php file in your WP root directory and insert this code:

<?php
Header("Location: <em><u>hidden link</u></em>");
?>

Let me know if that helps.