Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 451,989

Results 2,041 to 2,060 of 2,454
6 Sep 2016, 3:17 PM
#2041
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Ceon URI Mapping v4.x

perfecto:

Hi, Conor!

I installed the modul on Zen Cart 1.5.0
And I have a problems:

When try to execute: Moduls/ Ceon URI mapping ( SEO ) config, the page stop working - I cannot to execute the command.
The front store is inaccessible.

Whan should I do to fix this problems?
Thanks

Sadly Conor passed away a few years ago. However his work is widely used and supported.
Do you have an error log?
Also, why are you using ZC 1.5.0? It's several years old now.

7 Sep 2016, 5:58 AM
#2042
perfecto avatar

perfecto

New Zenner

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

Re: Ceon URI Mapping v4.x

Hi and Thanks!

This is from log file:

[05-Sep-2016 21:07:11 Europe/Sofia] PHP Fatal error: require_once(): Failed opening required 'includes/classes/class.CeonURIMappingConfigUtility.php' (include_path='.:/usr/local/php5.3/lib/php') in /home/perfects/public_html/zc_admin/ceon_uri_mapping_config.php on line 26

I am using v1.5.0 because it's familiar to me and its seems too difficult to upgrade :)

7 Sep 2016, 7:54 AM
#2043
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

perfecto:

Hi and Thanks!

This is from log file:

[05-Sep-2016 21:07:11 Europe/Sofia] PHP Fatal error: require_once(): Failed opening required 'includes/classes/class.CeonURIMappingConfigUtility.php' (include_path='.:/usr/local/php5.3/lib/php') in /home/perfects/public_html/admin/ceon_uri_mapping_config.php on line 26

I am using v1.5.0 because it's familiar to me and its seems too difficult to upgrade :)
Looks like missing or having a problem accessing at least one file from the upload: admin/includes/classes/class.CeonURIMappingConfigUtility.php

Suggest verifying that all files were uploaded in their entirety, and that the access permissions are 644 or as directed by your host.

And now that it appears that you have posted your admin directory path, you should change it, which in your case on ZC 1.5.0, requires modification of the admin/includes/configure.php file paths and references to the admin directory (in ZC 1.5.1 and above the admin directory is auto-detected) and will also eventually need to modify the .htaccess file that is recommended by this plugin because it specifically suggests the admin directory and it's contents be excluded from uri rewriting.

7 Sep 2016, 1:32 PM
#2044
perfecto avatar

perfecto

New Zenner

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

Re: Ceon URI Mapping v4.x

One of the problem was the capital letters in classes names. Cerrected. But still have no access to the front store. Can you send me clean .htaccess file?

7 Sep 2016, 2:09 PM
#2045
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hello Perfecto the .htaccess files you have to create you as admin zencart modules Ceon uri

7 Sep 2016, 3:30 PM
#2046
perfecto avatar

perfecto

New Zenner

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

Re: Ceon URI Mapping v4.x

diamond1:

Hello Perfecto the .htaccess files you have to create you as admin zencart modules Ceon uri

Hello,
For some reason the Ceon modile, does not create .htaccess file.

7 Sep 2016, 3:33 PM
#2047
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

perfecto:

Hello,
For some reason the Ceon modile, does not create .htaccess file.
Could you please explain what you mean by it not creating an htaccess file?

The program generates what is expected to be in the .htaccess file, it doesn't actually create the file nor add to one if it already existed.

7 Sep 2016, 3:41 PM
#2048
perfecto avatar

perfecto

New Zenner

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

Re: Ceon URI Mapping v4.x

mc12345678:

Could you please explain what you mean by it not creating an htaccess file?

The program generates what is expected to be in the .htaccess file, it doesn't actually create the file nor add to one if it already existed.

In my htaccess file does not records from ceon. Nothing has changed. There is no one record by the module.

7 Sep 2016, 5:21 PM
#2049
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

perfecto:

In my htaccess file does not records from ceon. Nothing has changed. There is no one record by the module.

That's correct, it does not add or modify the .htaccess file. Doing so could be catastrophic to a website. In fact, because yours does not yet have the proper content, you should disable this plugin so that customers can continue navigating your site until it is properly setup and installed.

As to obtaining the content that to be added to your .htaccess file, as diamond1 was trying to identify. Please goto your modules menu, then Ceon URI Mapping (SEO) Config, then the installation check tab, then the installation check section, there is a link to click. After clicking that link, if the installation thus far is correct/successful, then towards the bottom should be a list of rewrite rules to incorporate into your .htaccess if you have one, or in the case of a fresh ZC install into a newly created file.

When incorporating into an existing file, care should be taken to be sure that sequencing is correct and that other things are not impacted. Once normal operation is verified, then enable this plugin and check that normal operation still works, then start adding your rewritten uris.

If doing this on a test server/setup (as recommended for all new installations of anything), then it is most helpful to be using a sub-domain that has the same sub-directory(ies) as your live site.

16 Sep 2016, 5:30 PM
#2050
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

I have used the fileset in the plugins 4.5.2 and merged my changes for PHP7.
Available now on Github for testing: https://github.com/torvista/CEON-URI-Mapping

17 Sep 2016, 12:33 PM
#2051
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Steve !!! You are a wizard Thank you owe an granita coffee. I confirm works with that Zen cart 1.5.4 1.5.5a

25 Sep 2016, 8:27 AM
#2052
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

Bugfix
When all site is SSL using these settings on config.php:
define('HTTP_SERVER', 'https://YOURSITE...
and
define('ENABLE_SSL', 'false'); yes, that DOES says false as per
https://www.zen-cart.com/showthread.php?220226-SSL-suggestion&p=1311391#post1311391

customer is unable to log in with Chrome (but Firefox yes). An issue with cookie setting/handling.

Merged changes in html_output.php ZC155 to make the relevant section identical (including formatting, for future comparisons).

Available in Github.
https://github.com/torvista/CEON-URI-Mapping

2 Oct 2016, 6:24 PM
#2053
aurelius avatar

aurelius

New Zenner

Join Date:
Sep 2005
Posts:
6
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

"Our URI Mappings Manager software has the ability to auto-generate URI mappings for all/selected Categories/Products/Manufacturers/EZ-Pages/Other Zen Cart Pages at once."

Without this auto-generate mapping script this plugin is useless for me and it was a waist of time to install the uri mapping seo plugin.
Although there is some chat about an auto-generate script what have to be implanted in an admin file ??
maybe somebody will explain how to get this autoscript to work

2 Oct 2016, 6:38 PM
#2054
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

aurelius:

"Our URI Mappings Manager software has the ability to auto-generate URI mappings for all/selected Categories/Products/Manufacturers/EZ-Pages/Other Zen Cart Pages at once."

Without this auto-generate mapping script this plugin is useless for me and it was a waist of time to install the uri mapping seo plugin.
Although there is some chat about an auto-generate script what have to be implanted in an admin file ??
maybe somebody will explain how to get this autoscript to work

I use this mod and it does automatically create the URI link. When you upload all the files and do all that it tells you to do in the read me, you go to admin/configuration and look down the list for the mod, set it to 1 to turn it on.

Then go to admin/modules and make sure you set things in there too. It will give you a "script" to then add to the top of your .htaccess file in the main directory of your server....public_html or what ever yours is called.

The only thing to remember is if you should change the name later on of the product then check the little box at the bottom of the product page before hitting the preview button or it will not change it.

10 Oct 2016, 11:32 AM
#2055
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

Multilanguage Stores using the hreflang tag.

Zen Cart 1.55a
in templates/YOUR_TEMPLATE/common/html_header.php
we have

<?php
  // BOF hreflang for multilingual sites
  if (!isset($lng) || (isset($lng) && !is_object($lng))) {
    $lng = new language;
  }
  reset($lng->catalog_languages);
  while (list($key, $value) = each($lng->catalog_languages)) {
    if ($value['id'] == $_SESSION['languages_id']) continue;
    echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . '&language=' . $key) . '" hreflang="' . $key . '" />' . "\n";
  }
  // EOF hreflang for multilingual sites
?>

In a vanilla ZC site there is always a parameter in the canonical url so the ADDITIONAL language parameter can be separated with a "&":
www.site.com/link?parameter&language=es

With CEON URI Mapping there is no parameter so the language tag should be separated with a "?" or you get 404 not found errors being reported in Webmaster Tools.
I made this change. Note this includes the bug change as reported here:
https://www.zen-cart.com/showthread.php?214746-Implementing-hreflang-in-a-multilanguage-store&p=1319742#post1319742

<?php  // BOF hreflang for multilingual sites
  if (!isset($lng) || (isset($lng) && !is_object($lng))) {
    $lng = new language;
  }
//steve bof CEON uri mapping
//CEON uri mapping produces a canonical link with no extra parameters: so no "?" after the url.
//To create the alternate urls for hreflang use, for all pages (apart from the home page), '&language=' is appended to the canonical url. This gets a page not found (in the Google Search Console) as the "&" needs to be a "?" as there are no other parameters.
//Since the $canonicalLink is already created, it needs to be checked for the presence of a "?". If so, ok, if not use the "?" instead of "&".
$url_parts = parse_url($canonicalLink);
$separator = ( isset($url_parts['query']) ?  "&" : "?" );
//eof
  reset($lng->catalog_languages);
  while (list($key, $value) = each($lng->catalog_languages)) {
    //if ($value['id'] == $_SESSION['languages_id']) continue;//steve a self-link is also required https://www.zen-cart.com/showthread.php?214746-Implementing-hreflang-in-a-multilanguage-store&p=1319742#post1319742
    //echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . '&language=' . $key) . '" hreflang="' . $key . '" />' . "\n";
    echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . $separator  . 'language=' . $key) . '" hreflang="' . $key . '" />' . "\n";//steve changed separator


  }
  // EOF hreflang for multilingual sites
 //steve eof CEON uri mapping
 ?>
31 Oct 2016, 5:07 AM
#2056
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi, I am really confused about getting my genres setup for uri mapping. Everything else went smoothly but I have no idea how to configure my zen cart to map the genres. I did a search in your forum for "genre" and there is nothing. I tried copying your sample tpl_music_genres_select to my template directory with no luck and now I'm out of things to try. Any advice is appreciated.

31 Oct 2016, 9:56 AM
#2057
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

mrcastle:

Hi, I am really confused about getting my genres setup for uri mapping. Everything else went smoothly but I have no idea how to configure my zen cart to map the genres. I did a search in your forum for "genre" and there is nothing. I tried copying your sample tpl_music_genres_select to my template directory with no luck and now I'm out of things to try. Any advice is appreciated.

Do you mean rewriting your categories?

31 Oct 2016, 3:12 PM
#2058
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi picandnix, I've setup all of my inventory and categories with no problems but the genres do not have this option. Go into a category, save it, and CEON shows that the re-write has been completed but you can't do this with genres. I'm trying to figure out if there's a way I can do a rewrite with something like this:

http://cheapsongbooks.com/index.php?main_page=index&typefilter=music_genre&music_genre_id=2

This is how the genre is currently shown for my jazz songbooks... I'd like to change it to something like: http://cheapsongbooks.com/jazz

I have 10 genres and am willing to change them manually if necessary.. only program is I'm not a programmer.

Thx

1 Nov 2016, 7:57 AM
#2059
adrian_cioc_rlan avatar

adrian_cioc_rlan

New Zenner

Join Date:
May 2016
Location:
Bucharest
Posts:
48
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Guys,

Can anyone help?

I have a problem when both CEON URI and Sitemap XML are enabled:

Sitemap XML returns "page not found" when I clik "Force rebuild all sitemap*.xml files! and Pinging Search Engine".
When I disable CEON URI, and do the task again it works, the confirmation page for rebuilding xml files and search engines ping shows up.

XML files seem to updated but no confirmation page is shown after, only page not found when CEON is ON.
This is how the link appears when the page not found shows up: (http://www.mydomain/sitemap-xml&rebuild=yes&ping=yes&)

Zen Cart V1.5.1,
Sitemap v3.6 26.04.2016 10:33:09
CEON URI - 4.5.1

Thank you!

3 Nov 2016, 6:33 PM
#2060
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I'm still hoping some one can help me with an answer on URI mapping for genres. I've posted this question once with no results. I've setup all of my inventory and categories with no problems but the genres do not have this option. Go into a category, save it, and CEON shows that the re-write has been completed but you can't do this with genres. As of today, my website is showing this designation for the jazz genre.

http://cheapsongbooks.com/index.php?...sic_genre_id=2

I'd like to change it to something like: http://cheapsongbooks.com..genre=jazz or something that might help get rankings using genre & jazz in the link. Is this possible ?

I have 10 genres and am willing to change them manually if necessary.. I'm not a programmer but I'm willing to give it shot.... thx