Demo <script> window.location = "../chat/?Chat"; </script>