Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other how to remove index.html

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41509
    zahidahmad9
    Participant

    hello! every one

    can you tell me how to finish index.html after domain name in static website or any soluction

    Thanks advance :)

    http://www.psdmafia.com/index.html

    #118461
    chrisburton
    Participant

    You need to create a .htaccess file and put this inside it.

    Options -Indexes

    #118464
    zahidahmad9
    Participant

    Recently i makes a .htaccess file in publichtml and did paste your code in .htaccess but not resolved index.html

    #118465
    zahidahmad9
    Participant

    when i am enter in psdmafia.com and then click design.html and after that i am again come in psdmafia.com so this link show

    http://www.psdmafia.com/index.html

    #118466
    chrisburton
    Participant

    Wait, you just want to completely remove `index.html` from your URL’s?

    So you have: http://www.psdmafia.com

    #118467
    zahidahmad9
    Participant

    yes

    #118472
    kevin11189
    Participant

    Try putting this in your .htaccess

    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{THE_REQUEST} /index.html HTTP [NC]
    RewriteRule (.*)index.html$ /$1 [R=301,L]

    #118474
    zahidahmad9
    Participant

    yes its working Thanku Thanku Thanku so much

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Other’ is closed to new topics and replies.