I pruned some entries in a category and now I only have one page of links in that category. http://www.domain.com/directory/category Howeever, when people follow external lnks to the old second page of that category; http://www.domain.com/directory/category/2 they get to a blank template page and this also shows search engines a 200 found header code. Is there any way to change this to a 404 not found error?
Comments on Old categories returining 200 found
Member
Usergroup: Customer
Joined: Sep 27, 2006
Total Topics: 4
Total Comments: 14
I pruned some entries in a category and now I only have one page of links in that category. http://www.domain.com/directory/category Howeever, when people follow external lnks to the old second page of that category; http://www.domain.com/directory/category/2 they get to a blank template page and this also shows search engines a 200 found header code. Is there any way to change this to a 404 not found error?
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Have you regenerated?
Member
Usergroup: Customer
Joined: Sep 27, 2006
Total Topics: 4
Total Comments: 14
Thanks for replying. Yes, I have regenerated. I don't think this has any effect though. Even putting in URLs like http://www.domain.com/directory/category/3, http://www.domain.com/directory/category/4, or even http://www.domain.com/directory/category/100 will return a blank template, with no entries and a 200 found header. Which is something that I never realised before, until I tried it.
Member
Usergroup: Customer
Joined: Sep 27, 2006
Total Topics: 4
Total Comments: 14
Anyone? I have even tried redirecting the old URL using .htaccess, but it simply goes to the non-mod-rewritten URL.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Changed to the 'bad request' page with a 404 header now.
Member
Usergroup: Customer
Joined: Sep 27, 2006
Total Topics: 4
Total Comments: 14
Brilliant. Thanks for being so quick Paul. Would this apply to WSN Links 3.4.7, or would it involve upgrading to the version 4 series?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Only applies to 4.0.25.