Is there a function on JavaScript that checks the specified url if it exists or not?
ergo,
while loading a page, the script must check first the other page if it exists, redirect if not exists.
The purpose is for the maintenance.... .
If we will do changes etc for the website, we should remove that page(always checked) so that, any users that tries to access the site or its sub directories will be redirected to a specific page ( Site under maintenance ).....
This is what im thinking now..... any suggestions or links for tutorial will be appreciated....
looking forward to your replies experts,
sukatoa
ergo,
while loading a page, the script must check first the other page if it exists, redirect if not exists.
The purpose is for the maintenance.... .
If we will do changes etc for the website, we should remove that page(always checked) so that, any users that tries to access the site or its sub directories will be redirected to a specific page ( Site under maintenance ).....
This is what im thinking now..... any suggestions or links for tutorial will be appreciated....
looking forward to your replies experts,
sukatoa
Comment