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

Chemo's Ultimate URL's

Views: 493,234

Results 161 to 180 of 1,407
04 Sep 2006, 20:12
#161
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Chemo's Ultimate URL's

Is it possible to remove the category ID in the link of categories? For example: remove -c-1.html from hardware-c-1.html
and remove -c-2_20 from software-strategy-c-2_20.html

05 Sep 2006, 01:40
#162
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

DrByte:

5:45 actually ... My alarm clock went off when you logged on ... somehow I knew you'd have questions :P

Hi DrByte, can you help me to solve the problem?

I've installed the Ultimate SEO for 1.3.5 and did everything by instruction, I can see that all links have changed but when I click them, it shows "page not found". I put the .htaccess file in the root of my zen-cart and edited /shop/ to /zen/ as my test site is on http://localhost/zen/. Did I do anything wrong?

Thank you very much for sovling the 1.3.5 upgrade issue.

Lenny

05 Sep 2006, 01:44
#163
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

does your server support mod_rewrite?

05 Sep 2006, 01:54
#164
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

DrByte:

does your server support mod_rewrite?

Thanks for your quick reply.How can I see if it support mod_rewrite? I'm just testing it in my local PC running XP Pro so I'm not sure whether it support that.

05 Sep 2006, 01:56
#165
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

mod_rewrite is an addon to apache

I wouldn't advise testing SEO mods on a local PC unless you understand how to configure a webserver.
To learn about configuring webserver services, you might try the forums at webhostingtalk.com

05 Sep 2006, 02:09
#166
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

DrByte:

mod_rewrite is an addon to apache

I wouldn't advise testing SEO mods on a local PC unless you understand how to configure a webserver.
To learn about configuring webserver services, you might try the forums at webhostingtalk.com

Thanks, I will do that.

BTW, if I upload the SEO directly to my online store and disable it if it doesn't work, will it affect my site speed or other mods? The only mods I have is time offset and easy populate.

05 Sep 2006, 13:05
#167
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

By the way, mod_rewrite only works on Apache servers.
It's not common to see Apache on Windows servers.

If you're running a Windows server, you will need to work with your host to find suggestions from them on how to come up with a mod_rewrite equivalent.
Or skip URL-rewriting altogether and just use Zen Cart naturally.

06 Sep 2006, 04:38
#168
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

DrByte:

By the way, mod_rewrite only works on Apache servers.
It's not common to see Apache on Windows servers.

If you're running a Windows server, you will need to work with your host to find suggestions from them on how to come up with a mod_rewrite equivalent.
Or skip URL-rewriting altogether and just use Zen Cart naturally.

Hi DrByte, thanks for your reply. I've asked my web hosting company and the only URL rewrite they support is Link Freeze. Please let me know if it will work with the Ultimate SEO. Thanks

10 Sep 2006, 23:03
#169
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I just configured zen cart and phpbb to work together, but when I click on forums I get this error:

The requested URL /forum/index.php.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I used the code to exclude paypal to try to get it to work:

// don't rewrite the forum notify url
if ($page == 'index.php') {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}

but it didn't work.

Although this mod did work when I added it to ezpages when installing the rss2 mod.

10 Sep 2006, 23:30
#171
lucianman avatar

lucianman

Zen Follower

Join Date:
Sep 2004
Posts:
245
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I am having a little problem with the mod, ultimate seo. I am getting an error code, 404 everytime i click on the lick of a product put in the shopping cart.

11 Sep 2006, 20:44
#173
hairydog avatar

hairydog

Zen Follower

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

Re: Chemo's Ultimate URL's

I have installed this and Chemo's excellent Google Sitemaps on an OsCommerce site and they work just fine together.

However, although SEO Ult URLs works just as well on a Zen Cart installation, the Zen Cart Google Sitemaps Admin is no good with it - that puts the horrid old SEO unfriendly URLs into the XML.

I've tried and failed to get the OsCommerce Google Sitemaps to install on Zen Cart (well, it was worth a try!). Is there a Chemo equivalent for Zen Cart that I've missed?

11 Sep 2006, 21:41
#174
blessisaacola avatar

blessisaacola

Totally Zenned

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

Re: Chemo's Ultimate URL's

hairydog:

I have installed this and Chemo's excellent Google Sitemaps on an OsCommerce site and they work just fine together.

However, although SEO Ult URLs works just as well on a Zen Cart installation, the Zen Cart Google Sitemaps Admin is no good with it - that puts the horrid old SEO unfriendly URLs into the XML.

I've tried and failed to get the OsCommerce Google Sitemaps to install on Zen Cart (well, it was worth a try!). Is there a Chemo equivalent for Zen Cart that I've missed?

Are you using the sitemap from Andrew which works flawlessly? You can get it here: http://zen-cart.spb.ru/index.php?main_page=page&id=15&chapter=0

11 Sep 2006, 23:08
#175
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

monkeymadness:

hello

i have this mod working on 1.3.02 which i'll explain how to do below...a few minor issues that i'm not sure are important

adds .html to every page so if you type in yourdomain.com/contact_us it'll take you to the custom page not found but if you type yourdomain.com/contact_us.html you'll get there

doesnt like ez pages

to get the page not found to appear instead of the home page try the setting in admin > config >my store > missing page check > page not found
it may be too simple to be the answer but its all i can think of seeing as it works for me

to get ultimate seo to work on 1.3.2 go to dreamscapes site

http://www.dream-scape.com/pub/zencart/Ultimate_SEO_URLs/

download the mod and upload the files

go to installation on the dreamscape site

ignore the 2 instruction of changing application_top.php

instead go to the directory /includes/init_includes
edit the file init_templates.php

look for the location where a line which says:

include_once(DIR_WS_LANGUAGES . *$_SESSION['language'] . '.php');

insert following lines immediate after this location:

// line added for SEO v2.100

require_once(DIR_WS_CLASSES . 'seo.url.php');

if (!is_object($seo_urls)) {
$seo_urls = &new SEO_URL($_SESSION['languages_id']);
}

// end of line addition to SEO v2.100

then go back to dreamscapes site and follow the instructions 3-8

dont forget to add the paypal fix to seo.url.php


The problem: the paypal payment mod is using zen_href_link to construct the notify url. We need to tell the SEO mod to skip modifying this url.

The solution: In the class file seo.url.php we just have to add a check for ipn_main_handler.php

Find the function function href_link()

The very beginning of the function has code like:

Code:
// don't rewrite when disabled
// don't rewrite images, css, js, xml, real html files, etc
if ( ($this->attributes['SEO_ENABLED'] == 'false') || (preg_match('/(.+).(html?|xml|css|js|png|jpe?g|gif|bmp|tiff?|ico|gz|zip|rar)$/i', $page)) ) {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}

Immediately after that, add the following:

Code:
// don't rewrite the paypal IPN notify url
if ($page == 'ipn_main_handler.php') {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}


and remember to compare and merge the html_output.php if your using imagehandler2

thats all i did...thanks to zenhorocks who worked it out in another achived thread somewhere out there

hope it helps....if anyone knows how of get rid of the .html it would be much appreciated as it doesnt seem right

good luck :smile:

I attempted to use these instructions to install Ultimate SEO URLs on my site http://www.oldwestgames.com
I followed the instructions. I am now however getting a blank page when I go to the home address of my site as listed above and there is no configuration in the zen cart admin for this mod.
I think one problem may be that my realtive path to my catalog in my .htacces file might be wrong or I might be putting the .htaccess file code in the wrong directory. Can anyone tell me what that path might be and the appropriate directory for the .htaccess file is? I would hate to uninstall this mod and then have to go back and keep trying to reinstall.
Help, please, ASAP. thanks
Sam

zen cart version 1.3.5
no other mods

11 Sep 2006, 23:17
#176
hairydog avatar

hairydog

Zen Follower

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

Re: Chemo's Ultimate URL's

BlessIsaacola:

Are you using the sitemap from Andrew which works flawlessly? You can get it here: http://zen-cart.spb.ru/index.php?main_page=page&id=15&chapter=0
That's the one I'm using, but it doesn't work flawlessly for me. It doesn't put the SEO friendly URLs into the XML.

11 Sep 2006, 23:46
#177
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

mafiasam:

I attempted to use these instructions to install Ultimate SEO URLs on my site http://www.oldwestgames.com
I followed the instructions. I am now however getting a blank page when I go to the home address of my site as listed above and there is no configuration in the zen cart admin for this mod.
I think one problem may be that my realtive path to my catalog in my .htacces file might be wrong or I might be putting the .htaccess file code in the wrong directory. Can anyone tell me what that path might be and the appropriate directory for the .htaccess file is? I would hate to uninstall this mod and then have to go back and keep trying to reinstall.
Help, please, ASAP. thanks
Sam

zen cart version 1.3.5
no other mods

okay, so I actually got it to return an error message at the home page now...

1146 Table 'mafiasam_zc.seo_cache' doesn't exist
in:
[DELETE FROM seo_cache WHERE cache_expires <= '2006-09-11 18:43:55']

can anyone give me an idea what this means?

thanks

12 Sep 2006, 00:33
#178
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

1146 Table 'mafiasam_zc.seo_cache' doesn't exist
in:
[DELETE FROM seo_cache WHERE cache_expires <= '2006-09-11 18:43:55']

okay I was told by a support person at opensourcehost (my hosting company) that I need to upload a sql file through myphpadmin in order to get this working but I have not found the sql file anywhere on this forum or in any of the downloads for this contribution. I am now able to get to the Configuration> SEO URLs in zencart admin but I don't want to mess with any of the settings if I don't have to and doing a cache reset only gives me the same error message obviously.

12 Sep 2006, 02:12
#179
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

mafiasam:

1146 Table 'mafiasam_zc.seo_cache' doesn't exist
in:
[DELETE FROM seo_cache WHERE cache_expires <= '2006-09-11 18:43:55']

okay I was told by a support person at opensourcehost (my hosting company) that I need to upload a sql file through myphpadmin in order to get this working but I have not found the sql file anywhere on this forum or in any of the downloads for this contribution. I am now able to get to the Configuration> SEO URLs in zencart admin but I don't want to mess with any of the settings if I don't have to and doing a cache reset only gives me the same error message obviously.

Got it!

For anyone else who got this problem please be advised that you must rename the TABLE_SEO_CACHE in your mysql database to seo_cache

This was not mentioned anywhere in any of the installation instructions and it took me forever to find a solution because of the length of these threads...

To rename a table using phpmyadmin see this...

http://www.theadminzone.com/forums/showthread.php?t=1729

sorry for all the threads as I worked out my problem but I figure seeing how I worked it out might help others with the same problems....

12 Sep 2006, 02:40
#180
blessisaacola avatar

blessisaacola

Totally Zenned

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

Re: Chemo's Ultimate URL's

hairydog:

That's the one I'm using, but it doesn't work flawlessly for me. It doesn't put the SEO friendly URLs into the XML.

Is you store in the root directory or sub-directory?