Zen Cart Logo
Forums / General Questions / Search engine results getting Error 404-Not found

Search engine results getting Error 404-Not found

Views: 1,090

Results 1 to 5 of 5
17 Dec 2011, 10:55 PM
#1
fukienman avatar

fukienman

Zen Follower

Join Date:
Oct 2011
Location:
Colorado Springs, CO
Posts:
114
Plugin Contributions:
0

Search engine results getting Error 404-Not found

I just replaced my old site with my new one (ZC) and as expected, when you do a search of any kind for my type of products, your search results (google) are attached to my old site. So of course when you click on the result that is my web site, you get a Error 404-Not found, since the old site does not exist anymore (same web address as new site). I thought when this happens, my "Not found" box would pop up with a message that I put into to redirect them within my site. If not, how do I set this so that people get some kind of message that I am still in business so they don't think I am gone!!

17 Dec 2011, 11:32 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Search engine results getting Error 404-Not found

Add this to the .htacess file at the new site:

ErrorDocument 404 /index.php?main_page=page_not_found

That will bring up the Zen Cart page, which is the site map with a little different wording.

17 Dec 2011, 11:38 PM
#3
fukienman avatar

fukienman

Zen Follower

Join Date:
Oct 2011
Location:
Colorado Springs, CO
Posts:
114
Plugin Contributions:
0

Re: Search engine results getting Error 404-Not found

RescoCCC:

Add this to the .htacess file at the new site:

ErrorDocument 404 /index.php?main_page=page_not_found

That will bring up the Zen Cart page, which is the site map with a little different wording.

Which .htaccess file, I have Many. There is not one in the root.

17 Dec 2011, 11:59 PM
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Search engine results getting Error 404-Not found

Create one with that in it, and drop it in the root.

18 Dec 2011, 4:45 AM
#5
fukienman avatar

fukienman

Zen Follower

Join Date:
Oct 2011
Location:
Colorado Springs, CO
Posts:
114
Plugin Contributions:
0

Re: Search engine results getting Error 404-Not found

RescoCCC:

Create one with that in it, and drop it in the root.

I did that and it seems that it only works for certain searches. If you search for a file or product you get my site map as you said. But if your search takes you to a certain page on my site, like About Us, it does not work. It sends you to the Error 404-Not Found