Forums

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

Home Forums Other .htaccess

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34883
    Ben_Derby
    Participant

    Hey,

    Using htaccess how do you remove .html from the url?

    Thanks

    #89486
    chrisburton
    Participant
    #89487
    Ben_Derby
    Participant

    i tried that and it didn’t work :(

    #89488
    chrisburton
    Participant

    Where did you put the .htaccess file?

    #89489
    Ben_Derby
    Participant

    just dropped in with the rest of the files as the hosting company said to do that and I’m not sure how to access the file root.

    #89491
    chrisburton
    Participant

    Should say “public” or “home”. Ask your hosting company where it is.

    Add this to the .htaccess file in the ROOT directory of where these files are. Obviously this will only work with a page named “about.html”.

    RewriteEngine On
    RewriteRule ^about$ about.html [L]
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.