Page not found (translation issue)

This topic contains 8 replies, has 3 voices, and was last updated by  Kiran 4 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #504062

    adminparentland-pt
    Expired Member
    Post count: 172

    Hi,

    I am persistently having translation issues. Now I realized that the listings for one of my CPT is leading to “Page not found”, for the main language (Portuguese), but working on English.

    Example:

    https://www.parentland.pt/escolas/portugal/lamego/public/escola-basica-de-cambres-lamego/

    https://www.parentland.pt/en/schools/portugal/lamego/public/escola-basica-de-cambres-lamego/

    I see that the slug is not translated (public, where it should be “publica” or “publicas”), but it appears translated in WPML. Same with the other category “private”.

    Can you please help? Ideally please provide an explanation about how the translation should be done, because this is occurring often.

    Thanks,
    Andre

    #504086

    Alex Rollin
    Moderator
    Post count: 27815

    Check the CPT Categories for the translated versions of the categories. The WPML options on the categories page should allow you to translate the categories there.

    #504118

    adminparentland-pt
    Expired Member
    Post count: 172
    This reply has been marked as private.
    #504228

    Alex Rollin
    Moderator
    Post count: 27815

    Hi! Please share WP Admin credentials so we can check on the issue and find a solution for you.

    Thanks

    #504230

    adminparentland-pt
    Expired Member
    Post count: 172
    This reply has been marked as private.
    #504260

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #504368

    Kiran
    Moderator
    Post count: 7069

    Hi Andre,

    Please check now after clearing your browser cache.

    Posts in PT language has the category assigned of EN language. May be because posts were translated before and categories translated later. I have added some changes to prevent 404 page not found in such cases.

    Please check and let us know.

    Thanks,
    Kiran

    #504414

    adminparentland-pt
    Expired Member
    Post count: 172

    Hi Kiran,

    Thanks, it works now. And I get the problem, so if it occurs again (there might be other categories with the same problem) I should be able to fix it.

    Kind regards,
    Andre

    #504509

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket