Position and URL

This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13459
    onemillionplaces
    onemillionplaces
    Participant

    Hello,

    I have 2 different questions for using the Search Pro Plugin.

    The first thing is about positioning. You can see on my website that I have included the search within the main menu.
    When you type a search in the filed like “heli” everything looks good. But when you scroll down the site the search results scroll with the site and always “jumps up…”

    Can you tell me how to fix it or make it better? I only display 3 results at the moment. How can I add a “Show more” buttun if there are more results?

    And the second thing is regarding to the URL. When you cklick on a search result it has not the permalink url:
    When you click on the first “heli” result it opens:
    https://one-million-places.com/reiseberichte/helikopterflug-iguazu-wasserfaelle-puerto-iguazu

    But the right URL would be:
    https://one-million-places.com/reiseberichte/suedamerika/brasilien/helikopterflug-iguazu-wasserfaelle-puerto-iguazu

    How can Search Pro use the permalink?

    Michael

    #13466
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Position
    The position issue is due to the fact that the search bar is placed within another element, which gets hidden whenever the scrolling begins, but the results list tries to maintain the searches last position. There are two possible solution I would recommend:
    1. Change the results layout from ‘hovering’ to block: https://i.imgur.com/dfwh7v7.png
    2. ..or try the following option: https://i.imgur.com/DRP22nK.png
    I personally recommend trying the 2. first, it may actually work.

    In case the plugin finds more results it can display a ‘show more’ button, you can enable that here: https://i.imgur.com/otPLW5Q.png

    Permalinks
    I have visited both links, but both of them work and lead to the same page. The plugin uses the internal

    get_permalink(..)

    WordPress function, which returns the permalinks as configured on the back-end.
    Do you use any custom SEO or any other plugin to change the permalink structure of certain posts by any chance?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #13467
    onemillionplaces
    onemillionplaces
    Participant

    I use Yoast SEO. But can this be the reason? I think million of other bloggers use Yoast SEO also…

    In my wordpress settings – permalinks I so use “custom permalink structure”
    https://one-million-places.com//%category%/%postname%

    #13468
    onemillionplaces
    onemillionplaces
    Participant

    For the position I have used block now. It´s much better, but there is only a problem wehn you click on “Load more”… because you can´t scoll down to the next results… is there any searchbar to enable?

    #13471
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    That plugin is definietly not a problem, we are using it as well. It must be something else.

    The items are not visible on the ‘load more’ because the viewport size is probably not changed. Make sure to change that accordingly: https://i.imgur.com/xG13pzh.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.