Problem with homepage when have get variables

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 7 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #296805

    Alexandra Antunes
    Buyer
    Post count: 7

    Hello,

    I need advice how i can solve my problem.

    What happens is when i call my website with query var in home i get not homepage but simple post.

    Example: if i call my website like http://www.mywebsite.com/ i get correct view but if i call this way http://www.mywebsite.com/?testevar=1 i get wrong homepage (in my case i get post id 1 hello world post).

    Can anyone give me advice in what function in geodirectory i must look.

    #296924

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I tested adding the extra var in the URL of all our demos and the home page doesn’t change:

    https://wpgeo.directory/supreme-directory/?testevar=1
    https://wpgeo.directory/?testevar=1

    so the problem I doubt comes from our plugin.

    if you provide a link and admin credentials in a private reply, we will have a look, but it’s most likely something caused by another plugin, the theme or a wp setting.

    Let us know,

    Thanks

    #297375

    Alexandra Antunes
    Buyer
    Post count: 7

    Hi paolo,

    You are correct, problem is in our function for add extra validation in our custom fields.

    I test without our plugin and its work.

    #297447

    Paolo
    Site Admin
    Post count: 31206

    Thanks for letting us know 🙂

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

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

Open Support Ticket