I FOUND IT!!!
In gsconfig.php, disable the canonical option:
# Enable Canonical Redirects?
# define('GSCANONICAL', 1);
In gsconfig.php, disable the canonical option:
# Enable Canonical Redirects?
# define('GSCANONICAL', 1);
Search plugin (I18N)
|
I FOUND IT!!!
In gsconfig.php, disable the canonical option: # Enable Canonical Redirects? # define('GSCANONICAL', 1);
2023-01-28, 21:31:30
(2023-01-28, 21:02:33)tuxy Wrote: Today test the I18N Search plugin again, now installed GS CE in the root of my hosting (https://webkust.be), but the search function doesn't work, see my test-pages: Seems to work now.
2023-01-28, 21:39:14
(2023-01-28, 07:29:57)mvlcek Wrote:(2023-01-28, 06:43:46)tuxy Wrote: Can i use Fancy URL's with the search plugin? (2023-01-28, 21:31:30)mvlcek Wrote:(2023-01-28, 21:02:33)tuxy Wrote: Today test the I18N Search plugin again, now installed GS CE in the root of my hosting (https://webkust.be), but the search function doesn't work, see my test-pages: Yes, when disable the canonical option in gsconfig.php ![]()
2023-01-29, 00:05:54
check this https://skr.sh/sI7xmGmvrfd
2023-01-29, 00:33:54
(2023-01-28, 06:10:06)mvlcek Wrote:(2023-01-28, 05:05:16)tuxy Wrote: For testing the search plugin, adding the shortcodes (2023-01-28, 18:05:47)Oleg06 Wrote:(2023-01-28, 09:06:31)tuxy Wrote: Try adding the tagCloud in my sidebar.php with: 'showTags'=>1 (2023-01-29, 00:05:54)Oleg06 Wrote: check this https://skr.sh/sI7xmGmvrfdIt's installed... [font=Arial, "Helvetica Neue", Helvetica, sans-serif]Apache Mod Rewrite Installed - OK[/font]
Have two extra questions:
1. How show all the pages indexed by the search plugin? Adding this in a page, but shows: No results found (% searchresults words=' ' %) Trying also: (% searchresults words:' ' %) (% searchresults tags=' ' %) (% searchresults addTags=' ' %) ... 2. I have childpages with a tag _post, so adding (% searchresults addTags=_parent_post %) in the parent-page editor. But nothing happen. Try follow the docs, but sometimes missed some extra info, sorry i'm a little stupid ![]() PS: maybe it's mistyping but on the usage-tab from the search-plugin the attributes are with ':' and on this website: it is typed with '=', it's a bit confusing how using the attributes.
Okay, i learn a lot, and found it (again) :
1. Shows all the post-pages (every page with the tag _post): (% searchresults tags=_post words=' ' %) 2. Shows all the child-pages from a specific parent-page (change YOUR_PARENT_SLUG with the slug from your parent-page): (% searchresults addTags=_parent_YOUR_PARENT_SLUG words=' ' %) CASE CLOSED :-) PS: again awsome plugin, good work Martin ;-) UPDATE: Adding the code in the category.php template (instead of the parent-pages itself): $data_index->url , get the slug from the parent-page <?php $parent_category_slug = '_parent_'. $data_index->url; get_i18n_search_results(array('addTags'=> $parent_category_slug,'words'=>' ', 'showPaging'=>1, 'component'=>'search_results', 'HEADER'=>null)); ?> Maybe it can help others ;-)
2023-01-30, 18:11:16
2023-01-30, 19:20:32
(2023-01-28, 07:29:57)mvlcek Wrote:(2023-01-28, 06:43:46)tuxy Wrote: Can i use Fancy URL's with the search plugin? (2023-01-28, 21:31:30)mvlcek Wrote:(2023-01-28, 21:02:33)tuxy Wrote: Today test the I18N Search plugin again, now installed GS CE in the root of my hosting (https://webkust.be), but the search function doesn't work, see my test-pages: (2023-01-30, 18:11:16)Felix Wrote: Hi Not yet, read only the docs about the I18N Search plugin on @mvlcek's website, stupid don't read it first about I18N, it looks useful info. I use only one language, is the reason why not installed and reading the docs about I18N. Is the I18N plugin necessary for a good working Search plugin? Thanks for the attention that i need also must read the other docs, for better understanding how the plugins integrated with each other. |
« Next Oldest | Next Newest »
|