Forums

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
    Posts
  • #204104
    tariqarien
    Participant

    Hello

    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: studio.couvains.eu
    • The .htaccess file is placed in het public_html (couvains.eu) and does look like this:
    RewriteEngine on
    RewriteRule (.*) http://www.studio.couvains.eu/$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 couvains.eu is redirected to studio.couvains.eu.

    Can anybody help me out?

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