Zen Cart Logo
Forums / All Other Contributions/Addons / Chemo's Ultimate URL's

Chemo's Ultimate URL's

Views: 493,404

Results 661 to 680 of 1,407
29 Mar 2007, 1:38 PM
#661
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

Chemo's Ultimate URL's

Thanks Kelvyn! I tried a couple times to reach Josh via PM, but no reply. Most recent attempt was several days ago.> kelvyn:

Don't know where Dreamscape's gone, but until he returns, attached is a handy pack of all the fixes UP UNTIL 29_03_2007 for the 3.0.0.b1 release

29 Mar 2007, 10:33 PM
#662
jonisolis avatar

jonisolis

Zen Follower

Join Date:
Jan 2006
Location:
Kentwood, Louisiana, United States
Posts:
117
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

So does the Ultimate SEO work with Zen Cart EZ Pages? Do I need to add or change something to make it work with them? Zen Cart at: http://horse-logos.com

30 Mar 2007, 9:22 AM
#663
rupert avatar

rupert

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

jonisolis,
The new beta works just fine with them.
It might be you need to specify a chapter, but I seem to remember when I tried that it defauted to zero, so the above problem might be a local problem.

30 Mar 2007, 10:43 AM
#665
sophwise_com avatar

sophwise_com

New Zenner

Join Date:
Apr 2006
Location:
Sunny California
Posts:
44
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

The Beta 1 works fine with the EZ Pages, or at least I haven't had any problem with the EZ Pages. But that is because the core ez pages header and footer doesn't use the zen_ez_pages_link() function in /includes/functions/functions_ezpages.php.

I still wasn't able to figure out why the zen_ez_pages_link() function doesn't work, but the EZ Pages headers and footers do work without a problem.

The cart that is having the problem was built from the ground up starting with 1.3.7, and the only version of Chemo's I have used was this BETA 1 version of v3. So there isn't any left over rubbish from v2.

Strangely, EZ Pages SEO links don't even work if I try to generate them directly using zen_href_link(), but somehow, someway, they ARE working on the header and footer, and I am still at a loss for whats happening, having gone through both the footer code and the zen_ez_pages_link() function.

For now, I have many more important things I have to shift my focus to at this time, but will turn my attention back towards it when I get some more time.

Thanks Kelvyn for the cumulative update there, its a real time saver for everyone involved. I'll go through and patch things up and see if that affects anything.

30 Mar 2007, 9:54 PM
#666
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

I need help with rewrite condition/rule for all the old index product music type. The old version 2.103 was modified to support product music type but the beta version support product music type out of the box.

I'd like to rewrite this:

RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L]

Which generated some like this: http://www.clevershoppers.com/alive-in-south-africa-israel-amp-new-breed-pmi-180.html

To use the new rewrite function.

I tried the following code using the logic in the Guide but it doesn't work.

# Music Product Type Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]
30 Mar 2007, 11:32 PM
#667
dreamscape avatar

dreamscape

Totally Zenned

Join Date:
Nov 2003
Posts:
721
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

BlessIsaacola:

I tried the following code using the logic in the Guide but it doesn't work

If you put rules to send old 2.1 urls to reg. ZC urls to be rewritten as 3.x urls, make sure you put them before all other rules, including the 3.x rules. I went to your site and noticed that *-pmi-([0-9]+).html is being picked up by some other rule, which would explain why it is not working, because it isn't getting a chance to run. ;-)

If you have several rules to change 2.1 to 3.x, you'll have to play around with the order to get it right. For example the generic 2.1x to 3.x rule should be the last 2.1x to 3.x rule, but still come before the 3.x rule.

31 Mar 2007, 1:37 AM
#668
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

Dreamscape,

Can you please help me understand the logic because moving things around worked. This is my original .htaccess

RewriteEngine On
RewriteBase /

# From Ultimate Seo Urls version 2.1 to 3.X
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L,R=301]

# Music Product Type Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]

# EZ Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteRule ^page.html$ index\.php?main_page=page&%{QUERY_STRING} [L,R=301]

# Seo Urls version 3.x
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index\.php/$1 [L,QSA]

RewriteCond %{HTTP_HOST} . 
RewriteCond %{HTTP_HOST} !^www\.clevershoppers\.com [NC] 
RewriteRule (.*) http://www.clevershoppers.com/$1 [R=301,L]

This is my new .htaccess based on your input (which now works):

RewriteEngine On
RewriteBase /

# Music Product Type Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]

# From Ultimate Seo Urls version 2.1 to 3.X
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L,R=301]

# EZ Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteRule ^page.html$ index\.php?main_page=page&%{QUERY_STRING} [L,R=301]

# Seo Urls version 3.x
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index\.php/$1 [L,QSA]

RewriteCond %{HTTP_HOST} . 
RewriteCond %{HTTP_HOST} !^www\.clevershoppers\.com [NC] 
RewriteRule (.*) http://www.clevershoppers.com/$1 [R=301,L]

Why does moving the old music rewrite rule to the top worked? Do you see anything else I should modify in .htaccess that I might not be aware of? I am just interested in learning!

Thanks!

31 Mar 2007, 6:48 AM
#669
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

Dreamscape,

The error_log is filling up like crazy with:
[Sat Mar 31 01:43:14 2007] [debug] mod_rewrite.c(1644): [client 66.249.65.73] mod_rewrite's internal redirect status: 0/10.

I contacted our host and this is their response:

Hello,

This seems to be a coding error in your .htaccess file. You have to check this with the developer of the script. The entry that is causing the error is,

============================================
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php/$1 [L,QSA] ============================================

Please verify.

Any ideas?

Also what's the difference between

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index\.php/$1 [L,QSA] 
``` and

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?seo_url=$1&%{QUERY_STRING} [L]

31 Mar 2007, 8:53 AM
#670
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

Can some of you who are using this mod please check your apache error log and see if you're seeing any errors related to this mod? Our error log is filling up with errors after installing this mod.

Thanks!

2 Apr 2007, 4:18 AM
#671
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

yellow1912:

My bad _, I didnt see it. By the way, my Paypal Express url is rewritten as http://www.domain.com/ipn_main_handler.php.html?type=ec , any idea?

The problem still exist. This mod doesn't work well with Paypal Express Checkout if you have default extension set to .html. Setting default extension to / or blank works just fine.

There are actually two problems:

The mod is set to not use seo url for https but in this case the mod is adding .html to the url even though it should have skipped it. The url returned is *https://www.domain.com/ipn_main_handler.php.html?type=ec *instead of https://www.domain.com/ipn_main_handler.php?type=ec

If the mod would have obeyed the instruction to skip SSL pages this problem wouldn't happened in the first case.

Secondly, since .html is suppose to be a valid default extension this should work but it doesn't.

I will log this into the bug tracker.

2 Apr 2007, 4:32 AM
#672
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

This is probably a silly question. I've got a fresh install of 1.3.7 and want to install this mod. The first step is to modify application_top.php around line 355. It's only got 131 lines. I'm stuck on step one.

2 Apr 2007, 4:48 AM
#673
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

jeking:

This is probably a silly question. I've got a fresh install of 1.3.7 and want to install this mod. The first step is to modify application_top.php around line 355. It's only got 131 lines. I'm stuck on step one.

Are you sure you have the right version of this mod? Which version did you download?

2 Apr 2007, 4:51 AM
#674
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I thought so, it's ver 2.1 If there's a newer version, where can I find it?

2 Apr 2007, 4:56 AM
#675
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

jeking:

I thought so, it's ver 2.1 If there's a newer version, where can I find it?

Go to page 53 of this thread.

2 Apr 2007, 5:02 AM
#676
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

BlessIsaacola:

Go to page 53 of this thread.

Ah, got it, thanks. Does that contain all of the bug fixes mentioned on page 70?

2 Apr 2007, 5:06 AM
#677
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

jeking:

Ah, got it, thanks. Does that contain all of the bug fixes mentioned on page 70?

You can download the one on page 70 to grab all the fixes all incorporated. Make sure you pay attention to errors that have been reported but not fixed as well.

3 Apr 2007, 3:28 AM
#678
ghostcorps avatar

ghostcorps

Zen Follower

Join Date:
Aug 2004
Posts:
398
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Hi Guys

I have just finished installing this mod but it isn't working :(

I followed the guide.pdf to the letter, (and added the fixes from page 70) Ive tried both 3a & 3b in my .htaccess, as I am not sure if path_info is installed, its not showing up in server_info. But either way it wont work :(

Strange thing is, I only ran the install once, but I actually have 2 SEO links in my configuration menu. I don't know if that will break anything but I figure if just make sure the settings I want are the same in both menus I can ignore it.

Is there anything Ive neglected to mention?

thanks in advance

=^_^=

3 Apr 2007, 4:04 AM
#679
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

ghostcorps:

Hi Guys

I have just finished installing this mod but it isn't working :(

I followed the guide.pdf to the letter, (and added the fixes from page 70) Ive tried both 3a & 3b in my .htaccess, as I am not sure if path_info is installed, its not showing up in server_info. But either way it wont work :(

Strange thing is, I only ran the install once, but I actually have 2 SEO links in my configuration menu. I don't know if that will break anything but I figure if just make sure the settings I want are the same in both menus I can ignore it.

Is there anything Ive neglected to mention?

thanks in advance

=^_^=

What do you have enabled from the configuration setting on the admin side?

3 Apr 2007, 4:10 AM
#680
ghostcorps avatar

ghostcorps

Zen Follower

Join Date:
Aug 2004
Posts:
398
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Both entries have the following settings:

Seo Urls Status On 	 
301 Redirection Status On 	
Page Base -
Default Extensions .html 	
Url Plugins -
Character Plugins -