-
Ceon URI Mapping (SEO)
DOWNLOAD HERE: http://www.zen-cart.com/index.php?ma...oducts_id=1269
Hi,
It gives us great pleasure to release a new Zen Cart module - one which we feel many of you will find very useful!
Ceon URI Mapping (SEO)
Full information about the new module is available on our website in a more accessible format: module info/features.
I've tried to reproduce the feature list (in as readable a format as possible with this forum's software) below:
Improves your Rankings in Search Engines by using Static URIs!
- Implementing a major part of all SEO (Search Engine Optimisation) practices, this module lets you specify static, keyword-based URIs to be used instead of dynamic, ID-based URIs.
For example - for a product - instead of dynamic URIs like this:
http://yourstore.com/index.php?main_page=product_info&cPath=3&products_id=5
A static address, full of keywords, could be specified for the product:
http://yourstore.com/books/life_is_good
100% Compatibility with Zen Cart
- Installing the module won't break any of the functionality of Zen Cart.
- The module works using Zen Cart's Initsystem so it doesn't interfere with any of its workings. Zen Cart pages have no idea the module is even running, the run-time environment appears exactly as if the module wasn't installed.
- This should mean that the module will work perfectly with most (and most likely all) other Zen Cart modules.
Easy-to-use Admin Integration for Categories, Products and EZ-Pages
- Specifying custom URI mappings for Categories, Products and EZ-Pages is quick and easy.. just browse to the appropriate Category/Product/EZ-Page in the admin and enter the URI to be used in the text fields added by the module, or tick the “auto-generate” check box, if auto-generation is enabled!
- Change or remove existing URI mappings in the same easy manner!
URI Mapping Auto-generation
- The module comes with very powerful, flexible and easy-to-use URI mapping auto-generation functionality.
- If auto-generation is used to create a URI mapping for a Product, Category or EZ-Page it automatically capitalises the Product/Category Name or EZ-Page title according to your preferred settings, replaces any whitespace with your preferred character, removes selected words and replaces particular characters/strings as specified in the configuration utility.
Full Multi-language Support - including Transliteration and UTF-8!
- The module is fully multilingual - every Product, Category or EZ-Page can have a URI mapping for each language supported by the store!
- This means that the site will probably feature much higher in search engine listings specific to the various languages the store supports!
- The module also has full support for transliteration! When using the URI mapping auto-generation functionality it transliterates the names/titles from any language into plain ASCII, the format used by URIs.
- Transliteration support means that characters outside of the standard character set allowed in URIs won't just be stripped from the URI, leaving words with letters missing. For example, “á” is replaced with “a”, “ß” is replaced with “ss” etc.
- The transliteration support extends to supporting the UTF-8 character set, so Japanese, Chinese characters etc. are all handled easily!
Organise EZ-Pages into Site Sections
- By putting a bit of thought into the format of URI mappings for EZ-Pages, it is possible to organise them into logical sections.
- EZ-Pages no longer have to appear as being “root” pages of the site!
- For example, a “Company” section could be created with 4 EZ-Pages using URI mappings such as the following:
/company
/company/about_us
/company/about_us/endorsements
/company/how_to_find_us
Ability to use Static URIs for any Zen Cart page
- Static URIs can be used for any Zen Cart page by directly entering the URIs to map from and to in the database table for the module.
- The Zen Cart pages being mapped to can have their GET variables initialised so it appears as if the full dynamic URL had been used. For example:
http://yourstore.com/surveys/shipping - Could map to a custom survey page, with the necessary ID for the survey to be shown:
http://yourstore.com/index.php?main_page=survey&survey_id=2 - Please note: There is no admin interface for entering these URI mappings in this module, they have to be entered manually (using software such as PHPMyAdmin).
Ability to use Static URIs as an Alias for any other Static URI
- The module can be used to redirect from one static URI to another.
- This allows the store to handle visits to broken/old links.
- It also allows the store to increase the number of keywords being used to link to a page on the site through the creation of an alternative link/alias.
- Please note: There is no admin interface for entering these URI mappings in this module, they have to be entered manually (using software such as PHPMyAdmin).
Transparently Handles URIs With or Without a Slash (/) at the End
- The module sees URIs with a slash at the end as identical to those without one. For example, the following are equivalent:
http://yourstore.com/books/life_is_good
http://yourstore.com/books/life_is_good/
Respects Context of Link to a Category page
- The module retains Zen Cart's category history when linking to a subcategory of another category, so the full path back through any parent categories is available. (Without this feature all categories being mapped to by a URI mapping would appear as if their only parent category was the root of the store).
Support for all of Zen Cart's Standard Product Types (and more)!
- The module has full support for the standard 5 product types in Zen Cart plus the product_book type (version 4 from the Zen Cart download area).
Automatic Usage of any URI mappings Defined for Categories, Products or EZ-Pages
- The module modifies the main zen_href_link function slightly to make automatic use of any URI mappings defined for a category, product or EZ-Page.
- Having each page link to each other using their static URIs increases the usage of keywords on the site, further helping SEO!
Download the module now!
We hope you like this new module. Obviously we're biased, but it's something we think every Zen Cart store should have! :)
It should also be available from the downloads area in a few days.
As with our other modules, feedback would be appreciated. It takes a lot of work to write something like this!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Just stumbled upon this new mod. Is this another SEO Url mod? Your name of the mod confused me a bit.
Could you elaborate on what is different compared to Ultimate SEO and Simple SEO?
Thank you.
-
Re: Ceon URI Mapping (SEO)
Hi,
Thanks for your interest in our software!
Quote:
Originally Posted by
mydanilo
Is this another SEO Url mod?
Yes.
Quote:
Originally Posted by
mydanilo
Could you elaborate on what is different compared to Ultimate SEO and Simple SEO?
I'm afraid that I haven't used those mods so I can't give an exact comparison. I've encountered Ultimate SEO when working on other people's sites and I don't like the way it adds product IDs and category IDs to the URIs it generates.
Our (Ceon's) SEO module is called "URI Mappings" because it allows you to map whatever URI you want to a particular product/category/EZ-Page.
The URIs aren't generated "live" like Ultimate SEO, they have to be generated or specified in the Admin. This is easily done though.
The main advantages of Ceon's URI Mapping module is that you get clean URIs and that you can use whatever URIs you want.
This is good news for anyone who wants to advertise URIs anywhere as they don't have to have "random-looking" formats (with IDs etc.) which results in URIs that look so much more professional and are much easier for people to read and/or remember.
Also, anyone moving from an old site that already has specific URIs for their products etc. can keep using the olds ones and everything will still work perfectly.
A good read of the feature list should show you the other advantages of the module.
I hope that helps!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Very nice!!! Always good to have choices. You can do the same thing with Simple Seo Url through link-alias though.
-
Re: Ceon URI Mapping (SEO)
Thank you for explaining. Seems an alternative if somebody just wants the mapping and no automatic url rewrite.
Otherwise, SSEO from yellow would be at hand.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
mydanilo
Thank you for explaining. Seems an alternative if somebody just wants the mapping and no automatic url rewrite.
It features "auto-generation" so it's ideally placed for new stores.. by default a full URI will be auto-generated for a new product/category/EZ-page.
It will also be auto-generated if you are editing a product/category/EZ-page which doesn't yet have a URI mapping.
Instead of generating a URI when the customer looks at a product/category/EZ-Page, the store admin user(s) create the URI when adding/editing products/categories/EZ-pages...
so it is automatic, but in a "different" way. :)
Quote:
Originally Posted by
mydanilo
Otherwise, SSEO from yellow would be at hand.
I just took a look at the website for that module and its code and it seems to be a good module also.. however it adds product IDs etc. by default which I find ugly. The new alias feature is great but that didn't exist when I wrote this module and it requires more work for the admin user(s) than the auto-generation features of this new module (for products/categories and EZ-pages but not for other pages, it's easier for them!).
As yellow says, it does no harm to have a choice! (Thanks for the nice comment yellow1912) :)
Hope that makes things clearer still!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Yup, thanks to this zencart users no longer have to buy commercial seo module any more.
For current SSU users: new version of SSU will come with a nice link alias table using jquery grid as well as the fully automatic url mapping as well, so no need to worry ^_^
-
New Version 2.0.2!
Hi,
A few small server interaction issues were found now that the module is out in the wild.
From the revision history:
[BUGFIX] Module wasn't being run on the store side on servers which have an unexpected SCRIPT_NAME value. Updated to only use value of REQUEST_URI, SCRIPT_NAME is no longer used.
[BUGFIX] String class wasn't fully compatible with PHP 4.x.
All users are advised to update.
The archive for 2.0.1 was submitted to the downloads area last week but still isn't there so please just go to our site to download:
http://dev.ceon.net/web/zen-cart/uri_mapping/downloads
All the best...
Conor
Ceon
-
Re: New Version 2.0.2!
-
Re: New Version 2.0.2!
Hi,
Quote:
Originally Posted by
mariuskem
it works
lol, well that didn't take too much for me to do! :)
Enjoy the software!
All the best...
Conor
Ceon
-
Re: New Version 2.0.2!
Could you provide please the instalation insctucions?
-
Re: New Version 2.0.2!
Hello Conor,
I just sent you a PM. Can you check please Hope you can help me. Thanks
-
Re: Ceon URI Mapping (SEO)
Conor
I have tried installing and I think my error is with the .htaccess file.
can you give and example of what it should look like.
I am getting an error on my localhost test server which gives the: URL website/website/pagename/product as being not found.
it appears to be repeating the website name and I am sure this is a sall tek in a setting some where to cure it.
Thanks
MG
-
Re: Ceon URI Mapping (SEO)
Hi Mikey,
How are you? (Been a while! :) )
Quote:
Originally Posted by
MikeyG
I have tried installing and I think my error is with the .htaccess file.
can you give and example of what it should look like.
The installation documentation contains several complete examples of what the .htaccess file should look like, one for stores that use don't a prefix and one for those that do.
This is very much a personal server issue so please don't reply to this thread, e-mail (not PM ;) ) me privately and I'll see if I can help!
All the best..
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Just installed this module, and getting a problem with my Ajax categories menu. The links are not expanding the tree except for the parent categories of the current subcategory you are viewing.
You can see the live version here: Macdonald Sporrans.
I've not added any custom URI's yet, just finished a clean install.
Any help would be much appreciated.
-
Re: Ceon URI Mapping (SEO)
Hi,
Please disregard the link on the previous post, i've had to change back to the standard ZC category menu at the moment due to the problem.
I'd be grateful for some help on this problem, and can turn on the Ajax categories menu at any time (preferably for as short a time as possible to allow for testing).
Thanks.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
fergusmacdonald
I'd be grateful for some help on this problem, and can turn on the Ajax categories menu at any time (preferably for as short a time as possible to allow for testing).
I'm not familiar with that module but I took a look at its source and can't see anything that would clash with the Ceon URI Mapping module.. the only functionality the Ceon URI Mapping module modifies on the catalog side is the zen_href_link function, so I was looking to see if the fact that it doesn't use cPath in the URIs would somehow cause this AJAX Category module to fail but, after looking at the source, I can't see how it could.
Maybe you didn't install things properly? You might have a modified html_output.php file which you need to simply copy the Ceon URI Mapping code across to, rather than overwriting this file with the sample html_output.php file supplied in the distribution?
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I'm not familiar with that module but I took a look at its source and can't see anything that would clash with the Ceon URI Mapping module.. the only functionality the Ceon URI Mapping module modifies on the catalog side is the zen_href_link function, so I was looking to see if the fact that it doesn't use cPath in the URIs would somehow cause this AJAX Category module to fail but, after looking at the source, I can't see how it could.
Maybe you didn't install things properly? You might have a modified html_output.php file which you need to simply copy the Ceon URI Mapping code across to, rather than overwriting this file with the sample html_output.php file supplied in the distribution?
All the best...
Conor
Ceon
Hi Conor,
Thanks for getting back to me. I checked my html_output.php file against a fresh download of ZC and they were identical. Not sure where this error is coming from...will try SSU instead as i really like the Ajax categories menu.
-
Re: Ceon URI Mapping (SEO)
Hi Fergus,
Quote:
Originally Posted by
fergusmacdonald
Thanks for getting back to me. I checked my html_output.php file against a fresh download of ZC and they were identical. Not sure where this error is coming from...will try SSU instead as i really like the Ajax categories menu.
No problem.
I don't see how the module could break any other modules, it's specifically designed to be "invisible" to other modules so I'm inclined to think there's a bug in the Ajax module (possibly something to do with it requiring "cPath" to be in the URI so it won't work with other SEO modules I'd imagine) or you configured something wrong. It's probably simple to fix but of course you are free to use whatever modules you like!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Conor,
This was timely, as I'm down to the last few items before replacing my legacy site with my new zencart site.
I was able to get the Ceon Mapping installed and up very quickly. One question. My situation is different than most, as it's a shopping cart integration for an existing site that has excellent seo. So most of my pages need to be named the same as the existing site so I don't have broken links and maintain the placement. So far so good.
How do I specify an alternate url for the index page?
The legacy site was html, so I specified html/htm suffixes for the new site. Will that cause a problem (being that they are php?)
We didn't have a shopping cart or an account function before, so I don't see any reason to translate those. Is that short-sighted?
Again, the whole idea is to maintain the excellent seo placement and not have broken links.
Thanks again for a great product!
JR
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
freeohio
Conor,
This was timely, as I'm down to the last few items before replacing my legacy site with my new zencart site.
I'm glad you like the module! ;)
Quote:
Originally Posted by
freeohio
How do I specify an alternate url for the
index page?
You can't currently "mask" the index page, if you'd like that functionality to be added please get in contact privately.
Quote:
Originally Posted by
freeohio
The legacy site was html, so I specified
html/htm suffixes for the new site. Will that cause a problem (being that they are php?)
That's the beauty of "URI mapping", it is totally fine to do that!
Quote:
Originally Posted by
freeohio
We didn't have a shopping cart or an account function before, so I don't see any reason to translate those. Is that short-sighted?
No, there's no point in my opinion!
On a separate issues, the module only uses the URI mappings in links for the products, categories and EZ-pages, the "aliases"/"alternate uris" map to a particular page but the modules doesn't currently catch on to other Zen Cart pages and replace their links with any alternate URIs. That functionality could be added though.
Quote:
Originally Posted by
freeohio
Again, the whole idea is to maintain the excellent seo placement and not have broken links.
Thanks again for a great product!
You're very welcome!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
I've started playing around with this mod and it looks really good. One thing I can't quite work out though... If I have a category URl that looks like...
/index.php?main_page=index&cPath=123
...and I map it to...
/some-keywords
...then if someone goes to the original URI I would expect it to do a 301 redirect to /some-keywords but it doesn't seem to do that. Am I missing something? Without the redirect search engines won't reindex the site properly.
Regards,
Christian.
-
Re: Ceon URI Mapping (SEO)
This module does exactly what the name says: alias/mapping
So it wont redirect. I think Conor explained this before.
-
Re: Ceon URI Mapping (SEO)
Hi Christian,
Quote:
Originally Posted by
CJPinder
Without the redirect search engines won't reindex the site properly.
Hmm, that's a good point!
I'll add full redirection for any current Zen Cart URIs to any mapping entered for them in the database.
I'll let you know when the new version is out, it will be soon!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
I'll add full redirection for any current Zen Cart URIs to any mapping entered for them in the database.
Thanks Conor, that would be great.
One other thing... When testing the mod on a store that is in a subdirectory, e.g. www.example.com/store I'm having some trouble. If I manually enter a URI mapping for a category (e.g. /coffee) the link shows correctly in the store but it doesn't work. I think this is because the REQUEST_URI is coming through as /store/coffee which doesn't match the database entry.
If I use automatic generation of the category URI then it sets it to /store/coffee which then creates a link like www.example.com/store/store/coffee which looks wrong and doesn't work either :(
Am I doing something wrong?
Regards,
Christian.
-
Re: Ceon URI Mapping (SEO)
Hi Christian,
Quote:
Originally Posted by
CJPinder
Thanks Conor, that would be great.
Working on the new version now.. this is going to be a change in the way the data is stored in the database and will allow full use of various types of redirect and full mapping of every page type Zen Cart offers (not just categories/products/ez-pages).
The code's quite easy but the changes really add so much to the module's capabilities so I'm glad I'm adding them (personal satisfaction/pride about the module's newfound capabilities and all that!) :)
Anyway... :)
Quote:
Originally Posted by
CJPinder
Am I doing something wrong?
You're using the "wrong" version, but that's my mistake, not yours!
There was a bug in versions 2.0.0 - 2.0.2 which caused all links to be prepended with the store's catalog directory setting.
I've fixed that in 2.0.3 - please download it. Upgrading takes about 20 seconds!
Sorry about the bug!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi JR,
Quote:
Originally Posted by
freeohio
How do I specify an alternate url for the
index page?
Quote:
Originally Posted by
conor
You can't currently "mask" the index page, if you'd like that functionality to be added please get in contact privately.
YOU CAN NOW! :)
Version 3 has full support for this now. (Once you've read the docs you'll realise you can use "index" in a new database record).
Quote:
Originally Posted by
conor
On a separate issues, the module only uses the URI mappings in links for the products, categories and EZ-pages, the "aliases"/"alternate uris" map to a particular page but the modules doesn't currently catch on to other Zen Cart pages and replace their links with any alternate URIs. That functionality could be added though
IT HAS BEEN NOW! :)
Thought I'd let you know specifically before I posted the about the release, to save answering any questions!
All the best...
Conor
Ceon
-
Massive Update! Version 3.0.0 Released! :)
Hi,
It gives me great pleasure to release a major new version of this module. I've listened to the comments on this thread and another one and took on board what people had to say. I've now added all the functionality I think people were looking for. :clap:
The major feature of the new version is that it changes the way the module works. Everything is now based on the idea of "Current" URI mappings.
Full Historical URI Mapping has been added so all previous links still work when new ones are used or "old" ones are "deleted" - these "old" URIs now redirect to the "current" URI.
There's also full redirection from current dynamic Zen Cart URIs to the URI mapping for the Zen Cart page in question, so Search Engines will know to start converting their links to your pages to their new "redirected" links.
There's too much to say here, check out the feature list!
From the Revision History:
[UPDATED] Completely new database structure implemented.
[ADDED] Idea of “Current” static URI made central concept behind handling of URIs in module. All admin URI functionality now inserts/updates mappings for the “Current” URI only.
[UPDATED] Ability to “delete” URI mappings removed. Instead, any “old” URI mappings are marked as no longer being current.
[ADDED] Historical URI mapping support added. “Deleted” URI mappings still point towards their original subject, by redirecting the user to the “Current” URI for the subject. URI mappings being updated don't have their old URI mappings retained; however, they can be added [back in] to the database manually if necessary.
[ADDED] Support for all Zen Cart pages added to the database, the module's code and its modifications to the zen_href_link function. Any Zen Cart page can now have a static URI, which will be linked to instead of the standard Zen Cart dynamic URI!
[ADDED] Automatic redirection of dynamic URIs to their current, active URI mapping added to URI Mapping. Any attempt to use a dynamic URI for a page which has a current static URI will result in the user being redirected to the current (static) URI.
[ADDED] Ability to specify the HTTP Status Code to be used for the redirection to an alternative URI added. Allows controlling of exact type of redirection (temporary/permanent etc.).
[ADDED] Support for pages related to the product info pages added. Reviews and Tell-A-Friend sections are now automatically made “subsections” of the product's main info page, by appending some specific URI parts to the product info page's static URI. These specific URI parts are defined in the admin languages file.
[UPDATED] Dynamic query string variable is no longer appended to static URI links for subcategories or links to product info pages (for those which aren't a link to a linked product). Results in cleaner, “nicer” URIs!
[BUGFIX] Missing filename definitions added for several product types. Links to products of these types now correctly use any static URI defined for the product.
[UPDATED] Documentation updated with information about new functionality and the methodology behind the new way the module works.
Upgrading is easy for sites which haven't modified the respective core files (for any other module except this one), just a simple matter of copying the files across and then going to the Config Utility - it'll automatically update your existing database table and data to the new format.
Download 3.0.0 Now!
Any and all feedback would be appreciated, this was a major upgrade.
Enjoy!
All the best...
Conor
Ceon
-
Ceon URI Mapping 3.0.1 Released!
Hi,
I'm very sorry to say that a major bug was found in version 3.0.0 of the Ceon URI Mapping module.
3.0.0 doesn't work at all with search engines, only humans:
[BUGFIX] The standard Zen Cart initsystem initialises the languages system at one of the later stages, meaning that the language ID is set too late in the initsystem process for this module to work correctly when a non-human visits the site. The languages init code is now run in the URI Mapping initsystem script to fix this (major) problem.
Please download 3.0.1 now.. it is available on our site and now in the ZC downloads area also.. only two files need updating:
admin/ceon_uri_mapping_config.php
includes/init_includes/init_ceon_uri_mapping.php
If you then go to Ceon URI Mapping Config in the admin it'll upgrade your version number to the official 3.0.1.
Please accept our most sincere apologies for the bug. Thankfully it's very quick and easy to update and the software should work perfectly now.
(Thanks go to Christian for finding and reporting the bug!).
All the best...
Conor
Ceon
-
Ceon URI Mapping (SEO) 3.0.1
Hi,
Please note that the previous post applies to 3.0.0 but that ALL USERS OF 2.0.X MUST UPGRADE ALSO!
Otherwise search engines only see one language version of the site.
Plus 2.0.x is now officially NOT SUPPORTED!
Upgrading from 2.0.x to 3.0.x only takes a minute or two for sites which haven't modified the applicable core admin files for any module other than Ceon URI Mapping.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
I just installed this module (3.0.1) on 1.3.8a and it works 100% fine, thanks Conor. Uploaded the core files, uploaded the version specific files, looked under 'modules' and voila.
The htaccess I populated with your supplied example, no problems on my Plesk server.
Total time: a couple of minutes - the uploading will take the most time, it really is that simple.
One question though: I think I've found how to link the contact_us page etc in the database, but what do I put in the "associated_db_id" column for it (same for my about_us, privacy etc pages)?
Looking forward to the URI manager...
Once again, thanks Conor.
-
Re: Ceon URI Mapping (SEO)
If I'm trying to unblock my /gallery and /blog directories, does the following look correct for the .htaccess file:
# Don't rewrite gallery and blog directories
RewriteCond %{REQUEST_URI} !/gallery.* [NC]
RewriteCond %{REQUEST_URI} !/blog.* [NC]
If this is correct, it's not working. What am I doing wrong?
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
sean046
If I'm trying to unblock my /gallery and /blog directories...
Sorted. I'd restarted Apache but hadn't cleared my cache, oops, my bad. Working 100% again.
-
Re: Ceon URI Mapping (SEO)
Hi Sean,
Glad you like the module! ;)
Quote:
Originally Posted by
sean046
what do I put in the "associated_db_id" column for it (same for my about_us, privacy etc pages)?
You don't put anything in that column, it's only used by product, category and EZ-Page pages.
So that's you sorted! :)
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Thanks Conor.
Any idea when the URI Mappings Manager will be available? I know that it will be (well, I'm sure that it will be) a commercial module, but it is related to the module in question.
-
Ceon URI Mapping (SEO) Version 3.0.2
Hi,
A few minor bugs have been found and fixed. Upgrading isn't necessary if things are working for you as it is but it's still a good idea. It shouldn't take very long.
From the Revision History:
[BUGFIX] Format specifier for seconds part of date component was the wrong case, causing an illegal time to be generated. This caused an SQL error in stricter versions of MySQL.
[BUGFIX] Documentation regarding example rewrite rules updated to include a rule exclusion for the editors directory. Without this exclusion only the standard Zen Cart text editor could be used in the admin!
[UPDATED] Code added to init script to set the value of $PHP_SELF in certain circumstances, to prevent the rewrite rules interfering with the zen_href_link function in some very particular cases.
As you can see, these are all very minor fixes, the module is maturing well. Hopefully these will be the last issues to be found!
3.0.2 is now available in the downloads area.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hello Conor:smile: Please be gentle, I have just registered and am very new to all this having only done XHTML sites before with the odd php search facility:rolleyes:. Well done with this SEO module, it looks good but I am having a problem and am not sure if it is my server or Zen cart config. :cry:
This is what I am using....
Zencart version 1.3.8a
CEON 3.0.1 (I know there is a newer version but I only downloaded this yesterday!)
MySQL 4.1.22-standard
Linux server 2.6.18-92.ei5PAE.
PHP version 4.4.7.
Apache/2.2.9
I am experimenting on the same server as my live xhtml site, so I am nervous about messing it up as it provides my income.
I have installed Zencart in www.mywebsite.co.uk/shop and I created a .htaccess file as per your example and adjusted the paths accordingly.
The .htaccess commands seem to work because I had to prevent my current search.php from being overwritten and also allow *.html pages to work. However the Zencart pages when converted to static URLs are not found on the server... I get the following message...
"Not Found The requested URL /shop/Accessories/Measuring-Tools/1.5-Metre-Tape-Measure-8124 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
If I turn the URI Mapping off or remove the static URL name in the product category, the page in question comes up as an ID page as you would expect shop/index.php?main_page=product_info&cPath=86_90&products_id=203
If it is turned on the correct URL that I want appears in the address bar but cannot be found.
I also moved the .htaccess file from the current root of the site to my php shop root but the problem remains.
Is this a problem with my Server, Zencart or Me?:dontgetit
Thanks
Pete:cheers:
-
Re: Ceon URI Mapping (SEO)
Having the same problem is there a fix for this?
-
Re: Ceon URI Mapping (SEO)
Can this mod be used for just the ez pages and still use Ultimate SEO URLs?
-
Re: Ceon URI Mapping (SEO)
Hi, installed this mod succesfuly. Although the very good instructions may look complicated, I managed to install this in minutes, even a noob like me :P The products I added or modified had the "new" url. Great!
Two questions;
1 Looking at "Who's online", all the customers are looking at the images folder in my template. When I follow the link I end up on the home page. Before installing this mod I could follow the link and see what they were actually looking at. Now only pop-up images have the standard url. Is this "normal" or do I have to change settings?
The site works 100% ok because I still get orders...
2 Do I understand correctly that I have to save every product again to change the url? Not that it's a big problem, it will only take some time.
Although I only installed it to get better results for search-engines, it also looks much better in the url adress. There's a understandable adress instead of some long code.
Again, great module! Thank you very much.
-
Re: Ceon URI Mapping (SEO)
Some extra information regarding my previous post:
All "guest" visitors hav the link:
/includes/templates/pannenland/images/ or /favicon.ico
Spiders do have the standard url like /index.php?main_page=product_info&products_id=338
Couldn't find anything in FAQ or configuration instructions.
-
Re: Ceon URI Mapping (SEO)
Hello folks, I am starting to get ever so slightly frustrated that I can't get a response regarding my previous query on 28th February 2009. I have set up the CEON URI name mapping and the PHP IDs are converted as I want them but when you click on any of the converted links, the page cannot be found. I have tried tweaking my .htaccess file till I am blue in the face but it only ever gets worse and not better. My web host www.namehog.net cannot help and I need to get this sorted urgently otherwise I think I will have to buy a package like Clickcartpro where I am guaranteed support. This would be a shame as Zencart seems to do what I want...apart from the URI mapping!. Can anyone help? Please!!!:(
-
Re: Ceon URI Mapping (SEO)
Hi Pete,
Quote:
Originally Posted by
petelutonuk
Hello folks, I am starting to get ever so slightly frustrated that I can't get a response regarding my previous query on 28th February 2009.
I was away on my holidays from the 28th until today and I don't provide free support for people when I'm off!
Quote:
Originally Posted by
petelutonuk
I have set up the CEON URI name mapping and the PHP IDs are converted as I want them but when you click on any of the converted links, the page cannot be found. I have tried tweaking my .htaccess file till I am blue in the face but it only ever gets worse and not better.
Please send me FTP and admin details for your site via the following link and I'll check out what's happening. More than likely you've just put the wrong paths in. (Of course you can delete any temporary accounts later for peace of mind).
http://dev.ceon.net/contact_us
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
ryanb4614
Can this mod be used for just the ez pages and still use Ultimate SEO URLs?
No, sorry.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Gerjan
Two questions;
1 Looking at "Who's online", all the customers are looking at the images folder in my template. When I follow the link I end up on the home page. Before installing this mod I could follow the link and see what they were actually looking at. Now only pop-up images have the standard url. Is this "normal" or do I have to change settings?
The site works 100% ok because I still get orders...
I really don't understand what you are asking here? The who's online function in Tools simply links to the page the person was visiting, why is yours recording image paths?
Quote:
Originally Posted by
Gerjan
2 Do I understand correctly that I have to save every product again to change the url? Not that it's a big problem, it will only take some time.
Yes, it wasn't built with automatic support for generating URIs for all products in a category as the initial focus of the module was allowing specific URIs to be manually typed in.
Quote:
Originally Posted by
Gerjan
Although I only installed it to get better results for search-engines, it also looks much better in the url adress. There's a understandable adress instead of some long code.
Yes, absolutely. That was the initial point behind the module - to allow the use of human readable URIs on advertising literature. :)
Quote:
Originally Posted by
Gerjan
Again, great module! Thank you very much.
You're very welcome, I'm glad you like it!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Thank you for answering. Sorry for my english. It's not perfect and I sometimes have difficulties explaining (technical) problems. Also, I'm not an expert. I observe, read, ask and copy. Sofar it works :wink:
Quote:
Originally Posted by
conor
Hi,
I really don't understand what you are asking here? The who's online function in Tools simply links to the page the person was visiting, why is yours recording image paths?
That's the problem... it only links to the template directory, nomatter what page guests and customers are looking at. Strange thing is that spiders like googlebot don't have this problem, they show the original url/link. This problem started right after I installed uri mapping.
But... aftersome research I added this rewrite:
RewriteCond %{REQUEST_URI} !/includes/templates.*
Now it is solved (for as far as I can see) and CEON uri mapping is still working ok. The link that guests are looking at are also the links that are created by uri mapping. Like "bk_fortalit_braadpan_24cm" instead of "index.php?main_page=product_info&cPath=5&products_id=560".
When I started designing my template 1,5 year ago I have added a menu from Apple Zen Template and one month ago I added a flash header. I think the menu is causing the problem I descriped. If you want to take a look at my site : Pannenland.nl
The only problem to solve now is that my "home"-button redirects to a category instead of the homepage. But that will come soon.
Hope can do something with this information for future questions en development.
Best regards, Gerjan
-
Re: Ceon URI Mapping (SEO)
OK, this is by far the best mod I have seen for Zen!!!!!!! Conor...thank you....I have it downloaded and tested it on a product and ez-page and it worked beautifully!!!!!!!! :clap::clap:
Now if you can figure out how to achieve checkout without login this easily life would be good as a web designer who loves Zen!!!! :P
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Gerjan
Thank you for answering. Sorry for my english. It's not perfect and I sometimes have difficulties explaining (technical) problems. Also, I'm not an expert. I observe, read, ask and copy. Sofar it works :wink:
Your English is fine, it's just that you were describing the end result but not in enough detail for me to understand what was happening.
Quote:
Originally Posted by
Gerjan
That's the problem... it only links to the template directory, nomatter what page guests and customers are looking at. Strange thing is that spiders like googlebot don't have this problem, they show the original url/link. This problem started right after I installed uri mapping.
That's bizarre, I can't think of a single reason that would happen and I can't replicate the problem here!
Quote:
Originally Posted by
Gerjan
But... aftersome research I added this rewrite:
RewriteCond %{REQUEST_URI} !/includes/templates.*
Now it is solved (for as far as I can see) and CEON uri mapping is still working ok. The link that guests are looking at are also the links that are created by uri mapping. Like "bk_fortalit_braadpan_24cm" instead of "index.php?main_page=product_info&cPath=5&products_id=560".
That's good to hear although I'm never comfortable when I don't understand what's happening in the first place!
If anyone else has the same problem I'll do what I can to analyse/debug it.
Quote:
Originally Posted by
Gerjan
When I started designing my template 1,5 year ago I have added a menu from Apple Zen Template and one month ago I added a flash header. I think the menu is causing the problem I descriped. If you want to take a look at my site :
Pannenland.nl
The only problem to solve now is that my "home"-button redirects to a category instead of the homepage. But that will come soon.
That's not something to do with the module but something to do with whatever is being used to generate that menu.. it is linking to that category instead of the homepage.. it must need the cPath part removed. Unfortunately I can't help with that as I'm not familiar with the software used to generate these menus.
Glad you've got things working now!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
OK, this is by far the best mod I have seen for Zen!!!!!!! Conor...thank you....I have it downloaded and tested it on a product and ez-page and it worked beautifully!!!!!!!! :clap::clap:
lol I wouldn't quite say that but I appreciate the enthusiasm and the feedback, it's nice to feel the work on the module's appreciated! :)
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
OK quick question...I installed this mod on a second clients site - the one yesterday went without a hitch....but this site when I redo the EZ-Pages I get this...
http://www.vintagebodyspa.com/produc...s?chapter=0%3B
where it should just be
http://www.vintagebodyspa.com/product-scents
I am not having this issue with the site I did yesterday-they are on the same host and were installed exactly he same way? Any thoughts how to remove the ending there?!?
THanks again for this awesome mod!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
Quite simply you must have chapter settings for the EZ-Page, which is resulting in the ?chapter=0%3B being appended.
I don't know if your client needs chapter settings. If they don't then just go to the EZ-Page and clear the text in the chapter box and click Update.
If they do need this chapter setting then there's nothing simple you can do about making the URI cleaner than the one you've posted.
Hope that helps.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
We aren't using chapters at all for this site?!?!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
We aren't using chapters at all for this site?!?!
That URI wouldn't appear as it is doing if that was true. If you check your EZ-Pages your client must have entered something in one of the chapter fields.
If it's not that then I'm afraid I'm not sure what it is. This is definitely a EZ-Page configuration problem though and nothing to do with the URI Mapping module.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
We aren't using chapters at all for this site?!?!
After spending about 10 mins looking at this it would appear that the EZ-Page system can't generate the query string value you are seeing (it doesn't append semi-colons). However, you appear to have hard-coded links into the bottom of your page which do generate this link.
The "Product Scents" link at the bottom of the page is:
http://www.vintagebodyspa.com/index....=33&chapter=0;
Which clearly has a chapter setting of "0;" after it which is exactly what
chapter=0%3B
equates to when it is encoded.
Change those hard-coded links to the static URIs (e.g. /product-scents) or drop the "&chapter=0;" and everything will work fine.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
I am not sure what I am doing wrong but I can never seem to get any SEO mod installed right away.
I am testing this on a development site. The site is installed in a sub-folder called /dev/.
I uploaded all the files for the Zen cart 1.38a core files and the additional files to the dev folder. Added the following .htaccess code
Code:
<PRE>RewriteEngine On</PRE>
<PRE># Don't rewrite any files ending with .[xxxx], except for scripts/HTML files
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(php|xml|html|htm|aspx)$ [NC]
# Only rewrite pages inside the dev directory
RewriteCond %{REQUEST_URI} ^/dev/.* [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !/dev/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
RewriteCond %{REQUEST_URI} !/dev/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !/dev/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !/dev/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !/dev/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !/dev/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !/dev/realex_remote_3d_secure_iframe.php.* [NC]
# Handle all other URIs/file types (php|html|htm etc.) using Zen Cart (index.php)
RewriteRule (.*) dev/index.php?%{QUERY_STRING} [L]</PRE>
But If I go to the site I get server error (500). Is there something wrong with my htaccess file??? The configure file is configure that the catalog path is /dev/.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Glamorousshoe
I am not sure what I am doing wrong but I can never seem to get any SEO mod installed right away.
Please send me full access to FTP, your admin and your control panel:
http://dev.ceon.net/contact_us
If you like you can change your passwords first and then change them back afterwards for peace of mind.
Thanks,
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Meanwhile I installed a new template and started using uri -mapping. It worked fine until I saw some strange lines in "who's online" (yes, again :dontgetit).
I a customer finds a product in the categorieslist and I see e.g.:
.../fisser_onderdelen/blue_point/greep
If the customer now pics (at random) a manufacturer from the manufacturer's list, this is added to the url, like this:
../fissler_onderdelen/blue_point/greep?manufacturers_id=35
Now the customers sees all the products from manufacturer 35 but at the top of the page, the sub-cat image from "blue_point" is still visible. It's also visible in the breadcrumbsl home -> fissler onderdelen -> blue point -> gefu (= man. 35)
Normaly, when choosing a manufacturer the site "resets" and then shows the items related to that particular brand.
When I delete the uri-mapping only from sub-categories, it's al over. That's easy but not the meaning of this module I guess :wink:
Another problem I had; I use a Googlesitemap module to create and sent my sitemap.xml to Google and other search engines.
When uri-mapping is turned on, I couldn't create a sitemap and sent it. A window pops up and shows my store's mainpage instead of the message that the sitemap is created. After some searching I found out that I had to add this to .htacces:
RewriteCond %{REQUEST_URI} !/googlesitemap.php.* [NC]
Just fyi, for future questions :smile:
I do no expect you to solve this first "problem" but I went over thing many times and I can't find it. Just want to let you know how things are and are not working.
For now I will use uri-mapping except for subcategories. Main categories and products work fine.
I hope this makes sense and that you understand what I wrote. If not, feel free to ask, I'll try to explain.
Gerjan
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Gerjan
Normaly, when choosing a manufacturer the site "resets" and then shows the items related to that particular brand.
When I delete the uri-mapping only from sub-categories, it's al over. That's easy but not the meaning of this module I guess :wink:
You found a bug. I was missing a few tests against the associated_db_id being null so the site was loading a category when it should have been loading the index page with the manufacturer_id in the query string.
I've created a new version of the module which fixes this problem. Please contact me at
http://dev.ceon.net/contact_us
and I'll send you the new version for testing.
I think in future I might upgrade the module to support adding specific URIs for manufacturers as well. I'd thought about that previously but just didn't have the time. (Currently you have to enter index.php?main_page=index&manufacturer_id=xx in the alternate_uri field to map a URI to a manufacturer page).
Quote:
Originally Posted by
Gerjan
When uri-mapping is turned on, I couldn't create a sitemap and sent it. A window pops up and shows my store's mainpage instead of the message that the sitemap is created. After some searching I found out that I had to add this to .htacces:
RewriteCond %{REQUEST_URI} !/googlesitemap.php.* [NC]
Just fyi, for future questions :smile:
I'll add that rewrite rule as standard to the docs.
Thanks for the feedback/bug reports.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Thanks for This mod but I am just going to remove this mod and go back to the ultimate URL mod.
A note for Gerjan, as a business owner I can understand how annoying it gets when you see that customer are looking at template files such as the problem you mentioned. I have noticed the same results with the Simple SEO mod as well. I am not sure what this mod and the simple SEO mod use but they do seem to act funny when you view the whose online, It get worse if you even have the Super Tracker you would even notice that almost every other customer if viewing template files with urls such as (includes/templates/template_default/english/button/mcnt_image.gif) that is really annoying.
I do try to install those mods (SSEO and URI)on my testing sites but they do a lot of function that are confusing and might affect other mods.
I do have the Ultimate SEO installed on my live site www.coolcarpartsonline.com it works like a charm with no errors and you can see it in action. This site has 20K products and hundreds of mods with no problem and looks very professional.
Google Sitemap will generate an error since the SE mods use 301 redirection, if your site has been live for a while you will not really need sitemaps. I will encourage using Google Base as it does increase traffic and customers.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Glamorousshoe
Thanks for This mod but I am just going to remove this mod and go back to the ultimate URL mod.
A note for Gerjan, as a business owner I can understand how annoying it gets when you see that customer are looking at template files such as the problem you mentioned. I have noticed the same results with the Simple SEO mod as well. I am not sure what this mod and the simple SEO mod use but they do seem to act funny when you view the whose online, It get worse if you even have the Super Tracker you would even notice that almost every other customer if viewing template files with urls such as (includes/templates/template_default/english/button/mcnt_image.gif) that is really annoying.
I do try to install those mods (SSEO and URI)on my testing sites but they do a lot of function that are confusing and might affect other mods.
Fair enough, that's up to you of course.
I think it's a case of a lack of understanding but time is money and I understand why you wouldn't want to to spend the time getting things working right.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Glamorousshoe
A note for Gerjan, as a business... .....that is really annoying.
I agree. But I would be happy to get this to work. I'm very happy with Zen-Cart and the people who take the effort of creating software/modules for it. So the least I can do is give it a change to solve the bugs.
Quote:
Originally Posted by
Glamorousshoe
I do have the Ultimate SEO installed on my live site
www.coolcarpartsonline.com it works like a charm with no errors and you can see it in action. This site has 20K products and hundreds of mods with no problem and looks very professional.
Indeed a very nice site. When things don't work out well it's my next option to use Ultimate SEO.
Quote:
Originally Posted by
Glamorousshoe
Google Sitemap will generate an error since the SE mods use 301 redirection, if your site has been live for a while you will not really need sitemaps. I will encourage using Google Base as it does increase traffic and customers.
I only use google sitemap and Google Adwords now. I will look at Google base, looks interesting, thanks.
Gerjan
-
Re: Ceon URI Mapping (SEO)
Conor - I am so sorry, I totally forgot that those were hardcoded in like that...I was only looking in the admin not even thinking about the HTML!!!! I am so sorry!!!!! :-)
On my other clients site I am using the actual ez-pages not hardcoded links.....which is why they worked fine!!!!!!!
THanks again for an awesome mod!!!!!!!!!!!!!
Quote:
Originally Posted by
conor
Hi,
After spending about 10 mins looking at this it would appear that the EZ-Page system can't generate the query string value you are seeing (it doesn't append semi-colons). However, you appear to have hard-coded links into the bottom of your page which do generate this link.
The "Product Scents" link at the bottom of the page is:
http://www.vintagebodyspa.com/index....=33&chapter=0;
Which clearly has a chapter setting of "0;" after it which is exactly what
chapter=0%3B
equates to when it is encoded.
Change those hard-coded links to the static URIs (e.g. /product-scents) or drop the "&chapter=0;" and everything will work fine.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
I have two sites one on line and the other on my computer. the one on my computer its Uri mapping is OK. the other I get a 404 and a 500. my hosting site upgraded to, php 5 and have posted this statement. users are not able to have php flags in their .htaccess file. Having php flags in .htaccess files is a common cause of internal server errors on servers with phpSuExec enabled. One way around this is to create a custom php.ini
could this be casing my problem? if so how do I get a round it.:unsure:
-
Re: Ceon URI Mapping (SEO)
Hi Conor
I have installed the mod on zen 1.3.7.1 as this is what I have been looking for, for a long time and didn't fancy any of the other mods like ultimate seo etc.
Installation went swimmingly, I have several hundred products on a live site http://www.allgoodideas.co.uk
so I have auto created uri for categories, which are fine but the first product I have updated is this one http://www.allgoodideas.co.uk/Hiking...Staff?cPath=94
but as you can see, it still shows the cpath id :(
Where have I gone wrong
other mods installed are
Worldpay module
recover cart sales
user tracking
google base feeder
and single page checkout
all still seem to be working fine and I checked the core files before overwriting and they were default without any changes..
Please help :)
Kind Regards
AfterHouR
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
mcleanmell2
I have two sites one on line and the other on my computer. the one on my computer its Uri mapping is OK. the other I get a 404 and a 500. my hosting site upgraded to, php 5 and have posted this statement. users are not able to have php flags in their .htaccess file. Having php flags in .htaccess files is a common cause of internal server errors on servers with phpSuExec enabled. One way around this is to create a custom php.ini
could this be casing my problem? if so how do I get a round it.:unsure:
A new version of the module is in Release Candidate stage, out for testing with a company. Hopefully they'll confirm that it works okay soon and I'll therefore be able to release it soon.
One of the main changes in the new version is a rewrite of the docs and example rewrite rules.
I can send you a copy for you to test yourself if you like, the new rewrite rule info may help you sort out the problem you are having.
If you'd like me to do that please e-mail me through our website.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
AfterHouR
Hi Conor
I have installed the mod on zen 1.3.7.1 as this is what I have been looking for, for a long time and didn't fancy any of the other mods like ultimate seo etc.
I'm glad you like it! :)
Quote:
Originally Posted by
AfterHouR
but as you can see, it still shows the cpath id :(
That means that you are either: using a version older than 3.0.2 or that you are linking your products into these categories instead of them actually being in those categories.
You must have the products directly in the categories and not linked, otherwise the cPath has to be appended as Zen Cart requires it to maintain context on the site.
Hope that helps!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor
Thanks for the fast response :)
I am using the latest version of your mod.. the problem was, I do have a lot of linked products in various categories..
I have deleted the copy and now duplicated it in the alternate category..
so they now both read
http://www.allgoodideas.co.uk/Hiking...h_Hiking_Staff
and
http://www.allgoodideas.co.uk/Econom...h_Hiking_Staff
How cool is that :)
I know I have alot of editing, deleteing and duplicating to do now but hey, it's worth it!!!
Thank you so much :clap:
Regards
AfterHouR
http://www.allgoodideas.co.uk
Collectable walking sticks and canes for the discerning customer
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
AfterHouR
Thanks for the fast response :)
No problem. ;)
Quote:
Originally Posted by
AfterHouR
How cool is that :)
Umm? Very? :)
Glad you like the module.. keep an eye out for a slightly updated version soon.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
I have a couple of primitive questions.
No matter if it auto-maps or I enter some name, with or without htaccess it will always hit 404.
I'm trying to set up some SEO URL's already for 3 days now but none worked so far. Now I'm trying yours. My dev site is in a subfolder of another site that also has it's htaccess and rewrite. That might be effecting this one. Is that possible?
Is it not a problem that they don't have any suffixes like html, php? They look very unusual for me.
What about multilingual sites? I can probably enter the age names in different languages but I don't know what is supposed to happen when somebody clicks the flags.
And one more the, the EZ pages are not working out too well. One of them becomes my homepage when I turn on the modul. If I rename it it becomes something like this: blabla?&chapter=10 and hits 404?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
miskein
No matter if it auto-maps or I enter some name, with or without htaccess it will always hit 404.
I'm afraid that's a very ambiguous question, consequently I have no idea what the problem would be.
Quote:
Originally Posted by
miskein
I'm trying to set up some SEO URL's already for 3 days now but none worked so far. Now I'm trying yours. My dev site is in a subfolder of another site that also has it's htaccess and rewrite. That might be effecting this one. Is that possible?
It absolutely is possible, but again it's hard to tell without actually looking at the specific htaccess files and file structure for your server.
Quote:
Originally Posted by
miskein
Is it not a problem that they don't have any suffixes like html, php? They look very unusual for me.
No, it's not a problem. Actually it is highly advised by the creator of the web himself, Tim Berners Lee, that web address don't have a suffix/file extension as technologies change over time. Keeping the URIs "clean" and readable lends to them being relevant for much longer periods of time.
Quote:
Originally Posted by
miskein
What about multilingual sites? I can probably enter the age names in different languages but I don't know what is supposed to happen when somebody clicks the flags.
I'm afraid that's nothing to do with the module but something you should ask in another forum/thread on this site.
Quote:
Originally Posted by
miskein
And one more the, the EZ pages are not working out too well. One of them becomes my homepage when I turn on the modul. If I rename it it becomes something like this: blabla?&chapter=10 and hits 404?
As above, it appears that you do indeed have something wrong with your file structure/.htaccess set up.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi, thanks for getting back.
This is what I have in the htaccess one directory higher:
#Options +FollowSymLinks
# mod_rewrite in use
RewriteEngine On
# RewriteBase /
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
The other one is the standard one from the download. I didn't change anything in it.
Please let me know if this says anything to you.
Thanks again
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
miskein
This is what I have in the htaccess one directory higher:
Please let me know if this says anything to you.
I'm afraid I don't quite understand what it is doing. Your best course of action is to pay someone who knows about these things to have a look at it for you.
Sorry I can't be of more help than that.
Good luck in finding the solution.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I'm afraid I don't quite understand what it is doing. Your best course of action is to pay someone who knows about these things to have a look at it for you.
Sorry I can't be of more help than that.
Good luck in finding the solution.
All the best...
Conor
Ceon
No problem, thanks anyway.
-
Version 3.2.0 Released!
Hi,
A new version of the module has been released. It fixes a bug or two and introduces some new features.
From the Revision History:
[ADDED] Ability to specify the current URI mapping for a manufacturer directly in the admin added.
[UPDATED] Support for mapping manufacturers to static URIs added to link generation and page identification functionality.
[UPDATED] Database format updated to use a separate field for query string parameters when setting up mappings for other Zen Cart pages.
[BUGFIX] Static URIs for categories were overriding the manufacturer display functionality of Zen Cart as they have a similar dynamic URI structure. Fixed by new manufacturer handling code.
[UPDATED] Documentation completely rewritten. Installation documentation made simpler, layout of documentation made clearer, table of contents added to the configuration documentation
[ADDED] New section added to the configuration documentation to help with setting up a working rewrite rule for the server and information about the new format for setting query string parameters added.
Upgrading is simple, it should take less than a few minutes if you have not modified the core files involved, except with previous version of the modified core files for the URI Mapping module.
You can get 3.2.0 from our website and [shortly, I'd imagine,] the downloads area.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
After I had some trouble I tested this latest version and it works great sofar! Categories ánd subcategoeries work fine now with this uri mapping module. Also the problem with manufacturers is solved now.
I'm very happy with it and I would recommend this to everybody.
-
Re: Ceon URI Mapping (SEO)
Wow! Just what I was looking for! Awesome! :clap:
-
Re: Ceon URI Mapping (SEO)
Got it working partially,
In some catogories everything works as it should but some products in that same catorgory i get a "page cannot be found"
Any idea where I should look to find the problem?
And how do we get the newest version the link on CEON seems to be broken.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mustang394
In some catogories everything works as it should but some products in that same catorgory i get a "page cannot be found"
Sounds like you've been entering weird URIs for some of the products.
Quote:
Originally Posted by
Mustang394
And how do we get the newest version the link on CEON seems to be broken.
Yes, upgrade first is the best idea.. there's new example rewrite rules there which may or may not help.
I've fixed the download link now.. sorry about that!
BTW, got a returned mail for this address:
[FONT=Courier New]keith AT afishybusiness DOT com[/FONT]
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Actually I have just been letting it auto create them.
Yes that is not an acurrate email address.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mustang394
Actually I have just been letting it auto create them.
Yes that is not an acurrate email address.
I'm afraid that without examples I probably can't do anything.
Did you get the latest version okay now?
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Got the new version installing it now. what do need for examples if the problem still exisits
-
Re: Ceon URI Mapping (SEO)
Installed new version
This works fine
http://afishybusiness.com/wavemakers...y.backup.mp139
This one I get
http://afishybusiness.com/wavemakers...m.cover.3.pack
404 Not found
The requested URL /wavemakers.pumps/vortech/vortech.foam.cover.3.pack was not found on this server
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mustang394
It's the usage of full stops/periods as the whitespace replacement.. they're clashing with your rewrite rule.
The example rewrite rule lets through anything with a 2 to four letter extension at the end of the URI (e.g. .png, .jpeg, .gif, .html, .php) so they aren't rewritten.
.mp139 gets rewritten by the rewrite rule because it has 5 letters after a full stop, .pack doesn't as it only has four.
You can either change the rewrite rule conditions to always rewrite URIs with an extension but only exclude very specific extensions (gif|jpeg|png|pdf|jpg|doc). Obviously you'll have to be very specific about what extensions to allow and disallow.
There should be enough info in the docs (and if necessary, in a search on the net for example rewriteconds) to get this working the way you want.
Alternatively, you can use a different whitespace replacement with the current rewrite rule you have.
Hope that helps!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
yup that did the trick, just used a different white space for now.
Thank You
-
Module Working But Having Troubling Errors
I have spent probably between 15 and 20 hours with this module and I'd really like to keep it installed, but I am experiencing some strange errors that I just cannot get past.
First, I am getting a number of "file not found" messages in my host server log. These are for valid mapped URLs, but not every time (sporadic). Despite these errors, the actual pages are being served correctly to the clients. Weird.
Second, when I check the "Who's Online" feature in the admin, the last page visited shows "main_page=page_not_found" for a lot of the visitors. But again, I am confident that the clients are not receiving error messages. I have verified this by getting both these effects to be logged for my own IP address as I visit the store, but my experience as a user is exactly as it should be.
Finally, I can get the actual page_not_found to show when I type an invalid URL with a 2-4 character extension in the name (as this is excluded from the rewrite rule) but whenever I type in any other gibberish URL, it just serves the index page without an error. I cannot get the "Missing Page Check" to trigger the page_not_found content.
Despite the fact that my testing shows that users (and, thus, I presume, the search engine robots) are getting a seamless experience, I am not comfortable ignoring this constant pile of error messages.
I have emailed Ceon about the issue and they are uncertain what the problem is. (I asked them point blank about whether the custom page_not_found feature is compatible with the mapping module, and they gave me a non-answer.)
So before I uninstall the module and move on ... has anyone else experienced these same issues? If so, were you able to resolve them somehow? Any feedback would be welcome, as I have reached a point of frustration. Thanks.
FYI, the store is www.earthenapparel.com, ZC version 1.3.8a, Ceon ver 3.2.0 (latest), and the .htaccess file is pretty straightforward: the exact content of what the instructions call for plus a canonical fix rule and a 404 rule, neither of which affects the behavior I've described.
Michael
-
Re: Module Working But Having Troubling Errors
Hi,
Quote:
Originally Posted by
E-Captivate
I have emailed Ceon about the issue and they are uncertain what the problem is. (I asked them point blank about whether the custom page_not_found feature is compatible with the mapping module, and they gave me a non-answer.)
My reply to you was:
Quote:
I'm afraid I don't understand what you mean by the customised document_not_found page.
You never replied to explain further.
Posting that I gave you a "non-answer" was simply rude.
All the best...
Conor
Ceon
-
Re: Module Working But Having Troubling Errors
Conor - I asked you twice, in two separate emails, whether the module was compatible with the page_not_found feature, and you did not answer the first time and you professed not to understand the second question.
It was obvious from your replies that you were very busy and, seeing as you are not getting paid for this module, I respect that. Instead of bothering you again, I took my issue to the forum to see if anyone else had experienced my same issues and, if so, anyone knew of an explanation or solution.
It was not intended as rude, but if it was taken that way, I apologize. I am only seeking a sound solution for my customer.
So is this module compatible with the page_not_found feature? If not, it would give me some clarity on my issues. Thanks.
-
Re: Module Working But Having Troubling Errors
Hi,
Quote:
Originally Posted by
E-Captivate
It was not intended as rude, but if it was taken that way, I apologize. I am only seeking a sound solution for my customer.
Fair enough. I'd been expecting you to e-mail me back to explain more. I rarely take as long to reply as 4 working days. I'd forgotten about your e-mail as it had arrived on a Saturday and I tend to just "flag" e-mails at weekends for the free distributions. Every so often I check to make sure that I haven't missed replying to any "flagged" e-mails. As I was so busy I hadn't carried out that task yet that week or I would have responded sooner. I did respond straight away to your second mail but I can understand that you wanted a quicker response so you can get your client sorted.
Quote:
Originally Posted by
E-Captivate
So is this module compatible with the page_not_found feature? If not, it would give me some clarity on my issues. Thanks.
I honestly didn't know what you meant by that, I didn't know if you were talking about some Apache 404/error settings or something but I've looked at my own Zen Cart installation and see that there is a "page_not_found" script and a page in the modules/pages folder.
I've never used that before but looking into the problem I can see that Zen Cart automatically loads the index page in init_includes/init_sanitize.php if the main_page variable is not set.
I think it would indeed make more sense for that to go to the page_not_found page so in init_ceon_uri_mapping you should add in a block to set the main_page variable if it isn't set. You can change the following lines (349-350):
PHP Code:
}
} else if (isset($_GET['main_page']) && isset($_SESSION['ceon_uri_mapping_redirected'])) {
to
PHP Code:
} else {
if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
$_GET['main_page'] = 'index';
} elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
header('HTTP/1.1 404 Not Found');
$_GET['main_page'] = 'page_not_found';
}
}
} else if (isset($_GET['main_page']) && isset($_SESSION['ceon_uri_mapping_redirected'])) {
That code doesn't redirect the user but simply brings up the page not found page.. which is the same behaviour Zen Cart uses as standard. Should it instead redirect to the page not found page?
Please let me know what you all think about that and I'll make the code part of 3.2.1 because now that I see what is happening, I think some code should be present, either to display the 404 page or redirect to it.
I'm not sure about the who's online issues.. I'm sure it's something to do with the rewrite rule. I'd need admin access to someone's site to see what's going on as I can't replicate the problem here, it's working fine for me.
All the best...
Conor
Ceon
-
Re: Module Working But Having Troubling Errors
Thanks, Conor, that did the trick!
And thank you for the assistance in solving the Apache error issue as well. For anyone else experiencing these errors, here was the solution:
I had enabled the favicon.ico code in the header_html.php file. By default, the "link href" lines for the favicon come before the "base href" line. This normally is not an issue, but once an SEO/mapping module was installed, it became problematic. The system was looking for /category/favicon.ico and /category/subcategory/favicon.ico and thus triggering Apache "file not found" errors. By moving the "base href" line to precede the favicon lines, the problem vanished.
-
Re: Ceon URI Mapping (SEO)
Dear CEON,
I have a big problem.
I add products/categories to my web site using direct DB injection.
There are currently over 19.000 products and over 4.000 categories.
CEON SEO URLs does not automatically attach rewrites to them, so basically i'd have to go over tens of thousands of entries right now in order to give each one SEO URLs.
I think this is a very crazy thing to do.
Any help? :cry:
Thank you very much.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pseudonym
CEON SEO URLs does not automatically attach rewrites to them, so basically i'd have to go over tens of thousands of entries right now in order to give each one SEO URLs.
I think this is a very crazy thing to do.
Yes, that would take a long time!
The current version of the module is aimed at new stores and small stores, not massive existing stores like yours.
It's probably not something you should use on your site at this time.
Sorry I can't give you better news than that!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
How can I UNINSTALL CEO SEO URLs?
-
Re: Ceon URI Mapping (SEO)
Why are you shouting? It's a bit annoying!
Go through the list of files in the Installation documentation, remove all the files from the "new files" list.
Copy fresh copies from a Zen Cart distribution over the modified core files, one by one, using the list of modified files in the installation documentation.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Not sure where I went wrong?
This is my store display at http://keepsafeco.com :
Quote:
1054 Unknown column 'um.query_string_parameters' in 'where clause'
in:
[ SELECT um.uri FROM zen_ceon_uri_mappings um WHERE um.main_page = '' AND um.associated_db_id IS NULL AND um.query_string_parameters IS NULL AND um.language_id = '1' AND current_uri = '1';]
I tried reloading all the files a couple times, no change.
V. 1.3.8a
I cut and pasted the .htaccess rules to the bottom of the .htaccess file in public/ , same dir as admin and index.php/.
Any idea where I have gone wrong? Thank you for any help.
-
Re: Ceon URI Mapping (SEO)
BTW - my admin seems to be fine.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Why are you shouting? It's a bit annoying!
Go through the list of files in the Installation documentation, remove all the files from the "new files" list.
Copy fresh copies from a Zen Cart distribution over the modified core files, one by one, using the list of modified files in the installation documentation.
All the best...
Conor
Ceon
I did that but I still see CEON SEO URLs stuff all over the place. How can I remove it from the database as well?
I still see it in Configuration->CEON as well...
-
Re: Ceon URI Mapping (SEO)
So, So sorry. Simply forgot to go to Modules > URI Mapping Config and create the database tables. At least I'm glad I figured it out before really making a fool of myself. :blush:
WORKS PERFECTLY!! :clap:
Thanks Ceon
Thank you Conor
PS - as soon as this store starts to make a little $$ I will donate, promise. Just don't have it right now.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
So, So sorry. Simply forgot to go to Modules > URI Mapping Config and create the database tables.
That's exactly what I was going to say!
Glad you've got it all sorted now! :)
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pseudonym
I did that but I still see CEON SEO URLs stuff all over the place.
Then you haven't gone through all the files properly.
Quote:
Originally Posted by
pseudonym
How can I remove it from the database as well?
I still see it in Configuration->CEON as well...
Use PHPMyAdmin. Delete the tables for the module and search and remove the defines from the configuration table. (Search for LIKE % CEON).
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
pseudonym
How can I UNINSTALL CEO SEO URLs?
Why not just restore the backup you took before installation? :dontgetit