Follow up to: https://kriesi.at/support/topic/404-strange-permalink-problems/#post-189817 (don’t know why it’s closed)
We did nothing special, no customizations (except of custom CSS), no special .htaccess (only WP). Plugins: WooCommerce, WPML, Antispam Bee, Jetpack.
Why there are no problems after switching to Twenty Thirteen?
Hi!
It works now. However note that you MUST use the same portfolio slug (Enfold > General Settings > “Portfolio: Enter a page slug that should be used for your portfolio single items” option) for all languages because the theme can’t register the translated permalinks on your server without breaking the existing permalinks. I had to comment out following line in /wp-content/themes/enfold/config-wpml/config.php to get the permalinks to work
add_action( 'init', 'avia_wpml_register_post_type_permalink', 20);
Normally the code will register new permalink rules for every language but in your case the server just stops to process these rules and the end result is that all permalinks won’t work. There seems to be some kind of limitation which doesn’t allow Enfold to register more permalink rules…
Best regards,
Peter