Thanks for your help!
The only thing I can think of right now is to upload a .htaccess file into the directory where the link is. The .htaccess should contain something like DirectoryIndex /
. This would allow any visitors that go to a page that does not exist to be redirected to your main index page.
If you have another index file inside that directory, then you will have to add it into the .htaccess file also. Like, DirectoryIndex / index.html index.php
Another way is to setup a 404 error to redirect to the main page.
Last edited by aiweller; 21-05-2003 at 10:30 AM.
well, the page they are accessing is not an error page, it's a valid page on the site but they shouldn't be hitting it without going through the entrance of the site.
hey, thanks! I'll try that too. I actually found a work around in the meantime. The site linking us does it within a frameset so I just place a script on my page forcing the page to reload (to my index page) if it originally is loaded from within a frameset. That seems to work fine at least until they stop linking me from within a frameset.
If anyone needs a script like I described try this;
if (window!= top)
top.location.href=document.location.href = 'index.html';
There are currently 1 users browsing this thread. (0 members and 1 guests)