Skip to:
Content
Pages
Categories
Search
Top
Bottom

404 error with “edit” on a WPML Multilingual Forum


  • 13designnet
    Participant

    @13designnet

    Hi there,

    I tried to create a WPML multilingual which is going great so far with the bbPress Multilingual plugin. It is in English & French, the English works well (default language) but on the French side of the forum a user can not edit its own post.

    The English link to edit the post is: http://mysite/forum/reply/2478/edit/
    the French: http://mysite/forum/reply/2479/?lang=fr/edit/

    The french one forwards to a 404 error page, but what is weird is that replying to a post contains also the “?lang=fr” parameter and it works fine.

    Do you have any idea how to make the “Edit | Close | Stick | Merge | Trash | Spam | Reply” toolbar to work with different languages ?

Viewing 2 replies - 1 through 2 (of 2 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    It looks like a conflict is causing the WPML language parameter to be added before bbPress adds its /edit/ endpoint.

    I suppose it’s possible inside bbPress to try and handle that differently, but I’m reluctant to make it too fancy since it might break something else.

    Without really looking, my guess is that WPML should filter the permalink at a later priority (as late as possible) so that all other filters have a chance to hook in normally first.


    13designnet
    Participant

    @13designnet

    Hi John, thanks for the hint. I switched the WPML system to use subdomains system with http://fr.mysite/forum/ for the french version, and it seems to work better with bbPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar