I have got an issue with the search-bar on my magento website which keeps returning an unsecure url. Be aware I am a bit of a noob when it comes to php. The url gets called in this form tag:

<form id="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">

How do I get this o call the secure url ?

2 Answers 2


I just searched for the issue and found this solution, see if it works for you:

  • I did not understand the solution as it didn't really answer anything.
    – Pragman
    Commented Sep 15, 2016 at 2:30

The issue resolved when i run my website with secure url.

From the research i got this solution for my issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.