-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
countrycharm
I believe that would be the correct thing to do. Good question Diva.... :)
Quote:
Originally Posted by
picandnix
I'll third that motion.
I have to ask because since Conor's passing, the die-hard community supporters of this add-on and the very GRACIOUS author of a "competing" module have been the ONLY support here for Ceon URI Mapping.. Conor's modules appear to have gone by the way of the Numinix free modules model (no updates or support here is forthcoming from the authors).. And that's fine.. but at the risk of rocking the boat, it would be nice if the keepers of Conor's legacy modules were to make a somewhat consistent appearance to actually SUPPORT Conor's free legacy modules too (not just this one ALL of them)..
OR
let the community know that no such support will be forthcoming nor should be expected.. After all we merry 4 have been managed to make it work for this add-on..:laugh:
IJS..
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
The question gets asked here often about creating URI entries for non product/category/EZ Pages URLs using this add-on.. I used to have a spreadsheet that I used to upload URIs to the mappings table.. Again while this is easy for me to execute, unless one is familiar with using a spreadsheet to upload data to a table, this process admittedly is not for the faint of heart.. (which is why I've never shared it -- I've no time/interest in explaining how to use it -- sorry:no:)
Now Conor provided very good instructions for how to do this. However one must be proficient with PHPMyAdmin to use them.. And I realize that not everyone who uses this module will be comfortable or proficient..
So I am considering putting together a SQL file that seeks to create URI Mapping records for all of the default Zen Cart pages based on method 1 of Conor's instructions.
Quote:
- The URI mapping to be mapped from should be entered in the uri field. (Remember to begin the URI with a slash ‘/’).
- The number representing the language ID this URI mapping applies for should be entered in the language_id field.
- The current_uri field should be set to “1” to make this the “current” URI.
- The Zen Cart page to be mapped to should be entered in the main_page field.
(ETA: The value is easy to find. It is what appears in the native URL after "main_page=" so for the Discount Coupon page this is "discount_coupon" which is derived from the URL as follows: "/index.php?main_page=discount_coupon") - The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function).
- The query_string_parameters, associated_db_id and alternate_uri fields are not used, they must be left as “NULL”. The redirection_type_code is not used either so it doesn't matter what value it has (it can just be left at the default value of 301).
The pages the SQL file will create would be based on the page information found here: http://www.zen-cart.com/wiki/index.php/Pages
Now that said if I can find time to put this together, it will ONLY cover the default pages.. Any CUSTOM pages from other modules such as Flexible Returns Authorization, Testimonial Manager, Contest Manager, About Us, etc will NOT be included. I will probably include a "Guest Account" page for users of COWOA since COWOA will be bundled into the upcoming v1.6 release.. However, fear not, the structure should be CLEAR enough for anyone (even a novice) to see how to add additional pages to the URI Mappings table.
Now this said, I would like to see if there is any community interest in this or not.. If not, then I won't put any effort into this at all..
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
The question gets asked here often about creating URI entries for non product/category/EZ Pages URLs using this add-on.. I used to have a spreadsheet that I used to upload URIs to the mappings table.. Again while this is easy for me to execute, unless one is familiar with using a spreadsheet to upload data to a table, this process admittedly is not for the faint of heart.. (which is why I've never shared it -- I've no time/interest in explaining how to use it -- sorry:no:)
Now Conor provided very good instructions for how to do this. However one must be proficient with PHPMyAdmin to use them.. And I realize that not everyone who uses this module will be comfortable or proficient..
So I am considering putting together a SQL file that seeks to create URI Mapping records for all of the default Zen Cart pages based on method 1 of Conor's instructions.
The pages the SQL file will create would be based on the page information found here:
http://www.zen-cart.com/wiki/index.php/Pages
Now that said if I can find time to put this together, it will ONLY cover the default pages.. Any CUSTOM pages from other modules such as Flexible Returns Authorization, Testimonial Manager, Contest Manager, About Us, etc will NOT be included. I will probably include a "Guest Account" page for users of COWOA since COWOA will be bundled into the upcoming v1.6 release.. However, fear not, the structure should be CLEAR enough for anyone (even a novice) to see how to add additional pages to the URI Mappings table.
Now this said, I would like to see if there is any community interest in this or not.. If not, then I won't put any effort into this at all..
Diva sound good to me. Anything is better than nothing at all.:D
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
After Finished installation. still i can see.
1.index.php?main_page=about_us
2./index.php?main_page=shippinginfo
3./index.php?main_page=site_map
4.index.php?main_page=gv_faq
5./index.php?main_page=discount_coupon
6./index.php?main_page=conditions
I want to example blew
1.mysite/1.about_us.html
2.mysite/shippinginfo.html
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
crixus
After Finished installation. still i can see.
1.index.php?main_page=about_us
2./index.php?main_page=shippinginfo
3./index.php?main_page=site_map
4.index.php?main_page=gv_faq
5./index.php?main_page=discount_coupon
6./index.php?main_page=conditions
I want to example blew
1.mysite/1.about_us.html
2.mysite/shippinginfo.html
This is related to what Diva Vocals has posted a few posts back. CEON's free uRI rewriter gives the tools to accomplish what you are asking, but requires the installer/operator to perform additional actions. If you are able to follow the general instructions that she posted above, then you should be able to get your desired end result.
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
mc12345678
This is related to what Diva Vocals has posted a few posts back. CEON's free uRI rewriter gives the tools to accomplish what you are asking, but requires the installer/operator to perform additional actions. If you are able to follow the general instructions that she posted above, then you should be able to get your desired end result.
and ONE MORE REASON why it pays to read through the support thread BEFORE posting a question as is suggested in the posting tips..
That last tip includes using the thread tools to search THIS thread.. This particular topic and the answer is not only covered in my post from today but in MANY other posts in this support thread (something I elude to in my post..)
Also the readme that comes with this add-on is one of the BEST WRITTEN ones available, and this particular topic is covered in DETAIL in the Ceon URI Mapping readme (which I also quote in my earlier post)..
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
The question gets asked here often about creating URI entries for non product/category/EZ Pages URLs using this add-on.. I used to have a spreadsheet that I used to upload URIs to the mappings table.. Again while this is easy for me to execute, unless one is familiar with using a spreadsheet to upload data to a table, this process admittedly is not for the faint of heart.. (which is why I've never shared it -- I've no time/interest in explaining how to use it -- sorry:no:)
Now Conor provided very good instructions for how to do this. However one must be proficient with PHPMyAdmin to use them.. And I realize that not everyone who uses this module will be comfortable or proficient..
So I am considering putting together a SQL file that seeks to create URI Mapping records for all of the default Zen Cart pages based on method 1 of Conor's instructions.
The pages the SQL file will create would be based on the page information found here:
http://www.zen-cart.com/wiki/index.php/Pages
Now that said if I can find time to put this together, it will ONLY cover the default pages.. Any CUSTOM pages from other modules such as Flexible Returns Authorization, Testimonial Manager, Contest Manager, About Us, etc will NOT be included. I will probably include a "Guest Account" page for users of COWOA since COWOA will be bundled into the upcoming v1.6 release.. However, fear not, the structure should be CLEAR enough for anyone (even a novice) to see how to add additional pages to the URI Mappings table.
Now this said, I would like to see if there is any community interest in this or not.. If not, then I won't put any effort into this at all..
Geez, Diva, you're genius. I know that recently I advocated another Zenner to use this produuct, and then was also asked about how to setup the pages like described.
I have worked a little with an easy populate plugin and could incorporate the structure and actions of it into at least that version. Hadn't even thought of incorporating it until your comment. I've been doing it the "hard way" when adding a new address and have rarely needed to do that..
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
mc12345678
Geez, Diva, you're genius. I know that recently I advocated another Zenner to use this produuct, and then was also asked about how to setup the pages like described.
I have worked a little with an easy populate plugin and could incorporate the structure and actions of it into at least that version. Hadn't even thought of incorporating it until your comment. I've been doing it the "hard way" when adding a new address and have rarely needed to do that..
Genius.. :laugh: Who me??? nah! I just play one on TV! :laugh:
Goodness if you could work out a way to help EZ Populate users who are using this add-on too that would be OUTSTANDING!!! One of the "achilles heels" of this add-on on is that EZ Populate users have to manually edit products/categories ADDED or MODIFIED via EZ Populate in order to get the URI Mapping table populated/updated..
Now if on TOP OF THAT, you could come up with a way to use EZ Populate to update the Ceon URI Mapping table, you could expand it to do more than just add the default pages. In theory you COULD come up with a means to allow shopowners to use EZ Populate for the initial population of the product, category, and EZ Pages URIs when one first installs this add-on on an existing store. This would be miles easier than having to manually update every product/category/EZ Page on the site..
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
This would be miles easier than having to manually update every product/category/EZ Page on the site..
And circumnavigate a rather (now, yet not previously) expensive commercial add-on that currently does it.
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
picandnix
And circumnavigate a rather (now, yet not previously) expensive commercial add-on that currently does it.
Which, in part is why I hadn't put something like it out there yet. I don't know if it is something like a programmer's respect or if it is that I don't want to be responsible for the loss of another's income (although I might be talked into it. :P), but I was considering providing the ability to interface with the applicable table(s), leaving any automation or other mixing and matching to the user. This is much like how the version of EP that I have come to like is setup. It seems to have all that is needed in it, but is not necessariily sequenced/documented for all things.
To incorporate in another version, I'd have to learn and tinker a bit. :P
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
mc12345678
Which, in part is why I hadn't put something like it out there yet. I don't know if it is something like a programmer's respect or if it is that I don't want to be responsible for the loss of another's income (although I might be talked into it. :P), but I was considering providing the ability to interface with the applicable table(s), leaving any automation or other mixing and matching to the user. This is much like how the version of EP that I have come to like is setup. It seems to have all that is needed in it, but is not necessariily sequenced/documented for all things.
To incorporate in another version, I'd have to learn and tinker a bit. :P
Honestly that's very nice that you feel this way, but not necessary since this add-on is a FREE module.. And since the original developer is no longer with us, and the free module is now largely supported by the community, I say it's more than okay to submit any helper add-ons we (as the community who are continuing to support this add-on) see fit to submit.. What you proposed could certainly end up being a lot more robust than my simple SQL script which only closes ONE gap. What you propose with EP could close ALL the gaps.. But let me make sure that I understand if this is what you are proposing:
Using either EP or a variant of EP
- Initial population of category/product/EZ Pages URI Mappings
- Initial population of default/other pages URI Mappings
- Updates to URI Mappings when changes to category/product/EZ Pages are needed
- Updates/Additions to URI Mappings when changes/additions to default/other pages are needed
Because if this is what you are suggesting, this would be FANTASTIC and a much WELCOME add-on to the Zen Cart community!!:smile:
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
Genius.. :laugh: Who me??? nah! I just play one on TV! :laugh:
Goodness if you could work out a way to help EZ Populate users who are using this add-on too that would be OUTSTANDING!!! One of the "achilles heels" of this add-on on is that EZ Populate users have to manually edit products/categories ADDED or MODIFIED via EZ Populate in order to get the URI Mapping table populated/updated..
Now if on TOP OF THAT, you could come up with a way to use EZ Populate to update the Ceon URI Mapping table, you could expand it to do more than just add the default pages. In theory you COULD come up with a means to allow shopowners to use EZ Populate for the initial population of the product, category, and EZ Pages URIs when one first installs this add-on on an existing store. This would be miles easier than having to manually update every product/category/EZ Page on the site..
I do have in my mind a way to accomplish it with the version of EP that I have come to use, but like in my last post, I feel like I have some sort of an ethical dilemma. Connor originally had a good reason to ask for compensation for his work on the "automated" version, and it would seem those that benefitted from it in turn did not release the modifications to those that did not provide compensation. As has been an answer to many poster's question (is it possible...), yes it is possible to do many things with ZC. This is an open source platform, improvements made based off of the needs and desires of those that need and desire different options and capabilities. It is not specifically (in my opinion) something that exists to "thwart" the man, but has come about from a group of like minded people that got together and made something that is used by tens if not hundreds of thousands of store owners. So, part of me contemplates the release of something that to some extent already exists but by a different "name" and in a way the effects. As a single individual, I am not sure to what extent I would be able to support the myriad of resulting questions, it is likely to result in the increase of consultants and consultations to support, and have an impact on well in a sense the legacy of Connor. I am not saying that I agree or disagree with what has happened with what he did, but by creating functionality equivalent to an existing product does have it's impacts both on a personal level as well as a professional level.
I also realize that there is a time and place for things, and that some things require time before getting to the right place. I guess in a way, I have my concerns. If I didn't know so much about the situation I probably wouldn't think twice about doing it.
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
Honestly that's very nice that you feel this way, but not necessary since this add-on is a FREE module.. And since the original developer is no longer with us, and the free module is now largely supported by the community, I say it's more than okay to submit any helper add-ons we (as the community who are continuing to support this add-on) see fit to submit.. What you proposed could certainly end up being a lot more robust than my simple SQL script which only closes ONE gap. What you propose with EP could close ALL the gaps.. But let me make sure that I understand if this is what you are proposing:
Using either EP or a variant of EP
- Initial population of category/product/EZ Pages URI Mappings
- Initial population of default/other pages URI Mappings
- Updates to URI Mappings when changes to category/product/EZ Pages are needed
- Updates/Additions to URI Mappings when changes/additions to default/other pages are needed
Because if this is what you are suggesting, this would be FANTASTIC and a much WELCOME add-on to the Zen Cart community!!:smile:
So, perhaps that would be the end user(s) thought on how it would work, but here is my possible duplication of that statement in a somewhat sequence of development/design.
1) First export of the existing CEON URI table/tables.
2) identify relationships of that data with other tables in the database/EP program so that can export applicable CEON data with the applicable file export file.
3) Incorporate import capability to each of the file types.
4) Provide detection for existence of CEON URI being installed.
5) Create default file(s) based off of export of such to then be import by "new" users.
6) Incorporate export of new path based on admin chosen sequence for items exported that do not have a path assigned yet.
7) Detect path to be formatted as originally described (/ first followed by whatever "sub-directory" is part of ZC install with possibility of an admin override for those hey need it, want it this way kind of instances.
8) Incorporate a switch that controls the "calculation" of the path so that on import a check is made and based on difference(s) recreates the new path withthe expectation of the new one becoming the only "new" one for that identifier.
9) Generation of the new path/verification would need to include/incorporate existing switches and settings of this plugin (ie -, _, lower case, upper case and other separators)
I'm not sure what is implied/expected about "Updates/Additions to URI Mappings when changes/additions to default/other pages are needed" I mean I think that this is covered by what I describe above, but not sure.
The thought is that the file(s) would be of a CSV type and more than likely need to be manipulated by a spreadsheet program (or similar text editor) that would maintain quotes around all data, with quoted text split by commas, all data in a UTF-8 format, umm kinda can't think of anything else related, but think that we are on the same page? Not to say that your SQL code wouldn't still be good. At least would be good to have a starting point of the desired URI remappings/pages to remap, etc...
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
I respect your opinion, and I would agree except for two things..
1. Conor is no longer with us
2. The free version of this module is now being supported solely by the community
So I'm going to put together my SQL script when my time permits.. Conor's passing has changed things.. If he were alive I would totally feel differently.. Unfortunately Conor is no longer with us and as one of the community members who has stuck around to help with support, I want to help improve things for the users of the free module..
Quote:
Originally Posted by
mc12345678
I do have in my mind a way to accomplish it with the version of EP that I have come to use, but like in my last post, I feel like I have some sort of an ethical dilemma. Connor originally had a good reason to ask for compensation for his work on the "automated" version, and it would seem those that benefitted from it in turn did not release the modifications to those that did not provide compensation. As has been an answer to many poster's question (is it possible...), yes it is possible to do many things with ZC. This is an open source platform, improvements made based off of the needs and desires of those that need and desire different options and capabilities. It is not specifically (in my opinion) something that exists to "thwart" the man, but has come about from a group of like minded people that got together and made something that is used by tens if not hundreds of thousands of store owners. So, part of me contemplates the release of something that to some extent already exists but by a different "name" and in a way the effects. As a single individual, I am not sure to what extent I would be able to support the myriad of resulting questions, it is likely to result in the increase of consultants and consultations to support, and have an impact on well in a sense the legacy of Connor. I am not saying that I agree or disagree with what has happened with what he did, but by creating functionality equivalent to an existing product does have it's impacts both on a personal level as well as a professional level.
I also realize that there is a time and place for things, and that some things require time before getting to the right place. I guess in a way, I have my concerns. If I didn't know so much about the situation I probably wouldn't think twice about doing it.
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
DivaVocals
I respect your opinion, and I would agree except for two things..
1. Conor is no longer with us
2. The free version of this module is now being supported solely by the community
So I'm going to put together my SQL script when my time permits.. Conor's passing has changed things.. If he were alive I would totally feel differently.. Unfortunately Conor is no longer with us and as one of the community members who has stuck around to help with support, I want to help improve things for the users of the free module..
I'd like to wade in here and make a suggestion/raise a question on the ethical/commercial aspect of this situation:
Basically, if as suggested in this thread, Conor's family are beneficiaries (and so they should be as it stands today IMHO) to the costs/annual licence fee now associated with the *commercial* add-on (the manager) that this potential enhancement to the FREE module could potentially 'do away with'. Well, how do we know for *fact* that they *are* benefiting financially? I realise in reality the only two parties that can answer this dilemma are Conor's family (I don't believe it's ethical to draw them into this debate even if anyone did know of them) or the more obvious being JS Web.
JS Web are you able to shed any light on this situation of potential development? Do Conor's family continue to benefit from his commercial work that you now trade?
There, the proverbial Elephant gets a mention!
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
picandnix
I'd like to wade in here and make a suggestion/raise a question on the ethical/commercial aspect of this situation:
Basically, if as suggested in this thread, Conor's family are beneficiaries (and so they should be as it stands today IMHO) to the costs/annual licence fee now associated with the *commercial* add-on (the manager) that this potential enhancement to the FREE module could potentially 'do away with'. Well, how do we know for *fact* that they *are* benefiting financially? I realise in reality the only two parties that can answer this dilemma are Conor's family (I don't believe it's ethical to draw them into this debate even if anyone did know of them) or the more obvious being JS Web.
JS Web are you able to shed any light on this situation of potential development? Do Conor's family continue to benefit from his commercial work that you now trade?
There, the proverbial Elephant gets a mention!
And let me add to this.. I'm not trying to do away with anything here.. (I KNOW you didn't say this.. I just wanted to get that out there..:smile:)
I only want to share something that might benefit the users of this free module.. It's open source, and there's nothing really that says I can't share a SQL file with the community.. and so it's clear, if Conor were still here with us, I would definitely think twice about sharing this.. I had a few inquiries about the spreadsheet I used to use to add the default pages to the Mappings table. I declined to share it with those who asked for a variety of reasons, but partially because I didn't want to bump heads with Conor. The truth is as this is an open source GPL'd add-on. I didn't HAVE to NOT share my spreadsheet.. I simply chose not to..
BTW, the the GPL license doesn't stop anyone who owns the commercial version of this module from sharing or even selling it.. The GPL license in fact it ALLOWS this..
Quote:
Does the GPL allow me to require that anyone who receives the software must pay me a fee and/or notify me? No. In fact, a requirement like that would make the program non-free. If people have to pay when they get a copy of a program, or if they have to notify anyone in particular, then the program is not free. See the
definition of free software.
The GPL is a free software license, and therefore it permits people to use and even redistribute the software without being required to pay anyone a fee for doing so.
If I distribute GPL'd software for a fee, am I required to also make it available to the public without a charge? No. However, if someone pays your fee and gets a copy, the GPL gives them the freedom to release it to the public, with or without a fee. For example, someone could pay your fee, and then put her copy on a web site for the general public.
Source: http://www.gnu.org/licenses/gpl-faq.html
The only part of this module that is NOT GPL is the documentation.. IT cannot be redistributed..
Now yes it's true that no one ever submitted any enhancements or "helpers" to this add-on. People don't generally share commercial mods with others, but mostly I think folks can agree that many folks never did this because they respected Conor.. Plus it never "seemed" right to do this..
What I propose to share will nowhere do away with any commercial mod for sale as it only address a small part of the benefit the commercial mod brings to the table.. BUT let's not confuse RESPECT with REQUIRED.. Under the GPL license, they are not one and the same.. If someone were to come along and submit something which would equal the functionality of the commercial module, they certainly wouldn't be breaking any rules whether they offered it for free or decided to sell it.. IJS..
-
2 Attachment(s)
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Attachment 13260
In _docs instruction, I saw file extension (e.g. “.html,php”).ending product and category.
BUt it dosen;t work.
here is my .htaccess file.
Code:
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /test/
RewriteCond %{REQUEST_URI} ^/test/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/test/adminz [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/test/editors/ [NC]
# Don't rewrite copy of test directory
RewriteCond %{REQUEST_URI} !^/test/copy\ of\ test/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/test/logs/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* test/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
BACK UP YOUR .HTACCESS
then try this...
Code:
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /test/
RewriteCond %{REQUEST_URI} ^/test/ [NC]
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/test/adminz [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/test/editors/ [NC]
# Don't rewrite copy of test directory
RewriteCond %{REQUEST_URI} !^/test/copy\ of\ test/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/test/logs/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* test/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
crixus
In _docs instruction, I saw file extension (e.g. “.html,php”).ending product and category.
BUt it dosen;t work. ...
Can you please me a little more clear WHAT is not working? Are you seeing an error message or blank page? Are you getting a 404 page? Are the links on the page not ending with ".html"?
Quote:
Originally Posted by
lhungil
... The fastest way to get help is to first read and then post in the module's support thread (if the topic has not been covered). In your post you should include exact details about your Zen Cart installation, module version, what you are seeing, what you want to see, a link to your site, and any other pertinent details. ...
You still have not provided the version of Zen Cart, the version of CEON URI Mapper, details of what EXACTLY is not working, or a link to the website in question. Please answer these questions if you want help.
-
Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart
Quote:
Originally Posted by
picandnix
BACK UP YOUR .HTACCESS
then try this...
Code:
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /test/
RewriteCond %{REQUEST_URI} ^/test/ [NC]
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/test/adminz [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/test/editors/ [NC]
# Don't rewrite copy of test directory
RewriteCond %{REQUEST_URI} !^/test/copy\ of\ test/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/test/logs/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* test/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
I didn't see what the functional difference was between the two versions, although I didn't use an electronic character comparer. Visually they seemed to contain the same direction.
I haven't modified my own htaccess to try to accomplish what I think is desired here, but so far all we know is that the OP believes there is a problem with the htaccess, but this issue seems to require at least three pieces of information: the htaccess rules (really should not include the admin folder name when presenting) the web address attempted (at least everything after the server name, although ideally the entire address), and the rewrite url assigned to the item, area, page, etc... (Current and or past that still reside in the database.)
It would seem to me, that if all three of these do not line up then there is an issue; if the last two are equivalent then yes probably an htaccess issue. Also, is this add-in working on the site otherwise? If I understand the situation correctly from recent posts:
Site has been upgraded/moved or otherwise copied, desirable to have/keep old addresses to items, but have installed this plugin, plugin instructions refer to using the rewrite rules to handle old links, modified htaccess to suit what the docs say can be done, tested system response and it "did not work" as old link paths (that do include the desired .html extension) have not been provided.
So unfortunately, lhungil, just beat me to the punch, but if the above is relatively true, I would say that it is not the htaccess that is the problem. But, there I go again throwing out ideas based on limited information. Please help us help you like countless others have asked of newer zen posters.
-
Re: Ceon URI Mapping v4.x
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
That's nice.. post the ACTUAL URL TO YOUR SITE SO WE CAN HELP YOU....
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
So we are getting closer to having all the right questions answered.
1) so, CEON URI Mapping is working for you?
2) is it that you want to display that uri?
3) is it that you want that uri to reach that product, but are okay with what is displayed now?
If the answer to 1 and 2 is yes then, update the uri for your hard-drive 1tb to have the extension(s) of your choice. Whatever is last entered will be what appears in the browser by your customers. This update would be done in the admin panel like when you edit or enter a new product into the database, via routine functions (default).
if the answer to 1 and 3 is yes (not 2) then you would want to update like in answer above; however, will need to update again as a "final" update to remove the extension.
If the answer to 1 is no, then back to basics.
otherwise, you could go more advanced and modify the uri mappings table to provide the address as desired. This is covered elsewhere in the forum and documentation.
Ohh, and lastly, whatever extension you choose (assuming it will be HTML) to keep displayed, make sure that the htaccess file properly recognizes it. Ie, having HTML like you posted a few messages back.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
So we are getting closer to having all the right questions answered.
1) so, CEON URI Mapping is working for you?
2) is it that you want to display that uri?
3) is it that you want that uri to reach that product, but are okay with what is displayed now?
If the answer to 1 and 2 is yes then, update the uri for your hard-drive 1tb to have the extension(s) of your choice. Whatever is last entered will be what appears in the browser by your customers. This update would be done in the admin panel like when you edit or enter a new product into the database, via routine functions (default).
if the answer to 1 and 3 is yes (not 2) then you would want to update like in answer above; however, will need to update again as a "final" update to remove the extension.
If the answer to 1 is no, then back to basics.
otherwise, you could go more advanced and modify the uri mappings table to provide the address as desired. This is covered elsewhere in the forum and documentation.
Ohh, and lastly, whatever extension you choose (assuming it will be HTML) to keep displayed, make sure that the htaccess file properly recognizes it. Ie, having HTML like you posted a few messages back.
Are you suggesting editing the product URI and adding the extension directly to the URI?? If so I am pretty sure that you can't do that..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
Are you suggesting editing the product URI and adding the extension directly to the URI?? If so I am pretty sure that you can't do that..
That is essentially what I am suggesting, based on the following:
1) from the admin panel
Offer Auto-generation of URIs for Categories, Products, Manufacturers and EZ-Pages: |
Should the option to auto-generate URIs be offered in the admin for Categories/Products/Manufacturers/EZ-Pages?
Generated URIs are based on their Category Names/Product Names/Manufacturer Names/EZ-Page Titles. For Products/Categories the full Category Path is used. |
|
2) the auto generated uri is extensionless.
3) by incorporating the desired extension into the htaccess rule, CEON uri is allowed to interpret the provided uri. If it knows of one that ends in HTML, then it will handle it appropriately. If it doesn't recognize it then it will treat as an unknown/page not found.
4) this plugin is so malleable that really any path can be provided it seems as long as it leads to a product that is reachable.
5) based on the above, the use of the historical paths, the snippet of the instruction manual, and my own understanding of how this plugin works, makes me think that the above will work. Its a bit obscure, but it seems to conform with the requirements and the instructions. Another one of those, yeah it says that, but not clearly like a step by step, or what initial conditions must exist.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
Are you suggesting editing the product URI and adding the extension directly to the URI?? If so I am pretty sure that you can't do that..
Quote:
Originally Posted by
mc12345678
That is essentially what I am suggesting, based on the following:
1) from the admin panel
Offer Auto-generation of URIs for Categories, Products, Manufacturers and EZ-Pages: |
Should the option to auto-generate URIs be offered in the admin for Categories/Products/Manufacturers/EZ-Pages?
Generated URIs are based on their Category Names/Product Names/Manufacturer Names/EZ-Page Titles. For Products/Categories the full Category Path is used. |
|
2) the auto generated uri is extensionless.
3) by incorporating the desired extension into the htaccess rule, CEON uri is allowed to interpret the provided uri. If it knows of one that ends in HTML, then it will handle it appropriately. If it doesn't recognize it then it will treat as an unknown/page not found.
4) this plugin is so malleable that really any path can be provided it seems as long as it leads to a product that is reachable.
5) based on the above, the use of the historical paths, the snippet of the instruction manual, and my own understanding of how this plugin works, makes me think that the above will work. Its a bit obscure, but it seems to conform with the requirements and the instructions. Another one of those, yeah it says that, but not clearly like a step by step, or what initial conditions must exist.
So I ran a little test without modifying my htaccess from the "default" and it worked as desired. I created a product with an auto generated uri, stored it. Then went back and edited it (unchecking the auto generate button) and added an extension of six characters (outside the default of 2 to 5). Stored that, and then tried to access the product with the default address that has no extension, went to new address with extension. Tried typing with extension and obviously went there. Then went back and updated with default auto generate. Still able to get to product with either address, but what is shown on screen, doesn't have an extension.
Again why if I am asked, I recommend this plugin over others, it's smarter because it doesn't delete old info and because it can all be preplanned or modified as necessary.
-
Re: Ceon URI Mapping v4.x
and this is all fine and dandy.. however if I understand what crixus was trying to accomplish, he is NOT wanting to have to enter the URI (with extension) every time he adds a product. Sure, your solution will work, but it certainly defeats the ease-of-use that the auto-generation function provides..
He can do this using .htaccess, and apparently it's not working..
So it would be helpful if crixus would simply provide 3 things:
- A link to his ACTUAL WEBSITE so we can see what he sees
- Confirm that Ceon URI Mapping is working out the box without the configuration he is trying to achieve (something we could SEE for ourselves if he'd only post a link to his site)
- Post his .htacess file where things are not working.. (this is the only thing he has done thus far)
Quote:
Originally Posted by
mc12345678
That is essentially what I am suggesting, based on the following:
1) from the admin panel
Offer Auto-generation of URIs for Categories, Products, Manufacturers and EZ-Pages: |
Should the option to auto-generate URIs be offered in the admin for Categories/Products/Manufacturers/EZ-Pages?
Generated URIs are based on their Category Names/Product Names/Manufacturer Names/EZ-Page Titles. For Products/Categories the full Category Path is used. |
|
2) the auto generated uri is extensionless.
3) by incorporating the desired extension into the htaccess rule, CEON uri is allowed to interpret the provided uri. If it knows of one that ends in HTML, then it will handle it appropriately. If it doesn't recognize it then it will treat as an unknown/page not found.
4) this plugin is so malleable that really any path can be provided it seems as long as it leads to a product that is reachable.
5) based on the above, the use of the historical paths, the snippet of the instruction manual, and my own understanding of how this plugin works, makes me think that the above will work. Its a bit obscure, but it seems to conform with the requirements and the instructions. Another one of those, yeah it says that, but not clearly like a step by step, or what initial conditions must exist.
Quote:
Originally Posted by
mc12345678
So I ran a little test without modifying my htaccess from the "default" and it worked as desired. I created a product with an auto generated uri, stored it. Then went back and edited it (unchecking the auto generate button) and added an extension of six characters (outside the default of 2 to 5). Stored that, and then tried to access the product with the default address that has no extension, went to new address with extension. Tried typing with extension and obviously went there. Then went back and updated with default auto generate. Still able to get to product with either address, but what is shown on screen, doesn't have an extension.
Again why if I am asked, I recommend this plugin over others, it's smarter because it doesn't delete old info and because it can all be preplanned or modified as necessary.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
and this is all fine and dandy.. however if I understand what crixus was trying to accomplish, he is NOT wanting to have to enter the URI (with extension) every time he adds a product. Sure, your solution will work, but it certainly defeats the ease-of-use that the auto-generation function provides..
He can do this using .htaccess, and apparently it's not working..
So it would be helpful if crixus would simply provide 3 things:
- A link to his ACTUAL WEBSITE so we can see what he sees
- Confirm that Ceon URI Mapping is working out the box without the configuration he is trying to achieve (something we could SEE for ourselves if he'd only post a link to his site)
- Post his .htacess file where things are not working.. (this is the only thing he has done thus far)
So, I would agree on two things, the additional information is needed, and that the expectation is not to have to enter all of the previous web addresses to fully incorporate the ease of use of this plugin. Remember this is the same individual that asked about the ability to import previous uris that sparked a discussion about another product.
So, yes, a utility that could auto generate uris or import a listof them would be helpful to this individual, but also I could see that perhaps a SQL script could be written against the existing database that if it already had functional current uRIs, could append the applicable .html and insert a new "old" URI so that existing links would be redirected to the new convention offered by this plugin.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
That's nice.. post the ACTUAL URL TO YOUR SITE SO WE CAN HELP YOU....
Quote:
Originally Posted by
mc12345678
So we are getting closer to having all the right questions answered.
1) so, CEON URI Mapping is working for you?
2) is it that you want to display that uri?
3) is it that you want that uri to reach that product, but are okay with what is displayed now?
If the answer to 1 and 2 is yes then, update the uri for your hard-drive 1tb to have the extension(s) of your choice. Whatever is last entered will be what appears in the browser by your customers. This update would be done in the admin panel like when you edit or enter a new product into the database, via routine functions (default).
if the answer to 1 and 3 is yes (not 2) then you would want to update like in answer above; however, will need to update again as a "final" update to remove the extension.
If the answer to 1 is no, then back to basics.
otherwise, you could go more advanced and modify the uri mappings table to provide the address as desired. This is covered elsewhere in the forum and documentation.
Ohh, and lastly, whatever extension you choose (assuming it will be HTML) to keep displayed, make sure that the htaccess file properly recognizes it. Ie, having HTML like you posted a few messages back.
Quote:
Originally Posted by
crixus
Here is my store link: http://skystore.tk/
plz plz plz help me to fix that, i am so tired to fix that. i already spend 2 days for fix it but i can't.
After Ceon URI Mapping everything wroks fine but......
http://skystore.tk/hardware/graphics...atrox-g200-mms
i want to make http://skystore.tk/hardware/graphics...x-g200-mms.php or html.
1. http://skystore.tk/index.php?main_page=about_us to http://skystore.tk/about_us.php or html.
2. http://skystore.tk/index.php?main_page=site_map to http://skystore.tk/site_map .php or html.
3.http://skystore.tk/index.php?main_page=login to http://skystore.tk/login.php or html.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
It's already been explained that YOU need to enter the URIs into the Mappings table for these links.. (please go back to the initial response you received when you asked about this..
As for the other issue you are having I'm going to leave it to those who have a better grasp on how Apache directives work to help you..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
So one of the obvious questions is why do you want to have all of your addresses end with .html or .php? If you end up using .html, a guest that types .htm instead will not be redirected appropriately.
If it is an all the time thing to be displayed, then yes at the moment, hopefully someone with more apache experience can help.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
So one of the obvious questions is why do you want to have all of your addresses end with .html or .php? If you end up using .html, a guest that types .htm instead will not be redirected appropriately.
If it is an all the time thing to be displayed, then yes at the moment, hopefully someone with more apache experience can help.
Okey then i don't need .html
now help me to fixed that
1. http://skystore.tk/index.php?main_page=about_us to http://skystore.tk/about_us.php or html.
2. http://skystore.tk/index.php?main_page=site_map to http://skystore.tk/site_map .php or html.
3.http://skystore.tk/index.php?main_page=login to http://skystore.tk/login.php or html.
viba explain this already but i can't do anything!!!!!!! plz you and viba help me.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
It's already been explained that YOU need to enter the URIs into the Mappings table for these links.. (please go back to the initial response you received when you asked about this..
As for the other issue you are having I'm going to leave it to those who have a better grasp on how Apache directives work to help you..
They are not doing as Y'all are suggesting, they I believe want you, us to go into there database and enter the URIs into the Mappings table for them. It probably would be a lot simpler than trying to explain this to them. It has already took up 5 pages......lol:blink:
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
countrycharm
They are not doing as Y'all are suggesting, they I believe want you, us to go into there database and enter the URIs into the Mappings table for them. It probably would be a lot simpler than trying to explain this to them. It has already took up 5 pages......lol:blink:
:please:
-
1 Attachment(s)
Re: Ceon URI Mapping v4.x
For index.php?main_page=contact_us you must enter a record in the database manually according to the section of the docs "Adding a URI Mapping for Other Zen Cart pages".
Conor
Attachment 13263
Please don't be annoy.
Help me to fix it. :( :please:
-
1 Attachment(s)
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
For index.php?main_page=contact_us you must enter a record in the database manually according to the section of the docs "Adding a URI Mapping for Other Zen Cart pages".
Conor
Attachment 13263
Please don't be annoy.
Help me to fix it. :( :please:
Go to your database and follow the picture example for each url you are wanting to create.
Attachment 13264
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
For index.php?main_page=contact_us you must enter a record in the database manually according to the section of the docs "Adding a URI Mapping for Other Zen Cart pages".
Conor
Attachment 13263
Please don't be annoy.
Help me to fix it. :( :please:
So, I don't think it is that help isn't out there; however, there is a concern that this is something that being "routine" to possibly have to do is also something that you as a store owner should come to learn and understand. Otherwise, you may need to directly approach someone that you maybe willing to compensate for the assistance (as others have already hinted), and depending on how things go, you may have your problem corrected, but not have learned anything from it.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
So, I don't think it is that help isn't out there; however, there is a concern that this is something that being "routine" to possibly have to do is also something that you as a store owner should come to learn and understand. Otherwise, you may need to directly approach someone that you maybe willing to compensate for the assistance (as others have already hinted), and depending on how things go, you may have your problem corrected, but not have learned anything from it.
That's true too no doubt, but some people just needs that extra nudge to understand on whats going on. You are right in saying they are not going to learn anything by someone else doing for them. Hand on experience is always better in learning.
-
Re: Ceon URI Mapping v4.x
Unfortunately this support thread cannot teach you how to use the PHPmyAdmin tools.. the readme instructions are clear, but if you do not know how to use the tool required to do this, this is not place to teach you.. now you can either pay for help with this or spend some time learning how to use the PHPmyAdmin tools..
Quote:
Originally Posted by
crixus
For index.php?main_page=contact_us you must enter a record in the database manually according to the section of the docs "Adding a URI Mapping for Other Zen Cart pages".
Conor
Attachment 13263
Please don't be annoy.
Help me to fix it. :( :please:
-
Investing in your business
Off Topic (like much in this thread)…
[RANT]
I held off installing the URI Mapping Addon for a long time as
- It’s unnecessary
- when I saw the immense/bewildering/frightening amount of code it involved mixing into my site I thought “no way”. I never install anything blindly, there are always things I don’t like in the code or stuff not done “as standard”. I thought “this is never going to work first time” like most plugins and I’ll never be able to fix it but that was before I got to know Conor a little and his standards. Obviously it does work first time.
But I wanted nice links to paste into emails and once I started to use it, it became obvious the URI Mappings Manager was essential and the price of $xxx (whatever/irrelevant) was frankly risible for what I considered were TWO plugins (of outstanding quality and functionality) as in effect that is what the cost was for.
I cannot imagine the time that really went into coding, documenting and making these hugely complicated plugins literally plug-in and fault-free…something that most “plugins” certainly are not.
But, as anyone who codes for Zen Cart for money is well aware, the constant fight is that since people can download and use Zen Cart without paying for it, they expect custom-coding by a third party to be also for free, or close to it. Why?
I have very little free time to code mods and fix other peoples mods when I try to use them. My time is very valuable/irreplaceable and I have long ago learnt the value of buying something that works first time and working with people who do what they promise (now, a distant memory). I need fast and I need working, buggering about with code is a waste of my time, I still do it but I shouldn't.
Time is money and I have a business to develop…doesn’t everyone here? I assume everyone who is commenting in this thread has a business and so has costs associated with that business.
I looked at the fee charged by the current suppliers of the URI Mapping Manager and I read the comments about the efforts that various people may make to basically provide that functionality for free and I think “why are you bothering”? Don’t you have something more profitable to do with your time?
That fee doesn’t even equate to my phone bill or four fours of a quality coder.
It’s a paltry business cost…doesn’t everyone have more profitable things to do with their time than reinvent the wheel?
Add more products, improve the content, active marketing….etc. the list is endless as to what you can do to make more money, but trying to save the fee for some software and spending lots of hours in the process strikes me as absurd and unjustifiable.
Put it in your business plan and present it to your bank as an efficient use of your time, see if they agree.
I’m not trying to justify the change in the price, but that is the past and this is the present. Who cares where the money goes? It’s a product for sale like any other. The fact that Conor massively undervalued his efforts has been to the benefit of many people here in the past, but that’s the past.
I’m looking at a Zen Cart connector for the ERP I am using and that is over 400 euros, but I’ll probably buy it. It’s a business cost and if I offset it against me doing it myself over six months between 10pm-1am every night, it’s not up for discussion.
In conclusion, I'm saying if you have a business, be business-like and value your time realistically, look at the big picture.
ps I have no connection to the suppliers of this mod!!
[/RANT]
-
Re: Investing in your business
Quote:
Originally Posted by
torvista
Time is money and I have a business to develop…doesn’t everyone here? I assume everyone who is commenting in this thread has a business and so has costs associated with that business.
I looked at the fee charged by the current suppliers of the URI Mapping Manager and I read the comments about the efforts that various people may make to basically provide that functionality for free and I think “why are you bothering”? Don’t you have something more profitable to do with your time?
That fee doesn’t even equate to my phone bill or four fours of a quality coder.
It’s a paltry business cost…doesn’t everyone have more profitable things to do with their time than reinvent the wheel?
Add more products, improve the content, active marketing….etc. the list is endless as to what you can do to make more money, but trying to save the fee for some software and spending lots of hours in the process strikes me as absurd and unjustifiable.
Put it in your business plan and present it to your bank as an efficient use of your time, see if they agree.
I’m not trying to justify the change in the price, but that is the past and this is the present. Who cares where the money goes? It’s a product for sale like any other. The fact that Conor massively undervalued his efforts has been to the benefit of many people here in the past, but that’s the past.
I’m looking at a Zen Cart connector for the ERP I am using and that is over 400 euros, but I’ll probably buy it. It’s a business cost and if I offset it against me doing it myself over six months between 10pm-1am every night, it’s not up for discussion.
In conclusion, I'm saying if you have a business, be business-like and value your time realistically, look at the big picture.
ps I have no connection to the suppliers of this mod!!
[/RANT]
Speaking only for myself, I am not trying to re-invent anything.. I proposed to share a simple SQL file that would be of use for a FREQUENTLY asked question in all of the Ceon URI Mapping support threads.. and it's also something I've been asked about privately over the last few years as well.. The time for me to convert my old spreadsheet to a SQL file is nothing because of the way I've constructed my spreadsheet.. So when my time permits, I will create and share a SQL file that will create mapping table records for the default pages based on the instructions in the readme for doing this. Not because I'm trying to re-invent the wheel. I simply wanted to share a way to automate something already covered in the Ceon URI Mapping readme document (adding records to the Mapping table for all of the default Zen Cart pages). It should provide a means for novice owners to add the default pages to the mappings table without having to know how to use PHPmyAdmin.
So I don't disagree with you that the cost of the Mapping Manager is minor, and I am a BIG proponent that DIY shopowners need to be prepared to INVEST in their site dev costs from time to time.. However, I know first hand from watching this module for the last 4 years that some business owners are not (for their own reasons) going to spend the money to purchase the Mappings Manager no matter how awesome it is.. and given the increase in cost for it, I don't imagine that that this will change. These shopowners will instead go through all their products, categories and EZ Pages and re-save them one by one to auto-generate the URIs. Then they will come here and ask about how to create pretty links for the rest of the Zen Cart pages (contact us, sitemap, etc..), and they will be pointed to the instructions in the readme for doing this.. And as recent posts have demonstrated, while those these instructions are easy for those who understand how to use PHPmyAdmin, not all shopowners are comfortable/able to use PHPmyAdmin to execute those instructions. What I am planning to share bridges that gap by creating records in the Mappings table for the default Zen Cart pages.. It is really the conversion of something I used before I obtained my own copy of the Mappings Manager.. Not a waste of MY TIME, and not re-inventing the wheel..
And while I cannot speak for mc12345678 and his time or motives, I do know that what he is doing with EP appears to be something that has also been asked about. (How to use EP with Ceon URI Mappings) So if he has come up with a means to use EP to populate the mappings table it too closes a gap that has been identified.. this too is not reinventing the wheel.. to the contrary it would save time for those using EP and Ceon URI Mapping together..
-
Re: Investing in your business
You had me nodding right up to this statement...
Quote:
Originally Posted by
torvista
Who cares where the money goes?
Surely the money should go to the *owner* of the product that is being sold?
-
Re: Investing in your business
@Diva and mc12345678
It's these efforts that people like yourselves make, that ensure this forum and hence Zen Cart is by far the best for DIY shop owners, I really don't know where you find the time. Its a relatively small group of people that continue to do the support in a lot of areas and more power to your elbow, I hope you get lots of real work out of it.
My comments are aimed at the people who continue to think everything should be for free and WILL waste their time trying to do everything on the cheap when they don't have the technical skills to do so, rather than getting real and accepting any business needs some investment and getting on with it.
@picandnix
You are right, of course it matters where the money goes...when you know the history.
New users only need to know a product works and they have to put a value on the purchase and the benefits it returns, same as any business purchase. Who sells it is not relevant to them.
Others who know more just see the price difference and are piqued that they missed the boat on not purchasing it earlier.
Others know a bit more or have personal experience and are piqued that its not going to Conor himself and that he made less money out of it, and that is the most irritating of all.
But, that was then, this is now and we have to move on.
At least Conor's products are still available and keep his reputation and memory intact. It would really be more tragic if they had gone with him.
-
Re: Investing in your business
Quote:
Originally Posted by
torvista
@Diva and mc12345678
It's these efforts that people like yourselves make, that ensure this forum and hence Zen Cart is by far the best for DIY shop owners, I really don't know where you find the time. Its a relatively small group of people that continue to do the support in a lot of areas and more power to your elbow, I hope you get lots of real work out of it.
Time! Yes indeed.. I do not have time to sit around create/contribute stuff just for the heck of it.. :laugh: Most of what I've contributed back has been based on things I've done (or needed) for my own clients, and wanted to share back with the community (Super Orders and Edit Orders are examples of this). The SQL file I propose to share is one of those things.. So for me it's already real work that I'm simply choosing to share rather than a means to obtain real work.. One place it DOES pay back for me though is in my day job (because my clients web design/dev is not my primary source of income). Everything I learn here DEFINITELY has been put to use there..
Quote:
Originally Posted by
torvista
My comments are aimed at the people who continue to think everything should be for free and WILL waste their time trying to do everything on the cheap when they don't have the technical skills to do so, rather than getting real and accepting any business needs some investment and getting on with it.
Oh you are preaching to the choir my friend.. I have said frequently said the very same thing, and have been accused of all kinds of terrible things by these very kinds of business owners.. Bottomline is business owners need to INVEST in their businesses, and just because Zen Cart is free doesn't mean that everything associated with building ones Zen Cart site is (or should be) free.. For this reason, there's LOTS I've done (or commissioned on behalf of for my clients) that I have NOT shared with the community (nor will I EVER share) for these reasons.. My clients have INVESTED in their sites because they get that they will not be able to as you aptly put it "do everything on the cheap when they don't have the technical skills to do so".
-
1 Attachment(s)
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
countrycharm
Go to your database and follow the picture example for each url you are wanting to create.
Attachment 13264
Attachment 13286
After Do that. about_us
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
As usual, please provide more information. When going to the site provided in the picture, the address resolves to something else. Also, when browing the sitte, an about us link does not appeartto exist to try to click on and see what is going on/being redirected.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
crixus
Quote:
Originally Posted by
mc12345678
As usual, please provide more information. When going to the site provided in the picture, the address resolves to something else. Also, when browing the sitte, an about us link does not appeartto exist to try to click on and see what is going on/being redirected.
mc12345678;1224623 is right going to the site provided in the picture does not show us anything, so there is no way we can help you without more information and the link to your site so we can see what you are talking about.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
countrycharm
mc12345678;1224623 is right going to the site provided in the picture does not show us anything, so there is no way we can help you without more information and the link to your site so we can see what you are talking about.
Gratitude. I really appreciate your help. Thank you so so so and so much. for help me a few post ago. you are really a nice man.
Thanks a loT countrycharm :)
-
Re: Ceon URI Mapping v4.x
Ahhh!! The mod has been working so well that I haven't been on this thread in nigh a year, and I now find out Conor has passed! :(
That said, I'm having compatibility issues with the URI Mapper and the Ultimate Zen Cart mobile template. The URIs work, but I am getting NO IMAGES when visiting a page via the generated URI. Has anyone tried to use the two together? Instead of product_info, it uses product_mobile templates. I'm decent at coding, just wondering if anyone has a suggestion on where to start looking for a solution...... I can PM someone our beta address and login info if needed.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
apogeerockets
Ahhh!! The mod has been working so well that I haven't been on this thread in nigh a year, and I now find out Conor has passed! :(
That said, I'm having compatibility issues with the URI Mapper and the Ultimate Zen Cart mobile template. The URIs work, but I am getting NO IMAGES when visiting a page via the generated URI. Has anyone tried to use the two together? Instead of product_info, it uses product_mobile templates. I'm decent at coding, just wondering if anyone has a suggestion on where to start looking for a solution...... I can PM someone our beta address and login info if needed.
You're not going to like my answer, but you need to go back to the template maker. Ceon URI works with ANY add-on, or template which uses Zen Carts built in functions, classes, etc.
"product_mobile" sounds like a custom product page for mobile. Sounds like it is missing code code required to display images.. That's not caused by this module..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
apogeerockets
Ahhh!! The mod has been working so well that I haven't been on this thread in nigh a year, and I now find out Conor has passed! :(
That said, I'm having compatibility issues with the URI Mapper and the Ultimate Zen Cart mobile template. The URIs work, but I am getting NO IMAGES when visiting a page via the generated URI. Has anyone tried to use the two together? Instead of product_info, it uses product_mobile templates. I'm decent at coding, just wondering if anyone has a suggestion on where to start looking for a solution...... I can PM someone our beta address and login info if needed.
You say it uses product_mobile templates, so couple of things come to mind, the plug-in has an array that includes the product types, and is setup for five basic types, but can be expanded to more. Adding this sixth type may resolve your issue. Of course wondering if you have tried to add a mapping with product_mobile as part of the assignment?
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
You say it uses product_mobile templates, so couple of things come to mind, the plug-in has an array that includes the product types, and is setup for five basic types, but can be expanded to more. Adding this sixth type may resolve your issue. Of course wondering if you have tried to add a mapping with product_mobile as part of the assignment?
and that's nice, but totally UNRELATED to this module.. the issue is with the template.. hence may I respectfully ask that this discussion get moved to a new thread..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
and that's nice, but totally UNRELATED to this module.. the issue is with the template.. hence may I respectfully ask that this discussion get moved to a new thread..
See thread: http://www.zen-cart.com/showthread.p...15#post1225815 to carry on conversation related to the combination of CEON URI mapping and Ultimate Zen Cart Mobile Template being installed.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
and gonna say again the issue is the TEMPLATE.. not Ceon URI, not even getting this template to work with Ceon URI.. The likely issue is that this template is not coded using default Zen Cart functions which is being ILLUMINATED (rather than caused by) Ceon URI..
-
Re: Ceon URI Mapping v4.x
I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="http://www.drgreens.co.uk/index.php?...qs_id=5">Odour Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
kitten091182
I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="
http://www.drgreens.co.uk/index.php?...qs_id=5">Odour Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks
I could wait, but thought I would offer my best guess, possibly use a post instead of get statement? Or else, take a look at you're page source and see what variables are present (hidden) that would give you the desired result?
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
kitten091182
I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="
http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks
Honestly I have NO IDEA what you are trying to describe here.. If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful..
However I suspect the issue is your sidebox/module and how it builds links is NOT using build in Zen Cart link functions. It is UNLIKELY that the issue is NOT Ceon URI, but an issue with your sidebox/module which is being ILLUMINATED by Ceon URI..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
Honestly I have NO IDEA what you are trying to describe here.. If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful..
However I suspect the issue is your sidebox/module and how it builds links is NOT using build in Zen Cart link functions. It is UNLIKELY that the issue is NOT Ceon URI, but an issue with your sidebox/module which is being ILLUMINATED by Ceon URI..
From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. Their issue though appears to be that they are reading the URI (get statement) which at that point is already modified by CEON URI. As a result, the code in the if statement is not being "processed" to display to the visitor. This is why I suggested changing to a post command as I would think the cPath or a similar data value would be present on the page/in the data. Not sure if master_category_id or a similar would be the appropriate variable to check for, but something appropriate for a cPath of 30 should be on the page or have been posted.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
... If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful. ..
Exactly. We need to know WHAT 3rd part module has been installed to provide the Zen Cart page "faq_info". This is not a standard part of Zen Cart.
Quote:
Originally Posted by
mc12345678
From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. ...
I highly suspect this is the root cause. I've written a number of custom Zen Cart pages over the last couple years and they have all worked with CEON URI Mapping (and other alternative URL generators). The key is always using the correct Zen Cart functions and structure...
I'd also venture something is either off with the 3rd party module or CEON URI Mapping is not installed correctly. Why? Because both $cPath and $_GET['cPath'] are automatically populated by CEON URI Mapping (if not already present) when the URI corresponds to a category or product page.
-
Re: Ceon URI Mapping v4.x
and as the forums resident "repetitious negative naysayer" (you gotta love passive aggressive name callers:laugh:), this discussion needs to be moved in to a NEW thread OR over to the support thread for whatever errant module is the issue.. This is NOT AN ISSUE with Ceon URI..
-
Re: Ceon URI Mapping v4.x
Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="http://www.drgreens.co.uk/index.php?...qs_id=5">Odour Control</a></div>'; One of my pages is here: http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. Their issue though appears to be that they are reading the URI (get statement) which at that point is already modified by CEON URI. As a result, the code in the if statement is not being "processed" to display to the visitor. This is why I suggested changing to a post command as I would think the cPath or a similar data value would be present on the page/in the data. Not sure if master_category_id or a similar would be the appropriate variable to check for, but something appropriate for a cPath of 30 should be on the page or have been posted.
Quote:
Originally Posted by
lhungil
Exactly. We need to know WHAT 3rd part module has been installed to provide the Zen Cart page "faq_info". This is not a standard part of Zen Cart.
I highly suspect this is the root cause. I've written a number of custom Zen Cart pages over the last couple years and they have all worked with CEON URI Mapping (and other alternative URL generators). The key is always using the correct Zen Cart functions and structure...
I'd also venture something is either off with the 3rd party module or CEON URI Mapping is not installed correctly. Why? Because both $cPath and $_GET['cPath'] are automatically populated by CEON URI Mapping (if not already present) when the URI corresponds to a category or product page.
Quote:
Originally Posted by
DivaVocals
and as the forums resident "repetitious negative naysayer" (you gotta love passive aggressive name callers:laugh:), this discussion needs to be moved in to a NEW thread OR over to the support thread for whatever errant module is the issue.. This is NOT AN ISSUE with Ceon URI..
Quote:
Originally Posted by
kitten091182
Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="
http://www.drgreens.co.uk/index.php?...qs_id=5">Odour Control</a></div>'; One of my pages is here:
http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.
Understood.. However, the issue you are having is not caused by this module, and therefore it is not a SUPPORT issue with this module.. the issue is your code -- which you acknowledge needs to be fixed.. both mc12345678 & lhungil have stated what the issue is and why your code isn't working correctly.. However it would appear that you are looking for/need guidance as to what the corrected code should be, and I get that, but uyou really need to start a NEW THREAD to get assistance with your code as the ANSWER is not truly a Ceon URI support issue. This is instead an issue of code you are using which needs to be corrected because Ceon URI is ILLUMINATING an error in your code..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
kitten091182
Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="
http://www.drgreens.co.uk/index.php?...qs_id=5">Odour Control</a></div>'; One of my pages is here:
http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.
Where you have the text: href= "http://www drgreens co uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5" (periods replaced with spaces for website formatting) replace with:
"<?php zen_href_link('faq_info', '&fcPath=4&faqs_id=5', $get_type); ?>"
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
Where you have the text: href= "http://www drgreens co uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5" (periods replaced with spaces for website formatting) replace with:
"<?php zen_href_link('faq_info', '&fcPath=4&faqs_id=5', $get_type); ?>"
Great.. NOW if any FURTHER discussion is needed (and my guess is that there WILL be more discussion needed), can I respectfully ask that you guys start a NEW THREAD to work out kitten's code???? This is not a Ceon URI issue..:no:
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
Great.. NOW if any FURTHER discussion is needed (and my guess is that there WILL be more discussion needed), can I respectfully ask that you guys start a NEW THREAD to work out kitten's code???? This is not a Ceon URI issue..:no:
Sorry, had written and submitted at about same time as suggestion to move to new thread. Please follow the below link for further discussion.
http://www.zen-cart.com/showthread.p...14#post1226114
-
Re: Ceon URI Mapping v4.x
Thanks mc12345678 for trying to help. The code didn't work but I have had a lightbulb moment and are going to go about my problem a different way which I think should solve it :D I will shuffle along now and leave your thread in peace Diva :D
-
Re: Ceon URI Mapping v4.x
I really really need this plug in haha!!! But is scares the hell out of me to mess with my site! I start getting cold sweats when i start messing with code and files.... yeah i know pretty sad!
-
Re: Ceon URI Mapping v4.x
I've been searching everywhere, but cannot find an answer to what I would think would be a common question.
I'm building a ZenCart site locally on my computer using AMPPS server software. I'm using Ceon URI Mapping. When I did a test of moving the site to the hosting server all of my links no longer work. Is there a way to have Ceon URI Mapping automatically update all of the links? What is the best way to do this? Is it possible or must I build the site, or at least add all my products, on the final server?
Is there another SEF module for ZenCart 1.5.1 that would do this better?
Thanks in advance.
Cheers,
Greg
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
palafirst
I've been searching everywhere, but cannot find an answer to what I would think would be a common question.
I'm building a ZenCart site locally on my computer using AMPPS server software. I'm using Ceon URI Mapping. When I did a test of moving the site to the hosting server all of my links no longer work. Is there a way to have Ceon URI Mapping automatically update all of the links? What is the best way to do this? Is it possible or must I build the site, or at least add all my products, on the final server?
Is there another SEF module for ZenCart 1.5.1 that would do this better?
Thanks in advance.
Cheers,
Greg
Please follow the conversation to: http://www.zen-cart.com/showthread.p...08#post1227008
-
Re: Ceon URI Mapping v4.x
Apologies in advance if this has been answered but I can't find any previous post regarding canonical URL issues and CEON URI Mapping. Ceon URI mapping works perfectly on my site except for canonical URLs.
All canonical URLS work for top level pages however, when drilling down to page 2, page 3, page 4 etc within a category pages canonical URLs continue to point to the top level page.
Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyj...ort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyj...ort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas
Also - if anyone has any advice on implementing rel="next" and rel="prev" links.
Any advice would be greatly appreciated. This one has me stumped.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
ev8321
and this is how they should work.. so why don't explain what you think you SHOULD be seeing..
-
Re: Ceon URI Mapping v4.x
Thanks Diva Vocals
Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyj...ort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyj...ort=20a&page=2
http://www.pyjamas.com.au/womens/pyj...ort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyj...ort=20a&page=3
Quote:
SOURCE:
http://goo.gl/h9SGJW
Mistake 1: rel=canonical to the first page of a paginated series
Imagine that you have an article that spans several pages:
example.com/article?story=cupcake-news&page=1
example.com/article?story=cupcake-news&page=2
and so on
Specifying a rel=canonical from page 2 (or any later page) to page 1 is not correct use of rel=canonical, as these are not duplicate pages. Using rel=canonical in this instance would result in the content on pages 2 and beyond not being indexed at all.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
ev8321
So, I'm assuming that the issue you are concerned about is that the canonical field in your distributed webpage does not contain the canonical link provided above. I say this because when I click on the canonical link I get to a webpage that has the same address as I clicked; however, has the same content as one without the sort and page information.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
So, I'm assuming that the issue you are concerned about is that the canonical field in your distributed webpage does not contain the canonical link provided above. I say this because when I click on the canonical link I get to a webpage that has the same address as I clicked; however, has the same content as one without the sort and page information.
Yes mc12345678 that is exactly what I am after. Thanks.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
ev8321
Yes mc12345678 that is exactly what I am after. Thanks.
Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".
Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?
Thanks for your help in advance.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
ev8321
Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?
Thanks for your help in advance.
So, I claim that it's not a CEON URI problem, because CEON URI is not changeing the link away from the sort and page values and the result you are looking for is the same URI that stayed in the browr when I tried it. Therefore, it appears possible to obtain the desired information to be assigned to the canonical web page information. If the webpage is not capturing that which is template related, then it's not specifically CEON URI.
As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.
Sorry, ran out of time to edit. You could also start a thread looking for sites that match your criteria. Who knows it might help someone else.
I wanted to also say, I may be wrong about what it takes to show the canonical address, considering the various load locations of information, but it is not a problem with the current plug-n as it is written.
-
Re: Ceon URI Mapping v4.x
WT??????
Oh for heavens sake..
Quote:
Originally Posted by
ev8321
Yes mc12345678 that is exactly what I am after. Thanks.
right.. and you still have not described WHAT the SPECIFIC issue is you think IT IS you are having in this response.. You provided no details (because you assumed we all KNEW what you were trying to say) which explains the rest of these answers and responses..
Quote:
Originally Posted by
mc12345678
Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".
Quote:
Originally Posted by
ev8321
Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?
Thanks for your help in advance.
Quote:
Originally Posted by
mc12345678
So, I claim that it's not a CEON URI problem, because CEON URI is not changeing the link away from the sort and page values and the result you are looking for is the same URI that stayed in the browr when I tried it. Therefore, it appears possible to obtain the desired information to be assigned to the canonical web page information. If the webpage is not capturing that which is template related, then it's not specifically CEON URI.
As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.
Quote:
Originally Posted by
mc12345678
Sorry, ran out of time to edit. You could also start a thread looking for sites that match your criteria. Who knows it might help someone else.
I wanted to also say, I may be wrong about what it takes to show the canonical address, considering the various load locations of information, but it is not a problem with the current plug-n as it is written.
so let me stop all of this back and forth right now by saying..
THERE IS NO ISSUE here!!!!
THE MODULE IS WORKING AS IS IT IS SUPPOSED TO!!!! NO DUPLICATE CONTENT ISSUES!!
http://www.zen-cart.com/showthread.p...40#post1077140
http://www.zen-cart.com/showthread.p...38#post1071838
Quote:
Originally Posted by
Rizla
Canonical URIs
•Any page with a static URI automatically has a canonical URI tag added to the page's header. This minimises “duplicate content” reports as it tells the search engines that multiple “pages” should be treated as one.
•For example, instead of the search engine thinking that /all-products?disp_order=1 is a different page from /all-products?disp_order=3, Ceon URI Mapping lets it know that the page's “real” URI is just /all-products and that these other URIs are just variations for the same page.
Could have answered this in just a FEW posts if the description of the problem had been detailed so folks aren't GUESSING what the issue might be..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
ev8321
URL: http://www.pyjamas.com.au/womens/pyj...ort=20a&page=2
From the HTML Output
This is correct and what is SUPPOSED to happen..
-
Re: Ceon URI Mapping v4.x
Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Paul66
Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?
Error logs either in Zcs /logs or /cache folder or your server's error logs?
I don't recall the functionality of that. File, but it could be that as part of the install it is supposed to get deleted. Said checked for presence of files, but confirmed 100% of contents were transferred? Also sure have applied the htaccess mods correctly?
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Paul66
Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?
a look at this file there is code that VERY CLEARLY indicates that it DOES delete after the install
Code:
if ($can_autodelete) {
// Either the config utility file has been registered, or it doesn't need to be. Can stop the wasteful process
// of having this script run again by having it delete itself
@unlink(DIR_WS_INCLUDES . 'functions/extra_functions/ceon_uri_mapping_admin_page_reg.php');
}
So THIS is not the issue.. I would re-check your install and make sure you have all the right files in the right places, and make sure that your .htaccess file is correctly configured and uploaded to the correct location.. Look at your error logs.. if there are any you should post the contents of the log files.
You also need to provide some more details here.. Does your shop work?? Posting a URL and your .htaccess file (using the code tags so the forum software doesn't parse the contents) will minimize GUESSING at a solution..
-
Re: Ceon URI Mapping v4.x
Yes the shop does seem to be working. the contents of the error log are.
[23-Nov-2013 19:15:39 UTC] PHP Warning: require(includes/functions/sessions.php): failed to open stream: No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
[23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
Here is the contents of htaccess filr in the admin dir.
@copyright Copyright 2003-2011 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit Options Indexes
#</Directory>
###############################
DirectoryIndex index.php
# deny *everything*
<FilesMatch ".*\..*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
# The following makes adjustments to the SSL protocol for Internet Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:
# php_flag mail.add_x_header Off
-
Re: Ceon URI Mapping v4.x
This is AWFULLY hard to read since you are not using the forum code tags... (corrected your code posting so you can see the difference) I was not asking about the contents of the ADMIN .htaccess file.. I was looking for the contents of the SITE .htaccess file created by Ceon URI..
That said, the error messages are not that mysterious to interpret here.. They indicate a MISSING file.. init_sessions.php makes a call to a file called sessions.php which is MISSING..
This is likely the cause of your issue (not caused by this module at all)
Finally you should NEVER post anything on this forum which gives away your secret admin folder name.. You should change the folder name, and going forward obscure the name of your admin folder when you post code on this forum..
Quote:
Originally Posted by
Paul66
Yes the shop does seem to be working. the contents of the error log are.
[23-Nov-2013 19:15:39 UTC] PHP Warning:
require(includes/functions/sessions.php): failed to open stream:
No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
[23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
Here is the contents of htaccess filr in the admin dir.
Code:
@copyright Copyright 2003-2011 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit Options Indexes
#</Directory>
###############################
DirectoryIndex index.php
# deny *everything*
<FilesMatch ".*\..*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
# The following makes adjustments to the SSL protocol for Internet Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:
# php_flag mail.add_x_header Off
-
Re: Ceon URI Mapping v4.x
Hi all,
zen 1.5.0
many mods including:
multisite
bundles
big_spender
ceon_shipper
ceon_uri
have a little issue, hope you can help.
On the shopping cart page where items are listed, zen gives a link for each item to be taken back to it.
problem appears that I have an issue with Connors ceon href builder class links when the product contains attributes.
For example:
product url:
www.mydomain.com/fuzzybear
add that product to shopping cart, with a selected attribute.
when in the shopping cart, click on the image or textlink to go back to that product and the provided link is similar to:
http://www.mydomain.com/fuzzybear?pr...2e832205129deb
which if you click on comes back to the correct page of product "fuzzybear" but gives a
WARNING: An Error occurred, please refresh the page and try again.
Could someone check their install and see if they get same thing please!
-
Re: Ceon URI Mapping v4.x
further info to make it easier.
not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php
Code:
if (strpos($product_query_pair, ':') === false) {
// Remove product ID from query string unless it includes information about selected
// attributes (which is added when linking from shopping cart to product info page)
$parameters = str_replace($product_query_pair . '&', '', $parameters);
$parameters = str_replace($product_query_pair, '', $parameters);
}
so that it just doesn't give the parameters in the link.
Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Calljj
further info to make it easier.
not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php
Code:
if (strpos($product_query_pair, ':') === false) {
// Remove product ID from query string unless it includes information about selected
// attributes (which is added when linking from shopping cart to product info page)
$parameters = str_replace($product_query_pair . '&', '', $parameters);
$parameters = str_replace($product_query_pair, '', $parameters);
}
so that it just doesn't give the parameters in the link.
Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.
So, just checked my site, added an item that had one parameter associated and was able to return to product displayed with the attribute selected even. I have a version of stock by attributes installed, but would say that it is not CEON URI that is the issue, but something else. Suggest ng a new thread or branch off of your template's thread, as this is not a problem with this plugin.
-
Re: Ceon URI Mapping v4.x
All sorted, sometimes typing it for others make the problem much clearer.
my issue was i was referring to the $_GET['products_id'] variable for a custom coupon image display, and hadn't included the (int) infront of it during a query, therefore the query was falling over as the attribute info was being pulled in at the same time. nothing to do with the ceon uri module.
Thanks for putting up with my written drivel and once again, Conor was right.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Calljj
and once again, Conor was right.
He usually was...:smile:
-
Re: Ceon URI Mapping v4.x
1.3.9h
installed this mod and it works up to a point but I have no clue what I did wrong.
I can't seem to get the links for the navigation header (some are entered manually in the mega file) nor the ezpages part to behave.
I have auto generate turned on and when I enter the url: http://www.designerperfumesnob.com/specials <---this is preferred style
or http://designerperfumesnob.com/shop_our_sale <---this is the one aut generated by mod
I get the page with the entire page showing but no products...weird
right now most of the links are showing the original url and the footer links are hand entered into the footer file so need to adjust them and hopefully they will work but clicking the links should help you see what I mean.
ideas?
-
"Stopped" working suddenly.. STUMPED
WordPress as the main site, Zen Cart in a sub-directory..
I've done nothing and changed nothing.. Here's the contents of the .htaccess file (and yes it's in the ROOT of the site):
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /shop/
RewriteCond %{REQUEST_URI} ^/shop/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/shop/my_admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/shop/editors/ [NC]
# Don't rewrite bmz_cache directory
RewriteCond %{REQUEST_URI} !^/shop/bmz_cache/ [NC]
# Don't rewrite downloads_free directory
RewriteCond %{REQUEST_URI} !^/shop/downloads_free/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/shop/logs/ [NC]
# Don't rewrite downloads directory
RewriteCond %{REQUEST_URI} !^/shop/downloads/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* shop/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
The URIs today direct to a 404 page.. Until today all was working just fine..
-
Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on
Quote:
Originally Posted by
philip937
hi guys, just found this in my error log this evening, not sure if its anything to be concerned about? its the first and only one i've had. any idea what it could be?
[09-Apr-2013 21:26:39 UTC] PHP Fatal error: Call to a member function add() on a non-object in /home/site/public_html/includes/classes/class.CeonURIMappingHandlerBase.php on line 131
Thanks in advance.
Quote:
Originally Posted by
dave010880
I have an update on this if anyone else comes across it, this particular problem was self made. I had simply copied the code from the includes/functions/html_output.php and incorrectly put that into the admin/includes.. etc. Using eth correct modified code has removed this error.
Unfortunately I till have the original problem of no category cration and meta's not working :(
This problem still exits. I know one said that he had the problem because he had incorrectly put the includes/functions/html_output.php file into admin/includes/functions/html_output.php and it created this problem That's not the case for me. I can confirm that both html_output.php files are in there correct place with the right code inside them and the error is still being created.
Diva any suggestions thank you
-
Re: Ceon URI Mapping v4.x
Why is my "Who's Online" information showing the "zenid=xxxxxx" information?
I am using:
Zencart 1.50
4.4.1 UMM Edition Configuration
Version: 1.4.1 Mappings Manager
http://www.oskopoolnspa.com
I think this is effecting my Google, Yahoo and Bing listings.
Any Thoughts?
Thanks All,
Danny
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
danielosko
Why is my "Who's Online" information showing the "zenid=xxxxxx" information?
I am using:
Zencart 1.50
4.4.1 UMM Edition Configuration
Version: 1.4.1 Mappings Manager
http://www.oskopoolnspa.com
I think this is effecting my Google, Yahoo and Bing listings.
Any Thoughts?
Thanks All,
Danny
I'll probably get my hand slapped for responding here, but couple of things:
1) The list of plugins, while it contains CEON URI Mapping manager, I thought that was the paid for version of this plugin, so not exactly related to this plugin. 2) There has not been anything posted that would indicate this plugin is the cause as compared to anything else involved. 3) others are not reporting the same issue with this plugin. Perhaps a few others could be listed.
Recommendation is to start a new thread where someone may be able to help troubleshoot what is probably either a template, sessions, or cookie issue. Although having followed the link, system seems to respond as expected.
-
Re: Ceon URI Mapping v4.x
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Serious
If not mistaken, and please don't quote this because I forget some of the subtleties of the functionality, but isn't the second product a linked product? I know there is/was a reason that the category path would remain, but I forget the various causes of it. This is a different condition than the zenid "always" appearing in the URI.
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
danielosko
Why is my "Who's Online" information showing the "zenid=xxxxxx" information?
zenid had been discussed to death here.. but short answer it is that the zenid is attached to the URL for first time visitors..
Quote:
Originally Posted by
danielosko
I think this is effecting my Google, Yahoo and Bing listings.
It wouldn't.. why do you THINK it does?
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Serious
Linked products.. this is normal behavior..
-
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DarkAngel
In Zen Cart <= 1.5.2, requests for an EZ-Page which does not exist simply display a blank page. Can you verify the page you are trying to change the URL for is actually an EZ-Page (part in red indicates EZ-Page)?
"/index.php?main_page=page&id=11"
If you wanted to redirect the Zen Cart "specials" page (part in red indicates specials page), section 10 (method 1) of the CEON URI readme covers this subject.
"/index.php?main_page=specials"