4
votes
1answer
43 views

Statically mapping a PHP script to another script using an .htaccess file results in 404 errors

After having read a lot of posts on the topic of URL rewriting, I still remain stuck with 404 status errors. My goal: A 'static' rewrite of URLs, as follows (user clicks or enters the one ...
0
votes
2answers
323 views

Does it make sense to throw a 404 error with PHP?

Problem Description Hi, The current setting of my .htaccess file does not allow any kind of 404 (as far as I know). I mean, it captures every kind of url like mysite.com/asfasfasf then sends it to ...
1
vote
2answers
186 views

Serving proper 404/410 error codes on dynamic database driven site

a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
2
votes
2answers
168 views

404 page not showing URL

My 404 page (/404.php) works, it's sending the proper headers (404 - Not found). But the thing is, it's not giving the link that caused it (e.g. example.com/thisisnon-existant.htm) but instead it's ...
2
votes
1answer
107 views

Why are perfectly legitimate pages on my website registering in Google Webmasters as 404?

I have seen this question asked several times here, but never clearly answered. I suspect it has something to do with my .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> ...
1
vote
1answer
148 views

Is there any way to prevent Googlebar from breaking Friendly 404s

This might be considered a continuation of this question. If I output HTML after my 404 header, It displays properly in IE and FF unless the user has Google bar instaled. If I try header('HTTP/1.x ...
0
votes
0answers
424 views

Nginx 404 not working with PHP?

I have a 404 file and it is working with nginx. However when I modify the 404 file to redirect the user it does not redirect. visiting http://site.com/404.php redirects the user. visiting ...
0
votes
0answers
61 views

404 error out of no where on .php file [closed]

I have a website which I've built that I have gone to a bunch of times today. Out of nowhere I receive a 404 Page Not Found error, I didn't do anything. The site loads an index.html file which points ...