Cara Menghilangkan Question Mark di URL Menggunakan htaccess

Discussion in 'Masalah Teknik dan Keamanan' started by Jefry Dewangga, 10 Oct 2015.

Thread Status:
Not open for further replies.
  1. Jefry Dewangga

    Jefry Dewangga Beginner 1.0

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Default setting website saya tanpa www, ketika saya mencoba mengakses www.domain.com/blog redirect menjadi domain.com/?/blog.
    Bagaimana cara menghilangkan question mark di url tersebut sehingga url menjadi domain.com/blog saja.
    Konfigurasi .htaccess seperti ini http://copasin.com/c/e/56165162eeece
     
  2. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Coba ganti '(.*?)' jadi '(.*)'
     
  3. Jefry Dewangga

    Jefry Dewangga Beginner 1.0

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Tetep nggak bisa mas,
     
  4. dhyhost

    dhyhost Hosting Guru Web Hosting

    Messages:
    3,929
    Likes Received:
    613
    Trophy Points:
    113
    coba di copas di sini konfigurasi .htacessnya,
     
  5. Jefry Dewangga

    Jefry Dewangga Beginner 1.0

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  6. paijo2

    paijo2 Apprentice 1.0

    Messages:
    233
    Likes Received:
    30
    Trophy Points:
    28
    terlalu banyak rewrite rule yang tumpang tindih, mungkin bisa dirapikan terlebih dahulu :)
     
  7. Jefry Dewangga

    Jefry Dewangga Beginner 1.0

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Sebenarnya saya kurang paham mas dengan konfigurasi htaccess itu, itu saya mengambil konfigurasi dari HTML5 Boilerplate mas, terus saya tambahkan sendiri dari beberapa sumber :( Mas bisa bantu merapihkan? Nanti saya bayar deh.
     
  8. paijo2

    paijo2 Apprentice 1.0

    Messages:
    233
    Likes Received:
    30
    Trophy Points:
    28
    japri saja mas :)
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...