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

Home Forums Other Hide .html extension from subdomain

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #204104


    I’m having this problem for a very long time… my file extension (html in this case) won’t hide in my subdomain.

    • I want to hide all .html extensions in my subdomain:
    • The .htaccess file is placed in het public_html ( and does look like this:
    RewriteEngine on
    RewriteRule (.*)$1 [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^.]+)$ $1.html [NC,L]
    • The only thing I might think it would be a problem is the fact that is redirected to

    Can anybody help me out?

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