Redirect Halaman Setelah Login Hotspot Mikrotik


  1. Scrip alogin asli : <title>mikrotik hotspot > redirect</title>
    <meta http-equiv=”refresh” content=”2; url=$(link-redirect)”>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
    <meta http-equiv=”pragma” content=”no-cache”>
    <meta http-equiv=”expires” content=”-1″>
  2. Dirubah menjadi :<title>mikrotik hotspot > redirect</title>
    <meta http-equiv=”refresh” content=”0; url=http://www.google.co.id”>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
    <meta http-equiv=”pragma” content=”no-cache”>
    <meta http-equiv=”expires” content=”-1″>
    <style type=”text/css”>
  3. Link harus Anda tulis lengkap dengan “http://” Karena kalo tidak url yang dituju malah menjadi “http://iprouter/www.google.com”
  4. Edit Juga script berikut : location.href = ‘$(link-redirect)’; menjadi  location.href = ‘http://www.google.com’;
  5. Simpan File alogin.html yang telah di edit tadi ke folder hotspot dan terakhir cek hasil editing Agan.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.