Just another WordPress site

javascript redirect code

With below javascript redirect code, you can easily redirect your current page to any pages you desire.

Simple Javascript redirect code

copy and paste it into your page where you want to redirect on load.

<script type=”text/javascript”>
window.location = “http://example.com/”
</script>


Leave a Reply

Your email address will not be published. Required fields are marked *