Search in CPT with WPML from home page -> goes to wrong language

This topic contains 13 replies, has 3 voices, and was last updated by  Marc Mathys 7 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #352461

    Marc Mathys
    Expired Member
    Post count: 216

    Hi,

    I found an issue when searching on CPT from the home page or the location page & the language is in French:

    – The search result will point to /?geodir_search=1&stype=gd_restaurant&s=c&snear=&sgeodir_cuisine%5B%5D=&sgeo_lat=&sgeo_lon= instead of /fr/?geodir_search=1&stype=gd_restaurant&s=c&snear=&sgeodir_cuisine%5B%5D=&sgeo_lat=&sgeo_lon= (missing the /fr/ for the language)

    Interestingly it’s only with CPT, it works fine with the default post type.
    And also worth noting, the same thing works fine when the search is made from the listings page.

    I’m planning to go live with our directory in the next 24 hours and this is a bit blocking.

    Best,
    Marc

    #352462

    Marc Mathys
    Expired Member
    Post count: 216
    This reply has been marked as private.
    #352740

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #353002

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #353004

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #353007

    Marc Mathys
    Expired Member
    Post count: 216
    This reply has been marked as private.
    #353008

    Marc Mathys
    Expired Member
    Post count: 216
    This reply has been marked as private.
    #353009

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #353011

    Marc Mathys
    Expired Member
    Post count: 216

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #353013

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #353044

    Marc Mathys
    Expired Member
    Post count: 216

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #353054

    Marc Mathys
    Expired Member
    Post count: 216
    This reply has been marked as private.
    #353057

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #353072

    Marc Mathys
    Expired Member
    Post count: 216

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 14 posts - 1 through 14 (of 14 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount