X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   XCSEO Pro not producing 404 error (https://forum.x-cart.com/showthread.php?t=44855)

surfrider 01-16-2009 09:25 AM

XCSEO Pro not producing 404 error
 
We have had XCSEO Pro installed on our sites and we just realized that it is not giving header code 404 when the page was not found. Instead, it is returning header code 302. It is bad to give incorrect header code to search engines. Does anybody know the work around to this problem?

pauldodman 01-16-2009 11:48 AM

Re: XCSEO Pro not producing 404 error
 
Yes, that's one of the faults with that package - not sure if you know, but the developer has disappeared, and subsequently been banned from the forum. Many people have removed that software - and I suspect that most people using it are not even aware that this is a problem with it.
You'd be best getting rid of it if possible. Hopefully you'll get a response - just giving you a bit of a background on it.

surfrider 01-19-2009 09:25 AM

Re: XCSEO Pro not producing 404 error
 
Thanks for the information. I am aware that the developer is gone. I was hoping somebody who uses this mod figure out the solution to 404 error problem. Anybody?

Emerson 01-19-2009 09:30 AM

Re: XCSEO Pro not producing 404 error
 
Do you know which file comes up with the 404 error?
If so just add this to the very top of it:

Code:


<?php header("HTTP/1.0 404 Not Found"); ?>


Jon 01-19-2009 11:36 AM

Re: XCSEO Pro not producing 404 error
 
XCSEO does a 301 redirect, followed by a 302 redirect to a error_message.php file which then throws a 404 header, but google registers the 302. The only way to correct this would be to add the php 404 header code and output a message prior to the 302 redirect, but this isn't possible since the code responsible is ioncube encrypted.


All times are GMT -8. The time now is 03:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.