<script> if (location.protocol != ‘https:’) { location.href = ‘https:’ + window.location.href.substring(window.location.protocol.length); } </script>
<script type=”text/javascript”> if ( document.domain.substring(0,4).toLowerCase() != ‘www.’ ) { window.location = document.URL.replace(“//”,”//www.”); } </script>
Just Try in button. <button onclick=”location.reload();location.href=’url_name'” id=”myButton” class=”btn request-callback” >Explore More</button> Using href <a href=”#” class=”know_how” onclick=”location.reload();location.href=’url_name'”>Know More</a>