Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,207

Results 2,581 to 2,600 of 2,913
This thread is locked. New replies are disabled.
14 Apr 2011, 11:40 AM
#2581
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Ceon URI Mapping (SEO)

Hi,

damiantaylor:

Has anyone else ever noticed this one?

Sorry, there's no logical reason for that to happen and it's not been reported by anyone else. I can't explain it but doubt it's anything to do with the module.

All the best...

Conor
ceon

14 Apr 2011, 12:15 PM
#2582
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

damiantaylor:

Hi all!
I have ntoiced a slight problem with the cPath extension appended to the end of the mapped URIs.

I have a product that has a master category of 100.
If I link that product to another category with a higher number (say 120), everything still works as expected.....

When I visit the product page under the master category on my website, the URI has no cPath extension.
When I visit the product page under the linked category on my website, the URI does have the cPath extension. Nothing wrong here.

If I now link the product to a category with a LOWER number (say 80), I have a problem.....

When I visit the product page under the master category on my website, the URI now has a cPath extension.
When I visit the product page under the new linked category (category 80) on my website, the URI does not have the cPath extension.

It's as though URI mapping is taking the lowest category number rather than the master category number as the main category for the product.
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!

Has anyone else ever noticed this one?

conor:

Hi,

Sorry, there's no logical reason for that to happen and it's not been reported by anyone else. I can't explain it but doubt it's anything to do with the module.

All the best...

Conor
ceon

This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!

On top of that Conor doesn't support older versions of this module any longer. If you have question and need support you need to upgrade your version of Ceon URI Mapping to the latest version.

14 Apr 2011, 5:27 PM
#2583
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

damiantaylor:

It's as though URI mapping is taking the lowest category number rather than the master category number as the main category for the product.
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!

Which version of Zen Cart are you using? There was a bug in versions prior to ZC v1.3.9 that might cause what you are seeing.

Regards,
Christian.

14 Apr 2011, 8:08 PM
#2584
igor avatar

igor

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

Yep.. too bad this forum doesn't have this feature..:wink:

:oops:What can I say? Thanks a lot. :smile: I discovered this feature just half an hour ago. That's why I deicided to come back and was sure there definitely will be someone whom I have to say thanks.

14 Apr 2011, 8:29 PM
#2585
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

Igor_:

:oops:What can I say? Thanks a lot. :smile: I discovered this feature just half an hour ago. That's why I deicided to come back and was sure there definitely will be someone whom I have to say thanks.Rockin'! :cool:

15 Apr 2011, 7:38 AM
#2586
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Christian, I'm on 1.3.8a so it looks like this may be my bug!
Do you know if there is a fix for it?

Thanks!
Damian

CJPinder:

Which version of Zen Cart are you using? There was a bug in versions prior to ZC v1.3.9 that might cause what you are seeing.

Regards,
Christian.

15 Apr 2011, 7:55 AM
#2587
enzo_ita avatar

enzo_ita

Zen Follower

Join Date:
Jul 2009
Posts:
402
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi,
I did a search but I am not sure if I what I found answers my question/problem.
I have Ceon working perfectly also with ezpages on a single language site.
Now I am creating a new site which will be bilingual.
Ezpages cna not be created as standard in two languages so I found the mod that do that.
I installed it and it overwrote the ceon ezpages module so the thick this box desappeared.
Returned to the original ceon core file and no problembut no miltilanguage function.
I tryed to mix up the two ezpage files, adding the mods present in the ceon one to the one for multilanguage, but it did not work.
Is it possible to have ezpages with multilanguage function and ceon uri alltogether?
Thanks
enzo

15 Apr 2011, 10:28 AM
#2588
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi enzo,

enzo-ita:

Is it possible to have ezpages with multilanguage function and ceon uri alltogether?

Yes, but it requires custom coding to merge the URI Mapping modifications with the Mutli-lang modifications for the EZ-pages.

I'm afraid there's no support for this as standard with the module.

All the best..

Conor
ceon

20 Apr 2011, 11:40 AM
#2589
alarmy_e_pl avatar

alarmy_e_pl

New Zenner

Join Date:
Apr 2011
Location:
Poland - Opole
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor & you all :wink:

I'm having problems with this mod in the db (ceon_uri_mappings table) I can see that it generates mapings for cat/prod I edited. But on the website links are still zenCart standard plus standard links are not working I get 404 erorr :frusty:

I'm on 1.3.9h and I'v used 1.3.9d for merging (WinMerge) with my store files (ImageHandler v2.0 , ZenLightBox v1.6.2 , EasyPopulate_v1.2.5.6 & include_and_exclude_tax_in_prices_nettgross_1-23a adds instaled before)

.htaccess file is as folows

Options +FollowSymLinks

RewriteEngine On

ONLY rewrite URIs beginning with /test/

RewriteCond %{REQUEST_URI} ^/test/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/test/MyAdminFolder [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/test/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* /test/index.php?%{QUERY_STRING} [L]


appreciate any help :cry:
Jacob

20 Apr 2011, 11:42 AM
#2590
alarmy_e_pl avatar

alarmy_e_pl

New Zenner

Join Date:
Apr 2011
Location:
Poland - Opole
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

20 Apr 2011, 11:58 AM
#2591
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi Jacob,

alarmy-e.pl:

ONLY rewrite URIs beginning with /test/

RewriteCond %{REQUEST_URI} ^/test/ [NC]

You CAN'T use a test folder for a URI Mapped site.. as soon as you move from /test to / all of your URIs will be broken.

You should set up a test site using a subdomain only, **never **a folder on the main site.

alarmy-e.pl:

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* /test/index.php?%{QUERY_STRING} [L]

This is wrong, if the .htaccess file is /.htaccess then the slash at the start breaks it (/test/index.php should be test/index.php). If the .htaccess file is /test/.htaccess then you should have index.php (not /test/ or test/).

As for why your links are using old Zen Cart links, that's a common problem.. you forgot to modify includes/functions/html_output.php

All the best..

Conor
ceon

20 Apr 2011, 12:39 PM
#2592
alarmy_e_pl avatar

alarmy_e_pl

New Zenner

Join Date:
Apr 2011
Location:
Poland - Opole
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

thanks Conor for your reply

But it did not help. I moved test store to a sub domain as you said now it's under http://test.alarmy-e.pl chacked includes/functions/html_output.php and WinMerge claims it's identical to file downloaded with Ceon URi also changed .htaccess to


Options +FollowSymLinks

RewriteEngine On

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/moscicki [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]


I wonder shoulden't there be a an optnion to turn URi of in the config admin section?

Thanks again:smile:
Jacob

20 Apr 2011, 5:43 PM
#2593
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

alarmy-e.pl:

But it did not help. I moved test store to a sub domain as you said now it's under http://test.alarmy-e.pl

That's good, best way to work! :)

alarmy-e.pl:

chacked includes/functions/html_output.php and WinMerge claims it's identical to file downloaded with Ceon URi also changed .htaccess to

alarmy-e.pl:

I wonder shoulden't there be a an optnion to turn URi of in the config admin section?

Yes, if that's not there it won't work.

Send me FTP and admin details and I'll take a look.

All the best..

Conor
ceon

21 Apr 2011, 3:52 PM
#2594
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Just thought I'd come back and let you know I've found a fix to the problem I was having where the cPath extension was incorrectly appended to the end of the URIs.

As Conor said, it is nothing to do with the URI mapping module, it's a problem in the zen_get_product_path function.

The code to fix is here:
http://www.zen-cart.com/forum/showthread.php?t=91107&highlight=cPath+master+category

Hope this helps!

21 Apr 2011, 4:20 PM
#2595
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

damiantaylor:

Just thought I'd come back and let you know I've found a fix to the problem I was having where the cPath extension was incorrectly appended to the end of the URIs.

As Conor said, it is nothing to do with the URI mapping module, it's a problem in the zen_get_product_path function.

The code to fix is here:
http://www.zen-cart.com/forum/showthread.php?t=91107&highlight=cPath+master+category

Hope this helps!

Yes, thanks that was interesting.. a silly Zen Cart bug, surprised it's only fixed in 1.4.0 and not in 1.3.9.. at least we know what to say if anyone else has the same problem!

All the best..

Conor
ceon

22 Apr 2011, 9:57 AM
#2596
ptowers49 avatar

ptowers49

New Zenner

Join Date:
Aug 2009
Location:
UK
Posts:
71
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi there

I am just testing a build for 1.3.9h before migrating some sites.
The url is http://www.klasicke-kristalove-lustry.cz/
Unfortunately when you login from the home page then it returns a 404 error!!. This does not happen when I turn off the CEON url rewrite!!

Any idea what the problem is?

This is the htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} ^klasicke-kristalove-lustry.cz [NC]

RewriteRule ^(.*)$ http://www.klasicke-kristalove-lustry.cz/$1 [L,R=301]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/piperoom [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

many thanks
Paul

24 Apr 2011, 1:30 PM
#2597
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

ptowers49:

Unfortunately when you login from the home page then it returns a 404 error!!. This does not happen when I turn off the CEON url rewrite!!

Have you enabled SSL for the store?

If so then the domains for the store in includes/configure.php must be identical (except for https instead of http).

Enjoy the rest of the Easter break!

All the best...

Conor
ceon

25 Apr 2011, 7:16 AM
#2598
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I notice something that might be considered a bug in the category and product related mapping.

When I enter a custom mapping for a category, the products under that category don't make use of the custom category mapping, instead auto generating the default category mapping as part of the auto generated product mapping.

Would it be possible to modify the code to fix this? I would imagine that anyone who is creating a custom category mapping would want it to be used when auto generating the mapping for any products in the category.

25 Apr 2011, 12:22 PM
#2599
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

fakeDecoy:

I notice something that might be considered a bug in the category and product related mapping..

That's not a bug, no, it's just the way the module has been designed to work. Every man and his dog has their own idea about what format their URI Mapping should take and we had to settle on a default style for the module. Of course, since the module lets you enter mappings manually you are free to use whatever format suits you.

I do totally understand where you are coming from and "URI mapping templates" would be the kind of thing you'd need the software to do. It can't do that as yet.

However, a kludgey but effective solution for you would be to temporarily rename the master category for the products you want to use a custom URI mapping to a name that autogenerates the category "part" that you want, go through and generate your product mappings for that category, then rename the category back to it's original name.

That should make things easier for you.

Another alternative is a SQL search and replace but a description of how to do that is a bit beyond the scope of this thread.

All the best...

Conor
ceon

25 Apr 2011, 12:45 PM
#2600
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

fakeDecoy:

I notice something that might be considered a bug in the category and product related mapping.

When I enter a custom mapping for a category, the products under that category don't make use of the custom category mapping, instead auto generating the default category mapping as part of the auto generated product mapping.

Would it be possible to modify the code to fix this? I would imagine that anyone who is creating a custom category mapping would want it to be used when auto generating the mapping for any products in the category.

conor:

Hi,

That's not a bug, no, it's just the way the module has been designed to work. Every man and his dog has their own idea about what format their URI Mapping should take and we had to settle on a default style for the module. Of course, since the module lets you enter mappings manually you are free to use whatever format suits you.

I do totally understand where you are coming from and "URI mapping templates" would be the kind of thing you'd need the software to do. It can't do that as yet.

However, a kludgey but effective solution for you would be to temporarily rename the master category for the products you want to use a custom URI mapping to a name that autogenerates the category "part" that you want, go through and generate your product mappings for that category, then rename the category back to it's original name.

That should make things easier for you.

Another alternative is a SQL search and replace but a description of how to do that is a bit beyond the scope of this thread.

All the best...

Conor
ceon

Donations, Donations all I have to say. I can not emphasize enough when you donate to a project things get added sooner or later if needed. :yes: