Post by werepair » Wed Aug 06, 2014 2:41 pm

i have this error message in webmastertools, any idea how i can fix it?

The target URL doesn't exist, but your server is not returning a 404 (file not found) error.

index.php?route=product/category&path=
index.php?route=product/category&page=3
index.php?route=product/category
index.php?route=product/category&page=2
index.php?route=product/category&page=1
Last edited by werepair on Fri Aug 15, 2014 5:44 pm, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by werepair » Wed Aug 06, 2014 10:20 pm

i see opencart 1.5.6.4 has the following code added to the controller files
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');

Code: Select all

catalog/controller/account/download.php 
	Line 130: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/account/order.php 
	Line 424: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/account/return.php 
	Line 280: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/error/not_found.php 
	Line 50: 		$this->response->addheader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 not found');
catalog/controller/information/information.php 
	Line 74: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/payment/pp_express.php 
	Line 1542: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/product/category.php 
	Line 440: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/product/manufacturer.php 
	Line 411: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
catalog/controller/product/product.php 
	Line 542: 			$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
I am running 1.5.5.1 and my controller files do not have this line of code
Can i just add it to my stores 1.5.5.1 controller files?
Any input would be greatly appreciated.

Best Regards

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by werepair » Fri Aug 15, 2014 3:55 pm

Surely someone must know how to fix this issue
index.php?route=product/category&path=

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by Dhaupin » Fri Sep 05, 2014 2:39 am

Late reply, but this should work for you :)

This is a forum beta, but this should work for any 1.5-2.0 OC on products, categories, information, manufacturers, etc. Has "skip" support for OpenShop news module and Grouped Product Ultimate+all its submods. Hit us up if something doesnt work :)

Attachments

v1.0.1 - Fixes 404 headers in various areas of store

Last edited by Dhaupin on Fri Sep 05, 2014 11:04 am, edited 1 time in total.

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by werepair » Fri Sep 05, 2014 3:04 am

Thanks for the file and the reply, it is appreciated, what's that saying "better late than never" :)
Thank you and
best regards

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by liewzy » Sat Sep 27, 2014 2:36 pm

Thanks Dhaupin, it work greats.

Newbie

Posts

Joined
Wed Aug 08, 2012 1:02 pm
Who is online

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