[CubeCart] Adding a product wont rewrite

Technical difficulties? Ask for help here.

[CubeCart] Adding a product wont rewrite

Postby nymyth » Thu Nov 06, 2008 7: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
nymyth
 
Posts: 4
Joined: Thu Nov 06, 2008 6:56 am

Re: [CubeCart] Adding a product wont rewrite

Postby ~J~ » Thu Nov 06, 2008 7: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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Adding a product wont rewrite

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

what would happen if i change the JS to read GET instead of POST?
nymyth
 
Posts: 4
Joined: Thu Nov 06, 2008 6:56 am

Re: [CubeCart] Adding a product wont rewrite

Postby ~J~ » Thu Nov 06, 2008 8:39 am

I am not sure you understand me, it not about reading anything, but about making type of request.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Adding a product wont rewrite

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

Yeah, I got that after I realized what you were saying....forgot to delete that post
nymyth
 
Posts: 4
Joined: Thu Nov 06, 2008 6:56 am


Return to Troubleshooting

Who is online

Users browsing this forum: ~J~ and 1 guest