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

Ceon URI Mapping (SEO)

Locked

Views: 472,207

Results 2,601 to 2,620 of 2,913
This thread is locked. New replies are disabled.
26 Apr 2011, 9:05 AM
#2601
alarmy_e_pl avatar

alarmy_e_pl

New Zenner

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

Ceon URI Mapping (SEO)

Hi Conor and the rest of you guys. I hope you all had a great easter break well I engoyed mine of course.

But iven though I cleard my head through the easter break I still can't go over some problems with URi mapings. I've got the instalation write and data base is fine & configs in the backend are as it suppose to be. But something weird hapened with stock links generated by zenCart they look like this:

test.alarmy-e.pl/testindex.php?main_page=product_info&cPath=96&products_id=460

while they should be

test.alarmy-e.pl/index.php?main_page=product_info&cPath=96&products_id=460

why is "test" appended before "index.php" ? what did I do wrong(again:wacko:) this time let me ad that "test" is the name the katalog where my testing store is instaled.

Thanks for Your help
Jacob

26 Apr 2011, 9:47 AM
#2602
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)

Got It:bigups:

found my mistake! My configure.php(store side) in line's defining main catalog was:

define('DIR_WS_CATALOG', 'test/');
define('DIR_WS_HTTPS_CATALOG', 'test/');

but of course it should be:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

(have no idea why i put it in there:frusty:)

FINALY:clap: now it seems that everything is working as it suppose to

28 Apr 2011, 1:37 PM
#2603
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

I'm having same problem as:

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:

the code that is under

http://www.zen-cart.com/forum/showthread.php?t=91107&highlight=cPath+master+category

does not help the cPath is still appended have you any idea?

that code is :

/ first, try to get master category id
$category_query = "select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id and p.master_categories_id = p2c.categories_id";
// in case the master category is invalid, fall back on getting first product/category association instead
$category_query .= " union distinct
select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id limit 1";

(additions to original code in red)

But (I'm on 1.3.9) in functions_categories.php
I'v got:
$category_query = "select p.products_id, p.master_categories_id
from " . TABLE_PRODUCTS . " p
where p.products_id = '" . (int)$products_id . "'
limit 1";

So tell me how that "fix" is supose to help if "oryginaly" master_categories_id is taken from products table??

28 Apr 2011, 2:46 PM
#2604
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:

So tell me how that "fix" is supose to help if "oryginaly" master_categories_id is taken from products table??

Please search this thread for cPath and read my last few posts about such issues.

I'll have to make this into a FAQ!

All the best..

Conor
ceon

28 Apr 2011, 3:18 PM
#2605
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)

conor:

Hi,

Please search this thread for cPath and read my last few posts about such issues.

I'll have to make this into a FAQ!

All the best..

Conor
ceon
NODS IN AGREEMENT:yes:

waves to Conor

28 Apr 2011, 8:44 PM
#2606
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)

conor:

Please search this thread for cPath and read my last few posts about such issues.

:oops: SORRY I should have read those posts :frusty: sorry for spammig this thread and thenks for your patiens

28 Apr 2011, 11:58 PM
#2607
highlander avatar

highlander

Zen Follower

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

Re: Ceon URI Mapping (SEO)

IS there somewhere I can read up on the purpose and real world benefits of URI mapping, and what it will do for people like me? The " URI Mapping for Dummies version" would be best. :smile:

How does it improve search engine ranking?

29 Apr 2011, 1:48 AM
#2608
andrea_julien avatar

andrea_julien

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Can anyone help me out. I have had CEON Url installed on my site and it was working perfectly. For some reason, I get a 505 server error now, and when I remove the htaccess codes the site is back up. However none of the links are working that have the URl linking that was previously set up, due to the htaccess codes being removed.

I guess the main problem is why am I suddenly receiving a 505 server error with the htaccess codes, when I never had this problem before.

Thanks to anyone who can help.

29 Apr 2011, 1:54 AM
#2609
andrea_julien avatar

andrea_julien

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I have located the error. There was some mis coding on the htaccess file. Now I just need to find out how someone had access to change up the coding. Thanks everyone.

29 Apr 2011, 2:03 PM
#2610
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:

:oops: SORRY I should have read those posts :frusty: sorry for spammig this thread and thenks for your patiens

No, no problem.. I just didn't want to repost something and I do think I should make it a FAQ to make it easier for people.. searching a thread can be a bit of a pain sometimes, especially when it's as long as this one.

All the best..

Conor
ceon

29 Apr 2011, 2:08 PM
#2611
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

highlander:

IS there somewhere I can read up on the purpose and real world benefits of URI mapping, and what it will do for people like me? The " URI Mapping for Dummies version" would be best. :smile:

How does it improve search engine ranking?

The module was primarily written so that stores could be in control of their own URIs, so you could set up easy to remember and type addresses for customers, which can be used on advertising flyers etc. (e.g. yoursite.com/april-specials)

The fact that it uses real language in the URI instead of product IDs and other technical codes means that keywords can be part of the URI, which is where the SEO benefits come in.

As I said, the primary purpose was not SEO but a side effect of the way the module works is that it does indeed improve rankings. Many people have written to me to say their rankings jumped after installing the module and creating mappings while sites they didn't have the software installed on remained the same. So that's a nice side effect. Of course the strength of that side effect will differ for everyone and depend upon the words used in URIs, how appropriate they are for the page's content (the main focus of any SEO obviously).

All the best..

Conor
ceon

30 Apr 2011, 8:21 PM
#2612
ptowers49 avatar

ptowers49

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

Hi,

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
Regarding this post
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!!

I have found that CEON doe snot opertate with shared SSL!!
The solution was to get a dedicated IP address for the site and purchase a SSL cert

1 May 2011, 9:25 AM
#2613
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:

Regarding this post, 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!!

I have found that CEON doe snot opertate with shared SSL!!
The solution was to get a dedicated IP address for the site and purchase a SSL cert

Yes, that's exactly what my previous post(s) say.. a site with static URIs cannot use a shared SSL certificate as that changes the URIs, breaking them.

All the best...

Conor
ceon

2 May 2011, 1:44 AM
#2614
highlander avatar

highlander

Zen Follower

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

Re: Ceon URI Mapping (SEO)

Ick. That leaves me out too.

2 May 2011, 6:01 PM
#2615
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

For my knowledge base, what happen if use same URI name for multi products (because same type)?

Thanks!

2 May 2011, 6:12 PM
#2616
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)

hara:

For my knowledge base, what happen if use same URI name for multi products (because same type)?

Thanks!
Been discussed to death in this thread.. Short answer: it's a NO NO..

Make all your URIs for each product UNIQUE.. This module allows you PLENTY of flexibility to do this.. You can either make your product names unique so that auto-generate will create unique URI's or you can manually create URIs so that each product has it's own unique URI..

You might also consider creating a test store so you can see for yourself how the module behaves and apply what you learn to your live store..

2 May 2011, 10:07 PM
#2617
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Thank you DivaVocals.

My simple mind thinking use same ID for many products can create more chance for search hits.

5 May 2011, 10:53 AM
#2618
sidvizioso avatar

sidvizioso

New Zenner

Join Date:
Feb 2008
Location:
Roma Caput Mundi
Posts:
19
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

First of all thanks for this wonderful module!!

Now i've a question:
i'm using italian and english localization, all products and more information pages work fine but for example, the "main_page" url for reviews are not localized but only in italian

my situation example
IT -> shop.com/test-categoria/articolo-di-test/scrivi-una-recensione [this is ok]
EN -> shop.com/test-category/test-article/scrivi-una-recensione [this is not ok, muste be "shop.com/test-category/test-article/write-review"]

IT -> shop.com/test-categoria/articolo-di-test/dillo-ad-un-amico [this is ok]
EN -> shop.com/test-category/test-article/dillo-ad-un-amico [this is not ok, muste be "shop.com/test-category/test-article/tell-a-friend"]

I've edited "ceon_uri_mapping.php" in /admin/includes/languages/english/extra_definitions/ and /admin/includes/languages/italian/extra-definitions/ but i've seen in mysql table that in "uri" field all the uris are created only with IT localization "dillo-ad-un-amico" and "scrivi-una-recensione".

I hope there's a solution for this issue.

Thanks in advance and thanks again for this great module :)

5 May 2011, 11:21 AM
#2619
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

sidvizioso:

I hope there's a solution for this issue.

Thanks in advance and thanks again for this great module :)

Glad you like the software.

You are right, only the first define is used for all the languages.. In version 4 I'll make sure that each language's define has a different name so that each language can correctly use its own text for the write-a-review, tell-a-friend part of the URI.

In the meantime all you can really do is to manually change the URIs in the database. I'd suggest running an SQL search and replace to match the language ID and the page type and to replace the "scrivi-una-recensione" text with "write-review".

I'm aware that may not be easy, but at least it would be a good lesson in SQL (not much consolation I know).

Sorry about the bug.. strange that you are the first to notice as it's been there for years! :|

All the best..

Conor
ceon

5 May 2011, 2:05 PM
#2620
sidvizioso avatar

sidvizioso

New Zenner

Join Date:
Feb 2008
Location:
Roma Caput Mundi
Posts:
19
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Sorry about the bug.. strange that you are the first to notice as it's been there for years! :|

I do not know if it's because I need two different sitemaps localized or because i'm too meticulous in my work :P

however is there an eta for the v4?