Forum Moderators: phranque

Message Too Old, No Replies

Re-direct to Index.html

Redirection

         

swmasson

11:40 am on Sep 20, 2003 (gmt 0)

10+ Year Member



Does anyone know if it is possible to redirect any address typed in the address bar (even if the page no longer exsists) back to the index.html page? I have been looking for ages but have been unsuccessfull.

Thank you

storevalley

11:49 am on Sep 20, 2003 (gmt 0)

10+ Year Member



<Files .htaccess>
order allow,deny
deny from all
</Files>

errordocument 404 [domain.com...]

If your server supports .htaccess, a copy of .htaccess in your root www folder with the above lines should do the trick

swmasson

6:32 am on Sep 21, 2003 (gmt 0)

10+ Year Member



Would this allow them to open up the other pages withing the content frame? It sound like this would prevent access?

Thanks

storevalley

9:54 am on Sep 21, 2003 (gmt 0)

10+ Year Member



Never tried this with a framed site ... I tend to avoid them. But in English this says ...

if anybody asks for a page that does not exist on this site, redirect them to [domain.com...]