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

Ceon URI Mapping (SEO)

Locked

Views: 472,348

Results 1,441 to 1,460 of 2,913
This thread is locked. New replies are disabled.
17 May 2010, 4:01 PM
#1441
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Hi Conor, thanks Ill have another look. Im downloading the error logs in the cache folder to see if I can shed some light.

Cheers,

Scott.

17 May 2010, 4:05 PM
#1442
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Ok.. where's thats "blush" icon..? :blush:

Simple path error in my admin config file.

Sorry to bother you mate, I must say though, your add-on looks REALLY cool and a donation is on the way. :wink:

17 May 2010, 4:18 PM
#1443
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Scott,

Scott_C:

Ok.. where's thats "blush" icon..? :blush:

lol.. never quite looked at/knew what that smiley icon was before but how appropriate! :)

Scott_C:

Simple path error in my admin config file.

Thought it would be something to do with a missing file/inability to load a file. Should have mentioned before that it might have been an incorrect FS_ADMIN setting but that's so rare.. glad you're sorted now anyway!

All the best...

Conor
ceon

17 May 2010, 5:24 PM
#1444
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Wooops! :blush:

I started a new thread a moment ago when I should have just posted here.... sorry!

Anyway, I am trying to figure out if adding Ceon URI input to Easy Populate imports is possible?

Can database fields for Ceon URI can be added so that Easy Populate can control CeonURI?

For instance, Easy Populate provides a field to make products active or inactive:
v_products_status = 0, 1, or 9

I know that there are methods for adding fields to Easy Pop. I would like to do this with Ceon URI. For instance (what I'd like to do):
v_ceonURI_status = 0 (ceonURI is off)
v_ceonURI_status = 1 (ceonURI is on, automatically assigns SEO url)
v_ceonURI_status = 9 (ceonURI is on, references a manually created url)

And, of course, if v_ceonURI_status = 9, then I would use a different field to add my own URL:
v_ceonURI_manualURL = TEXT FIELD (input would be something like this --- https://www.MYSTORE.com/product_key_words_here.html)

One extremely cool use for this is to prevent "down time" caused by SE reindexing since I am migrating a site to Zen from CRE. My CRE site uses an SEO url mod and has already achieved spectacular google ranking. Adding the above fields to Easy Pop would allow me to keep all the same old url's when I migrate!

Anyway, can this be done?

If so, what are the fields I can add to Easy Pop to control ceonURI?

Any thoughts would be greatly appreciated!

18 May 2010, 7:28 AM
#1445
alan145 avatar

alan145

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

Hi Alan,

Oh dear. That's a bug in the auto-upgrade script. It is running the auto-upgrade code for versions 3.2.0-3.2.2 when you are upgrading from 3.2.4!
ceon
Hello Conor,
Thank you so much for your help, and now it run OK on my site, and I also upgrade to 3.4.3, but I found some other problems,

  1. the banner add function in admin is disappeared, I use the compare tool to keep my original code, the follow is the banner code of categories,
           //TODO insert banner1
     if ($_POST['categories_banner1_manual'] != '') {
       // add image manually
       $categories_banner1_name = $_POST['img_dir_banner1'] . $_POST['categories_banner1_manual'];
       $db->Execute("update " . TABLE_CATEGORIES . "
                     set categories_banner_1_img = '" . $categories_image_name . "'
                     where categories_id = '" . (int)$categories_id . "'");
     } else {
       if ($categories_image = new upload('banner1_image')) {
         $categories_image->set_destination(DIR_FS_CATALOG_IMAGES . $_POST['img_dir_banner1']);
         if ($categories_image->parse() && $categories_image->save()) {
           $categories_banner1_name = $_POST['img_dir_banner1'] . $categories_image->filename;
         }
         if ($categories_image->filename != 'none' && $categories_image->filename != '' && $_POST['image_delete'] != 1) {
           // save filename when not set to none and not blank
           $db->Execute("update " . TABLE_CATEGORIES . "
                         set categories_banner_1_img = '" . $categories_banner1_name . "'
                         where categories_id = '" . (int)$categories_id . "'");
         } else {
           // remove filename when set to none and not blank
           if ($categories_image->filename != '' || $_POST['image_delete'] == 1) {
             $db->Execute("update " . TABLE_CATEGORIES . "
                           set categories_banner_1_img = ''
                           where categories_id = '" . (int)$categories_id . "'");
           }
         }
       }
     }
     //TODO insert banner2
     if ($_POST['categories_banner2_manual'] != '') {
       // add image manually
       $categories_banner2_name = $_POST['img_dir_banner2'] . $_POST['categories_banner2_manual'];
       $db->Execute("update " . TABLE_CATEGORIES . "
                     set categories_banner_2_img = '" . $categories_image_name . "'
                     where categories_id = '" . (int)$categories_id . "'");
     } else {
       if ($categories_image = new upload('banner2_image')) {
         $categories_image->set_destination(DIR_FS_CATALOG_IMAGES . $_POST['img_dir_banner2']);
         if ($categories_image->parse() && $categories_image->save()) {
           $categories_banner2_name = $_POST['img_dir_banner2'] . $categories_image->filename;
         }
         if ($categories_image->filename != 'none' && $categories_image->filename != '' && $_POST['image_delete'] != 1) {
           // save filename when not set to none and not blank
           $db->Execute("update " . TABLE_CATEGORIES . "
                         set categories_banner_2_img = '" . $categories_banner2_name . "'
                         where categories_id = '" . (int)$categories_id . "'");
         } else {
           // remove filename when set to none and not blank
           if ($categories_image->filename != '' || $_POST['image_delete'] == 1) {
             $db->Execute("update " . TABLE_CATEGORIES . "
                           set categories_banner_2_img = ''
                           where categories_id = '" . (int)$categories_id . "'");
           }
         }
       }
     }
     //TODO
  1. further checking, and I found the ?cPath= still added at the end of the page of new arrival, I am confused about that, you can see the problem here http://www.jewellet.com/index.php?main_page=products_new&productsort=5
    and I found the relative code is ```
    ?>
<li> <div><ul><li class="relative"> <?php if($list_box_contents[$row]['products_quantity'] == 0) { ?> <span class="sold_out_b"></span> <?php } ?> <?php echo $list_box_contents[$row]['product_is_sale_item'].'<a href="' . zen_href_link(zen_get_info_page($list_box_contents[$row]['products_id']), 'cPath=' .zen_get_generated_category_path_rev($_GET['cPath']). '&products_id=' . $list_box_contents[$row]['products_id']) . '" class="ih" >' . zen_image_OLD(DIR_WS_IMAGES .substr_replace($list_box_contents[$row]['products_image'],'l/',0,2), $list_box_contents[$row]['products_name'], 228, 228, 'class=""') . '</a>'?> </li> <p> ``` Could you help me for the possible cause, Thanks so much! Alan
18 May 2010, 9:31 AM
#1446
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Alan,

alan145:

  1. the banner add function in admin is disappeared, I use the compare tool to keep my original code, the follow is the banner code of categories,

Sorry I don't know anything about that and can't see anything in your code. Hopefully someone else here can help you with that.

alan145:

  1. further checking, and I found the ?cPath= still added at the end of the page of new arrival

This code is custom code on your site. It is NOT part of the standard Zen Cart installation.

This code is messing up and generating a cPath variable when a category isn't being displayed (and so a cPath isn't needed). URI Mapping can't read minds so it doesn't know what the cPath is doing there so it leaves in it in case it's needed (using the "better safe than sorry" approach).

What you need to do is modify the code you posted and remove the part:

'cPath=' .zen_get_generated_category_path_rev($_GET['cPath'])

As this is custom code on your site please don't post a followup about this other than to say if it worked or not, as it wouldn't be of use or interest to anyone else on this thread.

Thanks.

All the best...

Conor
ceon

18 May 2010, 4:41 PM
#1447
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi everyone, I've successfully installed the Ceon mod and just have one thing thats not working; any manufacturer chosen from the dropdown menu is not displaying by the manufacturers name.

It actually just drops this part of the url string; 'index.php' . So what was;

index.php?main_page=index&manufacturers_id=2
before

is now;

?main_page=index&manufacturers_id=2

This is not a complaint, just wondering what i might've done wrong? I followed the instructions and "resaved" each manufacturer in the manufacturers list.

Everything else is working great, just need to go through and resve all the products tomorrow.

An example can be seen here; http://www.crushcosmetics.com.au - simply choose a manufacturer from the right-hand dropdown list.

Cheers!

Scott. :cool:

18 May 2010, 6:30 PM
#1448
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Scott,

Scott_C:

Any manufacturer chosen from the dropdown menu is not displaying by the manufacturers name.

Unfortunately the way Zen Cart builds the manufacturers sidebox, it actually links to the index page, so the module maps to the root of the store (in your case '/'). It provides the parameters which make the manufacturers "page" a "page" in hidden form variables passed via a GET. It's therefore impossible for the module to tell the difference between this link and a normal link to the home page..

However, I have made the code smart enough that it outputs a canonical URI for any index page which has a manufacturers_id so that /?main_page=index&manufacturers_id=2 is seen as the same page as /index.php?main_page=index&manufacturers_id=2

I was thinking that instead of having a canonical URI built I could force a redirect to the mapped URI for the manufacturer, but this would mean a double redirect every single time a filter form was submitted or a manufacturer chosen from the manufacturer sidebox.

I think making the canonical URI /index.php?main_page=index&manufacturers_id=2 is a mistake though, I should have made it so that that is the canonical URI only when no specific URI mapping exists (basically an extra SQL lookup would be required but would guarantee the uniqueness of the URI in canonical terms - I should have added this lookup).

Now I'm thinking that maybe a double URI redirect might be the most practical "fix" for this to keep things looking nicer for the customer (even though it would make NO difference at search engine level or in technological terms).

If you look at your site, the links to further pages do use the "expected" mapping: /barry-m, as do the links to the manufacturer from a product page. It's only the two forms which "build" the dynamic URI by "linking" to the index page and adding parameters that have the dynamic-looking URI.

So what do you all think? Would you rather have some code to fix the behaviour of the sidebox and filters or just have a double redirect everytime a form is submitted with the manufacturers_id parameter?

(Obviously for our own site we decided we'd rather "fix" the Zen Cart sidebox and filter forms so that they could work with URI mapping modules rather than have a double redirect everytime but I've a feeling that might be too much hassle for most people rather than simply using a completely automated double redirect.)

All the best...

Conor
ceon

18 May 2010, 10:14 PM
#1449
tiresmokindad avatar

tiresmokindad

New Zenner

Join Date:
May 2010
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

I can get in just fine.. (both from home and my VERY restrictive work internet access) Conor could not be banned from his own site.. Perhaps you are seo company blocked from the site from your internet connection.. Any message you get to indicate such would seem to point to an issue with your internet access..

ya I quess that makes more sense duh LOL

19 May 2010, 3:01 AM
#1450
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

So what do you all think? Would you rather have some code to fix the behaviour of the sidebox and filters or just have a double redirect everytime a form is submitted with the manufacturers_id parameter?

(Obviously for our own site we decided we'd rather "fix" the Zen Cart sidebox and filter forms so that they could work with URI mapping modules rather than have a double redirect everytime but I've a feeling that might be too much hassle for most people rather than simply using a completely automated double redirect.)

Hi Conor, thanks for taking the time to explain the situation. i think it would be beneficial to have the dropdown 'fixed'. Particularly for sites (like us) that do a promotion on one brand at any given time. E.g; https://www.sports.com/Nike

I for one would probably prefer the code you used on your site (if you dont mind) rather than having form do the double-submit.

BTW, making a donation today AND I ENCOURAGE ALL OTHERS TO DO THE SAME. This add-on is enourmously beneficial.

Kind Regards,

Scott.

19 May 2010, 9:21 AM
#1451
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Ditto.. i made my donation yesterday too! top work fella!!

Scott_C:

BTW, making a donation today AND I ENCOURAGE ALL OTHERS TO DO THE SAME. This add-on is enourmously beneficial.

Also people should donate to the ZC project too! For all the support they give and regular updates!

19 May 2010, 1:28 PM
#1452
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Shane78:

Also people should donate to the ZC project too! For all the support they give and regular updates!

Done that a couple of times. :cool: And I will continue to do so. :smile:

19 May 2010, 10:50 PM
#1453
rectangle avatar

rectangle

New Zenner

Join Date:
Jul 2005
Location:
Australia
Posts:
21
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor. Thanks for all your great work. You probably know by now but 1.3.9c is out and it looks like 7 or so files have changed... again

20 May 2010, 8:14 AM
#1454
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

rectangle:

Hi Conor. Thanks for all your great work. You probably know by now but 1.3.9c is out and it looks like 7 or so files have changed... again

Yes, isn't that great? :|

I'm working on a new version now.. I'll be adding in some new files to create a "nicer", URI compatible manufacturers sidebox and filter forms as well.

All the best..

Conor
ceon

20 May 2010, 8:21 AM
#1455
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Scott,

How are you?

Scott_C:

i think it would be beneficial to have the dropdown 'fixed'. Particularly for sites (like us) that do a promotion on one brand at any given time. E.g; www.sports.com/Nike

I didn't have packageable code written but I came up with a new version of the sidebox yesterday and am just about to add support for modifying the filter forms. I'm also searching the whole Zen Cart codebase to find any other links which link to the homepage without providing the necessary query string parameters, with a view to making them "Static URI compatible" as well.

I'll release a new version of the software once I've got all of that done and documented as well as having new core overrides created for 1.3.9c.

All the best..

Conor
ceon

20 May 2010, 8:25 AM
#1456
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor, Im well thanks. I look forward to your sidebox modification, you're a legend! :wink:

All the best,

Scott.

20 May 2010, 12:21 PM
#1457
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

for those interested..

i have (after lots of swearing) got a 139b site upgraded to a 139c site, complete with the latest CEON URI add-on installed.

all seems to be working with no problems... tried on 3 test sites and one live site

if anyone wants these files i have packaged them into a folder with the correct directory structure. It only contains the 139c files changed from 139b files with Conor's code and is a simple matter of FTPing to the folder where your store is.

let me know and i will ZIP up and post here.. If Conor doesn't mind of course?....

20 May 2010, 4:03 PM
#1458
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello all,

I installed Ceon URI Mapping on my ZC1.3.9c site and all is working well.

But my home page http://www.mysite.com has a blue C in the address bar, and hovering over it reveals this popup text:

"Go to the canonical page at http://www.mysite.com"

Other pages within my site have the grey C, indicating that the canonical page is already loaded.

I don't know if this has anything to do with Ceon URI Mapping, but does anyone know how I can get the main page http://www.mysite.com to be recognized as the canonical page?

20 May 2010, 4:06 PM
#1459
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

?...

do you have a link for us to see?..

what browser did you use too?

paul3648:

Hello all,

I installed Ceon URI Mapping on my ZC1.3.9c site and all is working well.

But my home page http://www.mysite.com has a blue C in the address bar, and hovering over it reveals this popup text:

"Go to the canonical page at http://www.mysite.com"

Other pages within my site have the grey C, indicating that the canonical page is already loaded.

I don't know if this has anything to do with Ceon URI Mapping, but does anyone know how I can get the main page http://www.mysite.com to be recognized as the canonical page?

20 May 2010, 4:21 PM
#1460
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Shane78:

?...

do you have a link for us to see?..

what browser did you use too?

http://www.teafromtaiwan.com

Firefox 3.6.3

I don't see any reference to canonical links in IE8