Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #190061

    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?

    #190254

    Complete deinstallation (support page) of WPML helps, but activating WPML and then saving permalinks breaks it again… only in Enfold!

    #190880

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘404 – strange permalink problems II’ is closed to new replies.