Remove 'NoFollow' pages from search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Remove 'NoFollow' pages from search results

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #23786
    HammondTaylor74
    HammondTaylor74
    Participant

    Hi,

    We have Yoast SEO plugin installed and use it to set the ‘nofollow’ meta tag for some pages.

    How do we ensure the Ajax Search Pro does not return these pages in the search results?

    thanks

    Paul

    #23805
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Paul,

    Can you please add FTP access as well? I tried to make a change to a plugin file via the plugin editor, but somehow the information was not sent properly, and now it does not let me to the back-end. Usually wordpress prevents this automatically, but looks like this time this failed.

    I was trying to test a possible solution, looks like wpseo sets a custom field, that might be possible to use to exclude those results.

    Thank you, and sorry about the inconvenience.

    Best,
    Ernest Marcinko

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


    #23822
    HammondTaylor74
    HammondTaylor74
    Participant

    FTP

    username: [email protected]
    pwd: 47TxcbkFnS5A

    path: /home/hammon…/public_html

    #23823
    HammondTaylor74
    HammondTaylor74
    Participant

    Hi

    Given that I have not heard back from you and you are currently offline I have had to make the call to delete the plugin which I removed from the directly from the file directory/server.

    Can you please restore the search plugin back to its previous state before it ‘broke’ and try again to remove ‘nofollow’ pages from the search results.

    thanks

    Paul

    #23827
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Paul,

    Thank you, I have re-installed the newest version, and made a minor change to the code to support your request. I will include that change in the future releases, so you don’t have to worry about it.

    To exclude the nofollow articles, I did two things:
    1. A filter was made to not show items that have a specific custom field set to value 1: https://i.imgur.com/NN0lCsj.png
    2. ..also, allowing items, that does not have that field: https://i.imgur.com/6HKx3Xl.png

    Now, those items should not be present within the search anymore. Sorry about the inconvenience again, it should be fine now.

    Best,
    Ernest Marcinko

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


    #23852
    HammondTaylor74
    HammondTaylor74
    Participant

    Thanks Ernest.

    Can you please tell me the CSS class to push the magnifying glass down (so it’s level with our top menu navigation.

    Paul

    #23859
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Paul,

    Usually it is better to have the parent element adjusted, but I can’t see the magnifier on the front-end. This should however still work:

    .asp_m {
        margin-top: 12px !important;
    }

    Just adjust the top margin value, and it should be okay.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.