|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
404.php
404.php contains nothing. Its just an empty file
![]() |
|
#17
|
||||
|
||||
|
1) Your .htaccess is telling the server to send 404s to 404.html
2) If you setup 404.php it aint gonna work unless you set 404.php in your.htaccess 3) header() functions in php will let you send 404 file not found headers so it follows protocols
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#18
|
||||
|
||||
|
Change the line:
ErrorDocument 404 /404.html To: ErrorDocument 404 /404.php And then put in 404.php the content that you wnat to be displayed when a visitor requests an invalid url. Don't leave it empty.
__________________
. . . What is Firefox? . . . . . . What is Linux? . . . . . . . . . . . What is Love? |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Google is getting on my nerves |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|