I have tried to write as follows

<a href='www.facebook.com'>facebook</a>

in my template file located at:


But it is redirected to So it takes me no where. In above redirected link your-store is frontname of my module in which my template resides.


You have to write as below way,

<a href='https://www.facebook.com'>facebook</a>

You have missing https:// before your url.

When you give any third party website url dont forgot to keep https:// or http:// in prefix of site url.

  • You can close this question after accept as answer so other community user have useful – Rakesh Jesadiya May 17 '17 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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