hnhx / librex

Framework and javascript free privacy respecting meta search engine
GNU Affero General Public License v3.0
785 stars 92 forks source link

Better search redirection #243

Closed vdbhb59 closed 1 year ago

vdbhb59 commented 1 year ago

Currently the searches are being made from the index site and are being sent to search.php?q={search query}. Made changes for better integration with other browsers by improving the redirection to be URL/?q={ search query } search, instead of URL/search.php/?q=. This can be checked with example: at the moment https://librex.me/search.php?q=PHP&t=0&p=0 how should it be https://librex.me/?q=PHP&t=0&p=0

2 more changes being done under index.php & misc/tools.php files.

hnhx commented 1 year ago

Can you make this in 1 PR?...