WordPress.org

Forums

Relevanssi - A Better Search
Search for "George" gives 403 forbidden error (4 posts)

  1. peter-a
    Member
    Posted 1 year ago #

    This is one of the strangest bugs I've ever seen…

    If I do a Relevanssi search for "a phrase in quotes" it works fine.
    If I do a Relevanssi search for "blue" (one word in quotes) it works fine.
    But if I do a Relevanssi search for "George" (the word George in quotes) or "any phrase with the word George in it" in quotes, I get a 403 forbidden error!

    If I search for George without the quotes, it works fine.

    But it also happens if I search for the phrase "any phrase with the word in it".

    I must have something configured wrong. Is there an anti-George setting? :D

    -Peter

    https://wordpress.org/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, I actually hate people called "George". =)

    That's an odd problem, sure. How large is your site (how many posts in Relevanssi index)? How common word is George? This probably has to do with that.

  3. peter-a
    Member
    Posted 1 year ago #

    State of the Index

    Documents in the index: 129
    Terms in the index: 30314
    Highest post ID indexed: 3335

    A no-quotes search for George turns up 3 posts. So it's not very common.

  4. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm... I know there's a problem with phrase searches, but it's caused by having large numbers of matches. With just 129 posts in the database overall, that can't be the case.

    Anyway, that wouldn't probably end up with 403 error, either.

    I don't know - it's very hard to say anything without being able to debug on-site. Would that be possible?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic