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

Chemo's Ultimate URL's

Views: 493,418

Results 1,121 to 1,140 of 1,407
10 Sep 2007, 10:19 AM
#1121
verde_coffee_mark avatar

verde_coffee_mark

New Zenner

Join Date:
Sep 2007
Posts:
3
Plugin Contributions:
0

Chemo's Ultimate URL's

Hi everyone,
Have been reading through this thread but haven't come across an answer to my question. Sorry if i've missed it but there's a lot to read! :shocking:

I've upgraded to the latest seo urls with the 5 patches (i hope) posted a couple
of pages back and have managed to get it working, including the EZ-pages which previously weren't working!! :clap:
The only problem i have at the moment is the home link gives 404 page not found but if you type in index.html you get the home page.http://www.verdecoffee.com/zencart/

These are the options i'm running:-

JD Productions: News & Article Manager: Archive, JD Productions: News & Article Manager: Article, JD Productions: News & Article Manager: Article: Comments, JD Productions: News & Article Manager: Index, JD Productions: News & Article Manager: RSS Feed, Core: Advanced Search, Core: Advanced Search: Result, Core: Category, Core: EZ Pages, Core: Manufacturer, Core: Product, Core: Product: Image, Core: Product: Reviews, Core: Product: Reviews: Info, Core: Product: Reviews: Write, Core: Default, Core: Default Skips

on zencart Zen Cart 1.3.7 with seo urls 3.0.0 beta1

.htaccess file is:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /zencart/

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]

And not forgetting a big well done and thank you to everyone :clap:, this is the only time i've not been able to find a solution in these forums and i've almost got my site ready to set live.

10 Sep 2007, 6:23 PM
#1122
blessisaacola avatar

blessisaacola

Totally Zenned

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

Re: Chemo's Ultimate URL's

Okay, I am ready to uninstall this again as it doesn't support apostrophe in product name when performing a search. I tried disabling seo for advanced_search and advanced_search_result but it doesn't work.

Any ideas?

Thanks!

11 Sep 2007, 1:50 AM
#1123
baltzar avatar

baltzar

New Zenner

Join Date:
Jul 2007
Posts:
25
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

in "seo.char_plugins.php" line 170 shouldnt i be like that?

	function isMbStringSupported() {
		if (function_exists('mb_convert_encoding')) {
			//old version: if (in_array($this->mbEncodings, strtoupper(CHARSET))) {
			if (in_array(strtoupper(CHARSET), $this->mbEncodings)) {
				return true;
			}
		}
		return false;
	}

I am very new to PHP so sorry if im outa line here.
i had "Warning: in_array(): Wrong datatype for second argument... on line 170 ..."

Thanks for the plugin :smile:

11 Sep 2007, 8:32 AM
#1124
tokio avatar

tokio

New Zenner

Join Date:
Sep 2007
Posts:
3
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I've just installed 3.0.0.
I have a problem to display our national characters like 'č,ž,ě,í,á,ň' and so on in urls - Latin Accents & Ligatures. There is a fine described in PDF's manual but there's no defined in file (latin_acc_lig.php). :(

I'd like to structure my urls like this - shop/hardware/mice/IntelliMouse.html
Is it possible with chemo's 3.0.0 ?

Thanks.

TOkio

12 Sep 2007, 8:46 AM
#1125
verde_coffee_mark avatar

verde_coffee_mark

New Zenner

Join Date:
Sep 2007
Posts:
3
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Managed to sort my problem with the index page not displaying but all other pages working. (on the last page). :D

added this line to the .htaccess file before the seo rules:-

RewriteRule ^$ /zencart/index.html [L]

so my .htaccess file now reads:-

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /zencart/

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]

RewriteRule ^$ /zencart/index.html [L]

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]

Just in case anyone else has the same problem.

13 Sep 2007, 12:45 AM
#1126
craigw avatar

craigw

New Zenner

Join Date:
Aug 2007
Posts:
36
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Here is my experience:

2.105 - installed fine, everthing works, I get SEO URLs for all categories, products & info pages. All cart, search, email work fine. Only problems: Currencies sidebox - "index.php" is stripped from the URL. I can handle old URLs for Currencies, but not broken ones. News & Articles have old URLs.

3.0.0 Beta 1(with or without patches) - cannot access any categories, products etc. URL I ended up with is e.g. "www.mydomain.com?cPath=29" & "www.mydomain.com?products_id=82". And for info pages I get "www.mydomain.com" for all.

At the moment I'm going to go back to 2.105 as I can't see what I have done wrong with the 3.0.0 install. I will need to find a fix for Currencies side box URLs, that's critical. Would be nice to also fix News & Artcles URLs as well.

14 Sep 2007, 1:32 PM
#1127
johneemac avatar

johneemac

New Zenner

Join Date:
Sep 2006
Posts:
65
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I seem to be having problems logging in.

It takes a few attempts. could SEO URL be the problem? I noticed on my stats that people have been viewing multiple pages but not signing up which made me look into it.

The site is https://www.houseofmulben.com/farmShop

The login is john [AT] mediasurgery [DOT CO ] DOT UK

drowssap: yamaha

Maybe not a good idea to post details like above but its coded a little im sure you can work it out..

Thanks if anyone can help.

14 Sep 2007, 6:19 PM
#1128
blessisaacola avatar

blessisaacola

Totally Zenned

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

Re: Chemo's Ultimate URL's

If anyone figures out the attribute or search problem where it doesn't allow apostrophe please post here. Until then, I am ditching this mod for good.

14 Sep 2007, 7:25 PM
#1129
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Chemo's Ultimate URL's

JohneeMac - Your problem is to do with the inclusion of a ZenId in the redirection URL once you login. When you login, if the URL includes the zenid, you receive the "welcome guest" greeting. https://www.houseofmulben.com/farmShop/?zenid=xxxxxxxxxxxxx

If you remove the zenid, you login perfectly. What are your recreate session settings in the admin?

Absolute

15 Sep 2007, 12:18 PM
#1130
johneemac avatar

johneemac

New Zenner

Join Date:
Sep 2006
Posts:
65
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Absolute:

JohneeMac - Your problem is to do with the inclusion of a ZenId in the redirection URL once you login. When you login, if the URL includes the zenid, you receive the "welcome guest" greeting. https://www.houseofmulben.com/farmShop/?zenid=xxxxxxxxxxxxx

If you remove the zenid, you login perfectly. What are your recreate session settings in the admin?

Absolute

Thanks for the reply.

I found this: http://www.zen-cart.com/forum/showthread.php?t=73495

Then i added this

php_value session.use_trans_sid 0
php_value register_globals 1

To htaccess and now everything is working 100%

Many Thanks.

17 Sep 2007, 10:19 PM
#1131
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Hi Isaacola

I purchase this SEO URL I told you abut, https://www.magic-seo-url.com for abut 2 weeks with my limited knowledge I was able to put my site down few time ( demo store)

Finally I email the owner of that program and he offer me to install it, less then 5 minute it was all done , and wow it is cool it look perfect you can check it out on my web site just add the /storedemo

I got a question in regard to this , when I will install it on my live store , I do have many links ( the old version) from other publication and all over, will it not make Google see it as duplicate links?
There is anything I should be careful before I install it on my live store?

Thank you

19 Sep 2007, 3:53 PM
#1132
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Step 3
Open the file Zen Cart Installation/includes/functions/html_output.php
24
Seo Urls for Zen Cart: Complete Guide
Step 4
Remove the zen_href_link function that was installed from version 2.1.x.
Step 5
If you have the original zen_href_link function still in the file but renamed to something
else, such as original_zen_href_link, rename it back to zen_href_link.
If you don’t still have the original function, you may get it from the standard Zen Cart distribution.
Copy and paste it into your file.

I am at the above steps in the Upgrade from 2.1 process. This is the code that is in my file:

//// IMAGINADW.COM
// Ultimate SEO URLs v2.100
// The HTML href link wrapper function
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {

	/* QUICK AND DIRTY WAY TO DISABLE REDIRECTS ON PAGES WHEN SEO_URLS_ONLY_IN is enabled IMAGINADW.COM */
	$sefu = explode(",", ereg_replace( ' +', '', SEO_URLS_ONLY_IN ));
	if((SEO_URLS_ONLY_IN!="") && !in_array($page,$sefu)) {
		return original_zen_href_link($page, $parameters, $connection, $add_session_id, $search_engine_safe, $static, $use_dir_ws_catalog);
	}
	
	if (!isset($GLOBALS['seo_urls']) && !is_object($GLOBALS['seo_urls'])) {
		include_once(DIR_WS_CLASSES . 'seo.url.php');

		$GLOBALS['seo_urls'] = &new SEO_URL($_SESSION['languages_id']);
	}

	return $GLOBALS['seo_urls']->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);

Do I remove all of it or just the "function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {" ?

Thanks! Amy

19 Sep 2007, 3:55 PM
#1133
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

For the above post, can I just replace the file completely with the file from a new install?
Amy

20 Sep 2007, 12:48 AM
#1134
flashback avatar

flashback

New Zenner

Join Date:
Sep 2007
Posts:
41
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

For some reason when I activate the ULTIMATE SEO URLS I get an error on some of the links that appear on my "Shopping Cart" sidebox for some reason when I click them from there they go to the index page instead the product page, it doesnt happen with all of the products just with some,something that I noticed is that the links that are different on the "Shopping Cart" box are the ones with the problems for example:

The Linking:

It won't work with the following URL on the "Shopping Cart" box:
/index.php?main_page=product_info&products_id=5:540 7046bc1400d78c5501f2679e5dd77

It will work if I click the same product from the "New Products" section but the link looks different:

/index.php?main_page=product_info&products_id=5

On another item that is on the shopping cart box that have the URL:

/index.php?main_page=product_info&products_id=3

the problem wont happen there, I guess it has something to do with the URL.

Of course if I turn off SEO URLS everything start working perferct again.

My Zen Cart is the 1.37.1

Heeelp please :)

Thanks

20 Sep 2007, 1:49 PM
#1135
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Chemo's Ultimate URL's

Doodlebuckets - you need to rename the original function "zen_href_link" to "original_zen_href_link".

You can then add the new zen_href_link as a replacement, and everythnig should then just tick along as it was designed to.

Flashback - can you provide a URL to your store? None of the links you provided are SEO URLs, which possible means that you have missed a point in the setup process. If you can post a link, we can take a look.

Absolute

20 Sep 2007, 3:48 PM
#1136
karadawn avatar

karadawn

New Zenner

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

Re: Chemo's Ultimate URL's

I'm having the exact same problem. It's not that it's "just some pages", but rather it's RANDOM pages. Sometimes it goes to the right link, sometimes it just redirects back to the home page. This has been going on for sometime now, and I'm sick of it. I'm assuming it has something to do with this particular mod too. My store is: http://www.soy-wax-candles.com/store/

.htaccess file is in the /store folder and looks like this:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /store/

From Ultimate SEO URLs

RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]

For Open Operations Info Manager

RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.
)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

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

There's also another .htacess file in the public_html folder that doesn't have rewrite rules for the shopping cart, but it does for other things. I also seem to have one in the root that seems to have everything. Could this be what's causing the problem?

20 Sep 2007, 5:32 PM
#1137
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Chemo's Ultimate URL's

Karadawn - Could you post a link which is broken? Bare with me here - is the same link always affected, or does it work occasionally, and not others?

Absolute

20 Sep 2007, 6:36 PM
#1138
flashback avatar

flashback

New Zenner

Join Date:
Sep 2007
Posts:
41
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

My URL is

esell2go.com

thanks

20 Sep 2007, 10:03 PM
#1139
pete3006 avatar

pete3006

New Zenner

Join Date:
Sep 2007
Posts:
14
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Hi all,

Just installed the ZEN cart for a customer, but I have got a problem with this contrib.

I installed the latest version of the Zen cart as well as the latest version I could find for the Ultimate URL's contrib.

The problem I have is, that when I turn the contrib on in the admin seciton, and the test it in the shop section the status bar in the bottom of the browser goes all the way to the end, but then the page hangs, meaning it does not go any further, and the product I clicked on does not show up, the staus bar just keeps on being at the end without going any further.

Any help with this would be greatly appreciated.

Thanks

21 Sep 2007, 8:13 AM
#1140
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Chemo's Ultimate URL's

FlashBack - you need to complete the installation in order to solve your problem. There is one part which you appear to have missed, and without checking your code, this is an educated guess.

In the includes/functions/html_output.php file, find the zen_href_link function, and rename it to original_zen_href_link. You then need to copy the new function from the install guide, or the packaged files, depending on your download version.

This will then ensure that the actual links are created as SEO links, rather than standard links which are redirecting when they are clicked.

Pete3006 - any chance of a URL?

Absolute