Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Search for News Manager Posts
#26
Try doing the patch in post #5 on this thread.
Reply
#27
(2019-12-11, 21:24:49)Carlos Wrote: Try doing the patch in post #5 on this thread.

Total genius! - just do as Carlos suggests and News search then works as expected.

Many thanks!
Reply
#28
(2019-08-21, 18:06:21)rjgaur Wrote: Hi there,

I have been using this plugin in for a while but I have now encountered an issue after changing the URL structure. To display language in the URL, a language code is appended at the end, followed by the name of the post such as

www.domain.com/en/news/post/post-name

However when I run search results, the language code is not added to the URL. It display as
www.domain.com/news/post/post-name.

Would be very grateful if a fix could be suggested for this.

This is what worked finally. Change was made in searchresult.php
$link = str_replace("/news/post/","/en/news/post/",$link);
Reply




Users browsing this thread: 2 Guest(s)