Unable to define multiple paths in SearchEngines.php #827
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone
If an entry in SearchEngines.php has multiple keyword parameters, this can be done by putting them into an array. But the path to the search engines result page only allows one uri what could lead to search engine results without any hits.
Proposal:
Allow an array as third parameter.
Example:
'www.allesklar.de' => array('Allesklar', array('words', 'cat_path'), array('s.php?words={k}', 'l.php?cat_path={k}'), 'utf-8'),
One other suggestion for SearchEngine.php
It might bring a slight performange increase when replacing all double quotes with single quotes (http://www.php.net/manual/en/function.print.php#66392).
The text was updated successfully, but these errors were encountered: