Ceon URI Mapping 3.4.0 Released!
Hi,
It gives me great pleasure to announce the release of Ceon URI Mapping 3.4.0!
This is a fairly major update with some nice new functionality, like Canonical URIs and improved language handling for Zen Cart, as well as several important bug fixes and sample files for Zen Cart 1.3.9b.
ALL USERS MUST UPGRADE! Previous versions are no longer supported.
Upgrading should be easy enough, full instructions are included in the documentation.
There are new rewrite rule examples in the documentation... it is advised that all stores should update their rule to use the new format as shown in the example rules.
From the revision history:
[ADDED] Canonical URI support added! Any page with a static URI will now have a canonical URI tag added to the page's header. This will minimise “duplicate content” reports as it tells the search engines that multiple pages should be treated as one, without actually redirecting the visitor.
The canonical URI hint causes any parameters added to the URI to be ignored, thereby preventing duplicate content reports when Zen Cart adds its session ID (?zenid=xxx) to the URI or when paged, sorted or filtered results listings add their parameters (e.g. if a page had a ?sort=2a parameter) etc.
[ADDED] Module now tracks whether or not the user has just selected a different language. If so, then instead of simply appending “&language” to the end of the URI, the module will automatically redirect to the specific URI mapping for the page for the newly selected language.
[ADDED] If the URI uses a different language from the session, the session is switched to use the new language. This means that the page will display in the language that the URI is specifically defined for. I.e. if a site has a page in two different languages and each has a translated URI (E.g. /chairs and /chaises), the session language will correctly reflect the URI being displayed in the address bar. This greatly enhances the language handling of Zen Cart!
[ADDED] Support for mapping hard-coded links containing “index.php?main_page=” added. EZ-Page alternative URLs use this format so they are now remapped to the appropriate static URI mappings.
[ADDED] Improved support for IIS ISAPI rewrite module added. URI Mapping module tries to use the original URI the IIS ISAPI rewrite module provides.
[UPDATED] The “cPath” query string parameter is now removed from the URI if the current category is simply the product's master category, as the category path information can be regenerated when the static URI is loaded. Results in neater URIs, and less “duplication” of pages as seen by the search engines.
[UPDATED] main_page query string parameter is no longer part of the main check to see whether or not an attempt should be made to identify and map the URI as some forms using the GET method provide the main_page variable. Main check is now made against the name of the script being loaded (that it doesn't include index.php).
[BUGFIX] Generated links to manufacturers weren't using the URI mapping entered for the manufacturer because of incorrect pattern matching in the zen_href_link function as modified for this module.
[BUGFIX] Typo in code to look up current URI mappings for a product was breaking the product preview info admin page when it was accessed directly from the “Preview” icon in the Categories/Products admin section. All admin/includes/modules/*/preview_info.php files need updating!
[BUGFIX] The product_id query string parameter is no longer removed if it includes attribute information, so that the attributes can be correctly pre-selected when clicking on a product in the shopping cart.
[BUGFIX] Support for arrays (inc multidimensional arrays) in query string added using new Array Query Parameter function.
[UPDATED] Extraneous ampersand character could be left over in the URI when removing used query string parameters from the URI.
[UPDATED] Example rewrite rules updated to support up to 5 characters for file extensions, rather than 4. This fixes the problem of 404 error handling pages with .shtml file extensions being processed by the rewrite rule, which was then causing Zen Cart to run and record the URI that generated the 404 in Zen Cart's “Who's online” database. Paths to missing files on the server will no longer be processed by Zen Cart and so won't show up in the “Who's online” database.
[ADDED] Sample modified core files for Zen Cart 1.3.9a added.
[UPDATED] Improvements to the documentation to make a few things clearer and information easier to find.
What are you waiting for - download 3.4.0 now!
The module will also be available from the downloads area in a few days.
Enjoy!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
You Beauty!
how are you doing?? All good??!!
Re: Ceon URI Mapping (SEO)
Works great! Thank!!!!!!
:clap::clap::clap::clap::clap::clap::clap:
Re: Ceon URI Mapping (SEO)
Hi all!
I have a strange problem caused by URI mapping.
I have a php file located in the following path of my web site:
htdocs/AJAX/myscript.php
If I switch URI mapping off and type http://myURL.com/AJAX/myscript.php in to my browser address bar, the script executes correctly.
If I switch it on and do the same test, I get a 404 Not Found error.
I've narrowed it down to the following 2 lines in myscript.php:
Code:
chdir('../');
include('includes/application_top.php');
Can you tell me how I can get this to work with URI mapping enabled please?
Re: Ceon URI Mapping (SEO)
Hi Damian,
Quote:
Originally Posted by
damiantaylor
Can you tell me how I can get this to work with URI mapping enabled please?
All the information you need is in the section of the configuration documentation entitled "Ensuring 100% Compatibility with Third Party Zen Cart Modules - Specifying Individual Files to be Excluded from URI Mapping".
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Thanks Connor, that worked a treat :clap:
Re: Ceon URI Mapping (SEO)
Hey guys I'm having a problem. with the mod turned on my homepage is displaying page not found and i just cant figure it out. Anyone got any ideas?
http://www.sinfulorigins.com
:wacko:
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Sinful
Hey guys I'm having a problem. with the mod turned on my homepage is displaying page not found and i just cant figure it out. Anyone got any ideas?
http://www.sinfulorigins.com
:wacko:
Is this an adult website?? (FYI, if it is, you might wanna let people know that when posting the link..)
Re: Ceon URI Mapping (SEO)
I am getting the same problem as sinful. I get the Page Not Found screen when typing in the address www.pc-point.co.uk. It works fine if I type "www.pc-point.co.uk/index.php?main_page=index" instead. Also works fine if I disable URI mapping from Admin. I really need to leave it enabled as my products are listed on some price comparison websites, which link to my products using URI address.
I installed URI 3.4.0 when using 1.3.9b, but had to get my hosting company to do a full restore because of this problem, so I am now back down to 1.3.9a. Just installed URI 3.4.0 again on 1.3.9a, and still got the same problem.