Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Broken preview, calling wrong site URL › Reply To: Broken preview, calling wrong site URL
April 27, 2014 at 7:07 pm
#1744
Ah, I think I’ve found the bug!
In ajax-search-pro/backend/search.php, line 23:
var ajaxurl = ‘<?php bloginfo(“url”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;
it should say:
var ajaxurl = ‘<?php bloginfo(“wpurl”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;
🙂
- This reply was modified 9 years, 12 months ago by Dominic Self.