[Zen Cart] How to rewrite an URL in script ?

Magic SEO URLs for Zen Cart.
SOSPCSHOP
Follower
Posts: 25
Joined: Sat May 16, 2009 10:43 am

[Zen Cart] How to rewrite an URL in script ?

Postby SOSPCSHOP » Sun Jun 12, 2011 2:20 am

hi,

I have wrote a simple script for export my products to google shopping, but it write on a file csv the url without rewrite ( es. http://www.sospcshop.com/store/index.ph ... ucts_id=64 ).
There is a way to write in magic seo mode ? (es. http://www.sospcshop.com/store/dvd-fdd- ... ok-64.html )

thanks.
Salvo

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

Re: [Zen Cart] How to rewrite an URL in script ?

Postby inveo » Sun Jun 12, 2011 6:17 am

You can learn your script to use rewritten URLs by using Magic SEO URLs cache data. Please see Magic SEO URLs Sitemaps code (you can do a copy & paste).

SOSPCSHOP
Follower
Posts: 25
Joined: Sat May 16, 2009 10:43 am

Re: [Zen Cart] How to rewrite an URL in script ?

Postby SOSPCSHOP » Sun Jun 12, 2011 2:48 pm

thanks for the fast answer...

I do not belive that is possible to do copy & paste from sitemap..becouse my products change every day..in price and qty .. and there are 4000 products!!

I wanted to create/find a script where I send the url dinamic ( index.ph ... ucts_id=64 ) and it returns me the url in static format ( dvd-fdd- ... ok-64.html) or something about..

do you have a idea how I can do ? (if I can!)

Other question..

In google webmaster tools I find many, many errors like those:
Tag title duplicati
/st​ore​/ma​nuf​act​ure​rs/​log​ite​ch-​18/​ind​ex-​3.h​tml
/st​ore​/ma​nuf​act​ure​rs/​log​ite​ch-​18/​ind​ex-​9.h​tml
or
/st​ore​/ne​w-p​rod​uct​s/
/st​ore​/ne​w-p​rod​uct​s/i​nde​x-1​37.​htm​l
/st​ore​/ne​w-p​rod​uct​s/i​nde​x-3​.ht​ml
/st​ore​/ne​w-p​rod​uct​s/i​nde​x-4​6.h​tml
/st​ore​/ne​w-p​rod​uct​s/i​nde​x-9​.ht​ml
/st​ore​/ne​w-p​rod​uct​s/i​nde​x-9​8.h​tml
or
/st​ore​/co​mpu​ter​-no​teb​ook​-30​1/n​ote​boo​k-4​46/
/st​ore​/co​mpu​ter​-no​teb​ook​-30​1/n​ote​boo​k-4​47/
e so on..
the question is..
If I buy the new version ( don't you have a upgrade ?) can i solve this google errors ?
I have read the new feature, but I am not sure to well understood

I use magic seo url from the end of 2009, some days before the new rel 2.0
Thanks for attention and thanks !
bye.
Salvo

SOSPCSHOP
Follower
Posts: 25
Joined: Sat May 16, 2009 10:43 am

Re: [Zen Cart] How to rewrite an URL in script ?

Postby SOSPCSHOP » Sun Jun 12, 2011 2:52 pm

errara corrige..

my product change in price, qty but overall are deleted and new inserted every day.

Bye.
Salvo

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

Re: [Zen Cart] How to rewrite an URL in script ?

Postby inveo » Mon Jun 13, 2011 11:39 am

SOSPCSHOP wrote:I wanted to create/find a script where I send the url dinamic ( index.ph ... ucts_id=64 ) and it returns me the url in static format ( dvd-fdd- ... ok-64.html) or something about..

do you have a idea how I can do ? (if I can!)


You can do it if you take a look to Sitemaps code how URLs are transformed to SEO format a then make a PHP function for this purpose.