[CubeCart] Adding a product wont rewrite

Magic SEO URLs for CubeCart.
nymyth
Posts: 4
Joined: Thu Nov 06, 2008 7:56 am

[CubeCart] Adding a product wont rewrite

Postby nymyth » Thu Nov 06, 2008 8:09 am

So, this seo product works real well except when I try to add a product. I had to make adjustments to the way my store handles adding products to the cart for various reasons...however this is now causing me problems with SEO.

for example:

when you click on a category (i have no product view) it shows like this:
http://store.domain.com/category-name-1/

which is perfect, however when I click on "add product" (while in category view) the url goes to this:
http://store.admin.com/index.php?act=viewCat&catId=1

Can anyone help me out....thanks

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Adding a product wont rewrite

Postby inveo » Thu Nov 06, 2008 8:20 am

Issue you described is caused by your JavaScript attached to "Add to cart" button which is making POST request instead of GET request - POST requests can not be redirected to SEO formated URL or some functions will be break.

nymyth
Posts: 4
Joined: Thu Nov 06, 2008 7:56 am

Re: [CubeCart] Adding a product wont rewrite

Postby nymyth » Thu Nov 06, 2008 8:41 am

what would happen if i change the JS to read GET instead of POST?

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Adding a product wont rewrite

Postby inveo » Thu Nov 06, 2008 9:39 am

I am not sure you understand me, it not about reading anything, but about making type of request.

nymyth
Posts: 4
Joined: Thu Nov 06, 2008 7:56 am

Re: [CubeCart] Adding a product wont rewrite

Postby nymyth » Thu Nov 06, 2008 9:51 am

Yeah, I got that after I realized what you were saying....forgot to delete that post