Grow your CSS skills. Land your dream job.

how to remove index.html

  • # December 21, 2012 at 1:37 pm

    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

    # December 21, 2012 at 1:41 pm

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

    Options -Indexes

    # December 21, 2012 at 1:53 pm

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

    # December 21, 2012 at 1:56 pm

    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

    # December 21, 2012 at 1:57 pm

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

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

    # December 21, 2012 at 1:58 pm

    yes

    # December 21, 2012 at 2:17 pm

    Try putting this in your .htaccess

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

    # December 21, 2012 at 2:24 pm

    yes its working Thanku Thanku Thanku so much

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".