views:

15

answers:

1

How to write a .htaccess that has in result:

ALL Requests on that domain go forwarded to the index.html at the rootfolder of the same domain.

The index.html itself is not forwarded (excluded) as it includes 2 outbound links.

thanks chris

+1  A: 
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/?index\.php
RewriteRule /?(.*) index.html [L]
Dan Grossman