Search Bar: Popular Request fix
-
Hi,
I’ve have my WP installend in a sub-directory (let’s say http://www.domain.com/wpinstallation/).
I’ve moved htacces and index in the root, so the website is now online and visible to all.
Unfortunately the search bar’s Popular request links are still pointing to the sub directory, so the query sey make goes to the homepage and not to the product page for example.
Thank you for fixing this.
Hi,
I found the solution by myself and implemented it.
By the way, I think it needs an official fix to stay there forever even after theme updates!
Solution:
File: woodmart\inc\modules\search.php
Line: 256
FIX: get_site_url –> change into get_home_url
Like this:
“>
Can you confirm this fix can be officially released?
Thank you
The code has been removed, I try to send it in private!
Try again breaking the line
Hi GabrieleLM,
Thanks for reaching to us.
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,