Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Custom 404 works but throws up a pop up window

Custom 404 works but throws up a pop up window

7:58 am on Oct 18, 2008 (gmt 0)

New User

5+ Year Member

joined:June 26, 2008
posts: 10
votes: 0


I have added the following line to my .htaccess

ErrorDocument 404 /404.php

When I type a url for my website that doesn't exist, it does the job and send the user to 404.php.

The problem is that it also throws up 2 windows, each with the header:

Error: the server returned the following HTTP status: 404

followed by the source code of the 404.php file.

Why does the pop up window appear and is there a way to turn off the the pop up window?

Many thanks

Mr M

12:24 am on Oct 19, 2008 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
votes: 132

What's in 404.php?

What type of server?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members