Quote Originally Posted by diamond1 View Post
Hi, I installed ceon 5.01 with zencart 1.5.6c everything works well except the canonical which remains so:
PHP Code:
<link rel="canonical" href="https://mydomaine:8890/index.php?main_page=index&cPath=12" /> 
I have also rewritten some urls in admin everything works the rewrite with is done, but the canonical always remains unwritten. I specify that I have no error files in the log folder.

I have this though when Ceon URI Mapping Installation Check

HTML Code:
A file has had a modification made to it, for an older version of Ceon URI Mapping, but this modification is no longer needed.

The path to the file is /Applications/MAMP/htdocs/myadomain/includes/extra_datafiles/ceon_uri_mapping_sessions_define.php

    Although the file had to be modified for a previous version of the module, this version works differently and the file is not modified for this version.

    Remove the modification from the file by editing the file and removing the block beginning with // BEGIN CEON URI MAPPING 1 of 1 and ending with // END CEON URI MAPPING 1 of 1 - including those two “marker comments”.
    Alternatively, if the file was modified only for Ceon URI Mapping and not for any other module, back up the file (e.g. copy it to your local computer) and replace it with a “fresh” version of the file from a “fresh” set of Zen Cart files.
Quote Originally Posted by diamond1 View Post
I forgot to tell you that in the bar of the browers the rewriting is done and only when I go to rivere the source code that I realize that the canonical is not rewritten.
So, you mean that when looking at category 12, the browser path has the rewritten uri, but the page source shows that the canonical path is unmodified from the Zen Cart version?

The final file to output the canonical information is: includes/templates/YOUR_TEMPLATE/common/html_header.php and may require modification depending on the template being used (template used is not described in the above posting). Otherwise it appears that there are three files potentially involved with generating the canonical link though the file from the installation check message may also play a part. Two of the files are provided by this plugin, the third is a core file that is used by the plugin and those two files.

The two files that should be present to support the canonical link generation are:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]includes/classes/observers/class.ceon_canonical.php
which is called by:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]includes/auto_loaders/config.ceon_canonical.php

That uses a notifier from the core file:
[/FONT][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]includes/init_includes/init_canonical.php

The first two files need to be verified to be present (most likely the config.ceon_canonical.php file is missing or not named to support loading) and/or there is either an override in includes/init_includes/overrides that prevents using the associated/necessary notifier or the file is possibly not up-to-date to the Zen Cart 1.5.5 version or better (based on notes in the observers file).[/FONT]
[/FONT]