Post by ja434650 » Sun May 26, 2013 12:10 am

Google is saying that I have soft 404 errors for these 2 URLs:

http://partyhousepong.com/beer-pong-accessories
http://partyhousepong.com/index.php?rou ... ry&path=61

The exact error message from google is:

The target URL does not exist and your server is not returning a 404 (file not found) error.

Your server returns a code other than 404 or 410 for a non-existent page (or redirecting users to another page, such as the homepage, instead of returning a 404). This creates a poor experience for searchers and search engines.


Anyone know how to fix this? Thanks.

New member

Posts

Joined
Wed Apr 10, 2013 6:10 am

Post by ChetanCx » Sun May 26, 2013 2:15 am

open your catalog/controller/product/category.php at the end of the file you will find

Code: Select all

$this->response->setOutput($this->render());
just before it add

Code: Select all

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm

Post by ja434650 » Mon May 27, 2013 5:15 am

Great thanks, I added that code. The only problem is for the 2 urls that i pasted above, the same page comes up as before. I used a website to check the http status code of these links and got this:

Result code: 503 (ServiceUnavailable / Service Unavailable)

google might still return an error for this. Do you know what it could mean?

New member

Posts

Joined
Wed Apr 10, 2013 6:10 am

Post by ja434650 » Mon May 27, 2013 5:18 am

Oh wait for http://partyhousepong.com/beer-pong-accessories i'm getting a 404 now. So it's just http://partyhousepong.com/index.php?rou ... ry&path=61 that's returning the 503. Maybe category.php wasn't the file that needed to be edited for this url. Any ideas?

Thanks,
John

New member

Posts

Joined
Wed Apr 10, 2013 6:10 am

Post by ChetanCx » Mon May 27, 2013 6:24 am

both pages are 404 you can check using chrome's developer tools or websites like this http://tools.seobook.com/server-header-checker/

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm

Post by ja434650 » Wed May 29, 2013 6:42 am

This is interesting because I got a 503, you got a 404, and now I just got a 200. I attached a screenshot of the 200 (OK) status code that was returned using the website you linked me to. What the heck is going on?

Attachments

Screen Shot 2013-05-28 at 6.40.53 PM.png

Screen Shot 2013-05-28 at 6.40.53 PM.png (68.74 KiB) Viewed 2036 times


New member

Posts

Joined
Wed Apr 10, 2013 6:10 am
Who is online

Users browsing this forum: Bing [Bot] and 53 guests