Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2014
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove .html from URL

    Hi all ,

    I have a problem in my site.
    All my sites on my page show .html after sitename.

    I know i can use rewrite rules .htaccess and more.

    I tryied it but i dont work.

    Can someone help me with this? SOmeone have the code ?


    I tryied like this maybe i did wrong.

    1. Create a empty html document saved it in my sitefolder .htaccess
    2. in the document i write some code i saw in a youtubevideo
    3. Save it and upload in my FTP

    Is that correct guys?

    Thanks forward.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,695
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Don’t just copy and paste, understand what you are doing before doing it.

    There are a lot of tutorials about this on the internet, among them this one:
    How to remove .php, .html, .htm extensions with .htaccess


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •