Notifications
Clear all

wpForo 1.x.x [Closed] 404 http response not working

5 Posts
2 Users
1 Likes
1,645 Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago

Checking some warnings from Google Webmaster, i saw that non existent wpForo urls are DISPLAYING a 404 (not found) BUT the response header shows

HTTP/1.1 301 Moved Permanently

or

HTTP/1.0 200 OK (and stuck to a neverending loading page)

This is an old problem, that was fixed at some point and now it is back.

4 Replies
Robert
Posts: 10503
Admin
(@robert)
Support Team
Joined: 8 years ago

Could you please leave some example of these pages?

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago

[removed]

returns

301

___

[removed]

returns

301

and goes to a semi-finished page.

__

Non existent pages (all of them) should return a clear 404 MESSAGE and also a full http 404 header response.

 

 

Robert
Posts: 10503
Admin
(@robert)
Support Team
Joined: 8 years ago

If there is n such page then there is no chance this page is indexed by google. so this kind of issues should be very rare. For example, here on wpForo we don't have such errors on google.

In any case, I agree, this should be 404 error. We'll take a look on this issue again.

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago

Robert,

I delete a Topic, clear all caches, i point to that (deleted) URL and i get:

Raw Headers
HTTP/1.1 200 OK

 

So it is not ok as you say. You just display a 404. Not a real 404.