I try to create a custom results page for my custom entities (database). So, i have in home page a search box, the form have to redirect to this "custom" page.
What is the preferable way to accomplish this?
I tried to add new php page to my template, but how can i achieve SEF url in this way?
Not specially the best way, but a simple one :
For displaying results, you could create a Menu-item containing an Article.
The search box form would be submitted to this Menu-item. In order to process these data here, you could use an plugin like Sourcerer allowing to write PHP in Articles, Modules, etc.
This solution using Menu-items, it would be SEF compliant,