View Full Version : restrict access

05-30-2006, 03:42 AM
have made a homepage with nvu and works good but want to restrict access to all pages except the main page.

i want everyone that tries to access a subpage directly to be redirected to the mainpage.

is there any simple way to achieve that ?
must be in html or javascript.


05-30-2006, 04:40 AM
(Client-side) JavaScript is easy to circumvent, you should use a server-side language to do that.

JavaScript's location object (http://www.google.com/search?q=JavaScript+location) can be used to redirect users to the page of your choice.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum