• Resolved oyvindeikeland

    (@oyvindeikeland)


    Hei, and thanks for an awesome plugin, its a real lifesaver.
    Im having some problems when searching for terms with ??? chars in them.
    When using those chars i get redirected to the frontpage, and not to the searchresult page.

    For Example if i want to search for page containing the term “Verkt?y” (Tools in english), i get pushed back to the frontpage, but searching for the part “Verkt” works fine.

    Since i have an Norwegian site it would be awesome to be able to search for Norwegian chars also.

    Any hints for a quick fix?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter oyvindeikeland

    (@oyvindeikeland)

    I did a crude fix my self.
    in the file acf-better-search/includes/search.php i replaced the esapce sequence for this:
    $word = addslashes($word);
    To this:

              $word = addslashes($word);
              $word = sanitize_text_field($word);

    I works but there is probably a better way…

    Thread Starter oyvindeikeland

    (@oyvindeikeland)

    I do appologize, it was a setting in my .htaccess forbidding special chars in the url.

    So again nothing wrong with this plugin.

    Thank you for a great plugin. * walks away in shame *

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Norwegian chars ???’ is closed to new replies.