Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Creating a custom search page › Reply To: Creating a custom search page
Your welcome and thank you for the kind words!
Just a quick note: If your custom search page will look like “/advanced-search/?kw={phrase}” format, then make sure that the “$_GET[‘s’]” variable is also set to the same value. I’m almost 100% sure, that it’s needed. So a simple
if (isset($_GET['kw'])) $_GET['s'] = $_GET['kw'];
statement should prevent some funny unexpected behavior. I’m not sure however where to put this, I don’t know if it would work in search.php file.
I remember someone asked something similar last week, and I found this short article about customizing search url and redirection and stuff: http://wpengineer.com/2258/change-the-search-url-of-wordpress/
You might find it helpful as well. Have a nice rest of the day, and good luck with the coding!
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)