pixeltokig
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Wrong order with UTF-8 Swedish charactersNow it works!
I got it to list the posts in the right order now. I noticed that in the WordPress admin all posts were in wrong order also, hence nothing wrong or associated with Relevanssi I think.
I installed PhpMyAdmin on the server and then inside PhpMyAdmin I found in the settings that I could change the database collation. Which I used to try to change the collation from utf8mb4 to utf8mb4_swedish_ci.
But because I am running MySQL 5.7 it has strict mode activated and I got error messages when I tried to change the collation inside PhpMyAdmin. When I had disabled strict mode then I was able to change the collation from utf8mb4 to utf8mb4_swedish_ci.
Thanks Tor-Bjorn Fjellner and Mikko Saari for pointing me in the right direction!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Wrong order with UTF-8 Swedish charactersHmm, but we have utf8mb4 as collation as default for everything in the database which seem to be recommended.
We used this snippet found here https://www.relevanssi.com/user-manual/relevanssi_hits_filter.
add_filter('relevanssi_modify_wp_query', 'rlv_sort_by_title'); function rlv_sort_by_title($q) { $q->set('orderby', 'post_title'); $q->set('order', 'asc'); return $q; }
Thanks again for helping!
Hello!
Thanks for the explanation! ??
Awesome plugin btw!
Kind regards, Christoffer
Thanks a lot!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Make post titles have much more weightHello Mikko!
Thanks a lot! Will check with Search and filter pro!
It worked! I increased the weight to 200 and now the titles are at the top results.
Thanks a lot!
Thanks for the quick reply!
I tried to set the weight for post title to 20 and keep the rest (comments, author and category) to the value of 0.75. Then I re-indexed it and tried but nothing seemed to change. We have no cache on this site yet.
Do you know of anything else that can effect the results?
Thanks again!
Kind regards, Christoffer
Forum: Plugins
In reply to: [Yoast SEO] Snippet preview is not showing on Google resultsHello!
That was quick of you! Thanks a lot!
I have followed your instructions and will now wait and see how it goes.
Thanks again! Will get back about how it went!
Kind regards, Christoffer
It works! Thank you so much!
Hello Emili!
Thank you so much!! ?? Really appreciate it! I will try this tomorrow.
Kind regards, Christoffer
Forum: Plugins
In reply to: [Polylang] Keep getting redirected to wrong languageHello lemathieu!
So sorry, but we solved this somehow but now we dont remember what we did to solve this. We think that it had to do with some kind of auto detect by Polylang for the default language, and that you can disable the auto detect inside the settings in Polylang. See if you can find it and if it solves it!
Good luck!