With WPML, links redirect to first event in series

Home Forums Calendar Products Events Calendar PRO With WPML, links redirect to first event in series

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1116414
    Saulo
    Participant

    Expected behaviour:
    Links on the calendar should point to their respective event.

    Actual behaviour:
    Links on the calendar point to the first event in the recurring series.

    Details

    If you visit http://staging.centrespiritejac.org/evenements/ and click on any event except for the one on May 20 (this is the first in the series), you will get redirected to the one on May 20. Note that the permalink is properly generated, but somehow it is redirecting.

    What have I tried:
    – changing the event slug to something else, in case it is a caching issue
    – re-saving the permalink settings
    – changing the theme to Twenty Sixteen
    – deactivating WPML. This solves the issue.

    Permalink settings: “Post name”

    .htaccess file:

    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    #1116418
    Saulo
    Participant

    More information:
    Not sure how helpful this is, but I noticed with Google Chrome’s inspector that a request to
    http://staging.centrespiritejac.org/evenement/etude-spirite-vendredis/2016-05-27/
    is being 301’ed (Moved Permanently) to
    http://staging.centrespiritejac.org/evenement/etude-spirite-vendredis/2016-05-20/
    .

    • This reply was modified 9 years, 11 months ago by Saulo.
    #1116828
    Geoff B.
    Member

    Good evening Saulo and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about the WPML recurring event issue you have been experiencing.
    I would love to help you with this topic.

    What is going on is that unfortunately we do not fully support WPML with recurring events at the moment.
    We apologize for the inconvenience this is creating.

    The good news is that we have begun working on a fix for that.
    Unfortunately, I cannot commit to a release date at this point. But stay tuned!

    In the meantime, there is a fairly involved manual way to fix this (including some PHPmyadmin access).
    I could walk you through the steps if you want to use this as a workaround.

    Best regards,

    Geoff B.

    #1116947
    Saulo
    Participant

    Hi Geoff,

    Yes — if you could show me a workaround, I would appreciate it.

    Thanks,
    Saulo

    #1117245
    Geoff B.
    Member

    Hey Saulo,

    Alright, I’m trying to keep this as simple as possible:

    • We need to force the creation of recurring event in the icl_translations DB table (right now, only the 1st event of the recurring series is there). WPML uses this table as a “map” to know what post/event is in which language
    • To do that, you can simply deactivate and reactivate WPML OR use their troubleshoot built-in page to do the same thing.
    • Once that is done, there is a high chance that the freshly added entries of recurring events will ALL be assigned the default language of your site in the icl_translations DB table.
    • You need to manually correct and attribute the language value in the appropriate column of the icl_translations DB table.

    This should cut it.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1122575
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1184558
    Geoff
    Member

    Hi Saulo,

    I just replied to another one of your threads with the same news, but we were able to make recurring events compatible with WPML. Our development and QA teams signed off on the feature in Events Calendar PRO 4.3 after working closely with the WPML team to make sure things were working well.

    Thanks so much for your patience while we worked on this. We know it has been a long-running item everyone’s wishlist and we couldn’t be more excited to finally get it into your hands.

    Cheers,
    Geoff

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘With WPML, links redirect to first event in series’ is closed to new replies.