Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / error 404 on products (URL rewriting bad)

error 404 on products (URL rewriting bad)

Locked

Views: 950

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Sep 2010, 6:09 PM
#1
webdi avatar

webdi

New Zenner

Join Date:
May 2010
Posts:
10
Plugin Contributions:
0

error 404 on products (URL rewriting bad)

I have been trying to find the error for 16 hours now and am asking for help now. I installed a new zen cart (have done this before) on a new domain. I did no thave any installation errors and the database hook up works. I've checked both configure files several times.

The home page displays just fine and I am able to add categories and products without a problem. When I click on a product I get an error 404, page not found. Some of the links in the sideboxes work and find the pages, some don't. I have added a new template, but I get the same error on the classic template as well. I am about out of hair to pull out...

The cart is one extra level down in the directory, but the paths are specified in the config files. The domain I am using is a second domain on my site, but since the home page works it does not seem to be the problem.

Should I start over and reinstall everything? Does anyone know why the path can not be found? This is an example path that does not work:
http://www.reddoorcandleco.com/RedDoorCart/index.php?main_page=product_info&cPath=1&products_id=1

10 Sep 2010, 6:36 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: error 404 on products (URL rewriting bad)

Every link on your main page takes me to a 404 page. Do you have any sort of redirect going on ?

Since you don't have much added yet, I'd be tempted to re-install, this time in the root of your site if possible.

10 Sep 2010, 6:50 PM
#3
webdi avatar

webdi

New Zenner

Join Date:
May 2010
Posts:
10
Plugin Contributions:
0

Re: error 404 on products (URL rewriting bad)

no redirects - will reinstall. I could have done that in less time than trying to figure this out!

Many thanks:smile:

10 Sep 2010, 7:06 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: error 404 on products (URL rewriting bad)

Delete all your RewriteRules from your .htaccess, and turn OFF your so-called SEO URL module, whichever it is you're using. THAT is what's causing your problems, because all your pages are getting redirected by those rules, and pointed to pages that do NOT exist in your store.
Most of those modules ONLY cause trouble. I don't recommend using them normally.

Search engines can index Zen Cart URLs just fine, without needing to make them search-engine "friendly".

11 Sep 2010, 1:07 AM
#5
webdi avatar

webdi

New Zenner

Join Date:
May 2010
Posts:
10
Plugin Contributions:
0

Re: error 404 on products (URL rewriting bad)

I'm trying to reinstall a new fresh cart, but will upload my last version and look again at the .htaccess file(s).

Now the physical path of the files in the system setup part of the install gives me an error no matter what path is in there, and the cart will not install. I donwloaded the latest and greatest version of Zen Cart so I don't know if it is a 9f thing ? or if I have gremlins...

I've installed quite a few carts and this has never happened before!

11 Sep 2010, 4:30 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: error 404 on products (URL rewriting bad)

WebDi:

so I don't know if it is a 9f thing ?
I can't think of why it would be.
More likely to be a bad upload.