-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working for WooCommerce product #55
Comments
I installed WooCommerce and faced a problem similar to this here: https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-generated-URLs A workaround would be:
But a will let this issue open as bug. |
I'm running into the same issue but your workaround is working great for now. Thanks! |
Here is an interesting solution if you create your own custom post types with localized slugs ... http://wordpress.stackexchange.com/questions/30021/theme-localization-of-slugs-custom-post-types-taxonomies |
I'm seeing the same problem with WooCommerce's custom taxonomies. WooCommerce now uses custom rewrite rules which the user can define in Settings > Permalinks. If I set a different "Product Category Base" for each site, then MSLS generates links that pick the right slug for the term but the rewrite rules (category base) from the current site. ExampleProduct Category Basesen_US: product-category Product Categoriesen_US: bicycles The fr_FR link generated on The filter mentioned in the workaround above is not called in MslsOptionsTax->get_postlink(), so there is no way to alter the URL. In any case, URLs should be built with the rewrite rules from the corresponding blog/language. I've taken a crack at it but have not gotten it to work yet. I'm not familiar with WP_Rewrite, unfortunately... |
Interesting! I will look into this very soon... |
Hi Dennis, I have 2 Wordpress websites with each their own domain and configured for Wordpress multisite, with MU-domain-mapping succesfully installed. site 1: degoudeneeuw.eu Explanation of problem; the url of the english(US) page; Can you give any advice or solution for the problem ? |
@lloc your solution works for us, thanks ;) |
I'm going to close this in favor of: #399 |
I can link my English product post to the German one but the language switcher does not link to it on the front end. It links to German home instead.
The text was updated successfully, but these errors were encountered: