Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,764

Results 1,261 to 1,280 of 5,058
8 Nov 2008, 1:17 AM
#1261
sweettraders avatar

sweettraders

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

I'm almost done with the migration from the dreaded miva to zencart shopping cart. I need to 301 redirect from the miva seo url http://www.mydomain.com/page/XY/CTGY/MyCategory to SSU http://www.mydomain.com/MyNewCategory. I tried ```
.
.
.
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]

EOF SSU

RewriteRule ^/page/XY/CTGY/MyCategory/$ /MyNewCategory [R=301,L]

and many other versions of the RewriteRule with my limited knowledge of regex, without success.

Since the original and new url do not pattern match well, I may need to create an rule for every category and product.

What am I missing in my rule or regex? Thanks.
8 Nov 2008, 4:00 AM
#1262
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

sweettraders:

I'm almost done with the migration from the dreaded miva to zencart shopping cart. I need to 301 redirect from the miva seo url http://www.mydomain.com/page/XY/CTGY/MyCategory to SSU http://www.mydomain.com/MyNewCategory. I tried ```
.
.
.
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]

EOF SSU

RewriteRule ^/page/XY/CTGY/MyCategory/$ /MyNewCategory [R=301,L]

> 
> Since the original and new url do not pattern match well, I may need to create an rule for every category and product.
> 
> What am I missing in my rule or regex? Thanks.
Try to puts your rewriterule right below the rewrite base and see if it works
RewriteRule ^page/XY/CTGY/(.*)$ CTGY/$1 [R=301,NC,L]
(Assuming CTGY is your zencart folder?)
8 Nov 2008, 5:37 PM
#1263
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Here is the he.php that should work for your version. However, I tested it on your site and it doesnt seem to replace the hebrew letters by english letters. You will have to ask xordox to look at your site and see if some letter is missing from the translit table.
Im not familiar with hebrew, so I really dont know which letter is which.

today I'll fly to Tel-Aviv. can help with hebrew in next 2 days.
btw Yellow, do you remember for 2.9.6. ru.php (and also he.php) have another structure of file that for 3.x.x?

8 Nov 2008, 6:51 PM
#1264
sweettraders avatar

sweettraders

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Thanks Yellow for the response. I did as you said, but my url keeps going to the "default" index page as if it is not touching .htaccess rewrite rule.

Worse now, since last night I've been getting a 500 internal server error on the admin/index.php. I reverted back to the original .htaccess, but the error persists. I cleared the browser cache, cache and sessions stored in the database, verify file and directory permission...still not working.

The server error logs inaccessible, since I'm on a share at godaddy,.

Any more help?

Thanks

8 Nov 2008, 9:13 PM
#1265
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

sweettraders:

Thanks Yellow for the response. I did as you said, but my url keeps going to the "default" index page as if it is not touching .htaccess rewrite rule.

Worse now, since last night I've been getting a 500 internal server error on the admin/index.php. I reverted back to the original .htaccess, but the error persists. I cleared the browser cache, cache and sessions stored in the database, verify file and directory permission...still not working.

The server error logs inaccessible, since I'm on a share at godaddy,.

Any more help?

Thanks
If you are on GoDaddy, please note that changes to .htaccess takes several hours to be in effect _

8 Nov 2008, 9:14 PM
#1266
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

xordox:

today I'll fly to Tel-Aviv. can help with hebrew in next 2 days.
btw Yellow, do you remember for 2.9.6. ru.php (and also he.php) have another structure of file that for 3.x.x?
Yes, which is why I made changes to the he.php xordox

8 Nov 2008, 9:15 PM
#1267
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

To all:
I'm spending most of my time now to develop an Ajax one page checkout for Zen, so my support here will be a little slow (probably your question will be answered within 24 hours)

Thanks for your understanding.

Regards

Raine

9 Nov 2008, 5:50 AM
#1268
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?

Thanks a bunch
:D

9 Nov 2008, 6:50 AM
#1269
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Here is the he.php that should work for your version. However, I tested it on your site and it doesnt seem to replace the hebrew letters by english letters. You will have to ask xordox to look at your site and see if some letter is missing from the translit table.
Im not familiar with hebrew, so I really dont know which letter is which.
**
TAHNK YOU BOTH
FOR ALL SUPPORT ! **

*no need to hebrew (still like now)

9 Nov 2008, 11:57 AM
#1270
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

ashton0603:

I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?

Thanks a bunch
:D

You installed a mod but don't know why?

:blink:

Take a look at the insall files that came with it and make sure you've actually turned the mod on (via admin).

9 Nov 2008, 4:48 PM
#1271
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

ashton0603:

I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?

Thanks a bunch
:D
Only in 3+, you will have to use link alias to specify the name you want to use in place of the page title.

10 Nov 2008, 7:05 AM
#1272
sonyat avatar

sonyat

New Zenner

Join Date:
May 2006
Posts:
83
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

This is what she gets in her admin panel when accessing the SEO mod.

Warning: call_user_func(zen_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in public_html/admin/includes/functions/general.php on line 1544

10 Nov 2008, 7:09 AM
#1273
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

SonyaT:

This is what she gets in her admin panel when accessing the SEO mod.

Warning: call_user_func(zen_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in public_html/admin/includes/functions/general.php on line 1544
Doesnt seem to be SSU function at all. Are you sure it is not some other module?

Regards

10 Nov 2008, 5:37 PM
#1274
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

To all:
I'm spending most of my time now to develop an Ajax one page checkout for Zen, so my support here will be a little slow (probably your question will be answered within 24 hours)

Thanks for your understanding.

Regards

Raine

Hi Yellow!
1.when we test it? :) if it will be one page checkout (you will use FEC of numix or you will write your own) it include google checkout?
2. what about future of SSU 3.x.x ? do you have roadmap? :):smile:

10 Nov 2008, 6:56 PM
#1275
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I(we) will write my own. I will actually reuse most of Zen core codes, so it should natively support anything that Zen supports.
I have no roadmap for it yet, I'm talking to some potential sponsors as this project will probably require much time and resources.
The project will probably be an open source commercial module (this is up to the sponsors to decide), much like EasyPopulate, with the free versions (old versions) being released to the public a few months later than official release. Again, there is discussion going on, and Im not 100% sure.

Regarding SSU, I will probably make 3.3.5 an official stable release if no bug is reported, then we will try to have an installer to make the whole installation process much easier in the next release. After that, probably we will try to make creating category/product name aliases an automatic process.

10 Nov 2008, 7:50 PM
#1276
sweettraders avatar

sweettraders

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

You may want to check your configure.php

http://wiki.rubikintegration.com/zencart/modules/ssu/installation

Dont forget the clear ssu cache after you fix the problem

I still get the extra / after the domain name. Triple checked the configure.php and clearing cashe. Any thoughts.

php version = 5
SSU version = beta 3.3.5

PS: Great work on the aliases! Love it! I'll monitor performance while adding about 100 aliases

10 Nov 2008, 7:51 PM
#1277
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

sweettraders:

I still get the extra / after the domain name. Triple checked the configure.php and clearing cashe. Any thoughts.

php version = 5
SSU version = beta 3.3.5

PS: Great work on the aliases! Love it! I'll monitor performance while adding about 100 aliases
I will double check that version on my test site again and let you know

Raine

10 Nov 2008, 8:02 PM
#1278
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Unzip, upload this file to includes/classes/ssu/cores
Then go to admin and clear cache.

Let me know if this solves the problem.

I will also look forward to the performance report when you use 100+ aliases.

11 Nov 2008, 5:15 AM
#1279
sweettraders avatar

sweettraders

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Unzip, upload this file to includes/classes/ssu/cores
Then go to admin and clear cache.

Let me know if this solves the problem.

I will also look forward to the performance report when you use 100+ aliases.

Thanks Raine,

The link.php did the trick. I'll keep you posted on the aliases performance.

12 Nov 2008, 1:06 AM
#1280
chris_rama avatar

chris_rama

New Zenner

Join Date:
Jun 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

sweettraders:

Thanks Raine,

The link.php did the trick. I'll keep you posted on the aliases performance.

Just want to confirm - I experienced same problem with an extra "/" and new link.php fixed that.

ssu ver.3.3.5
php ver.5.2.5