-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Nevertheless, the answer you are looking for is that you create a .htaccess file for each store and put these files in the individual stores' directories. Your server will check the .htaccess file in the root directory first, then it will check any subdirectories to see if they have .htaccess files.. so the .htaccess file for the appropriate store will be loaded when the webserver attempts to open /store or /test-store (i.e. /store/.htaccess or /test-store/.htaccess).
As both stores are in a subdirectory of the root of the site, you should use the appropriate rewrite rule example for stores which are in a subdirectory.
As long as your root .htaccess file doesn't interfere with the subdirectory .htaccess files, everything should be smooth enough
IMO, you did a fantastic job explaining how to setup the .htaccess per directory in your read me docs.. All of my client sites are set up in a dev environment with subdirectories for each client.. Your instructions got me up and running in NO time.. :smile:
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
IMO, you did a fantastic job explaining how to setup the .htaccess per directory in your read me docs.. All of my client sites are set up in a dev environment with subdirectories for each client.. Your instructions got me up and running in NO time.. :smile:
That's good to hear and nice of you to say, thanks! :)
All the best...
Conor
ceon
-
hideCategories
Notes (that will hopefully help others) regarding installing Ceon URI Mapping when the hideCategories add-on is already installed:
There are no conflicting files between these two add-ons - except for one file:
Quote:
admin/categories.php
Inside that admin/categories.php file, there are two distinct segments that, using a file compare utility like WinMerge, can simply be copied over to the original admin/categories.php from v1.3.8a. They are marked with the lines:
PHP Code:
//Begin hideCategories code.
...
//End hideCategories code.
Applying admin/categories.php patches from Ceon 3.2.4 to the admin/categories.php from v1.3.8a can be done in the same manner: distinct segments that can simply be copied over. They are marked with the lines:
PHP Code:
// BEGIN CEON URI MAPPING n of 5
...
// END CEON URI MAPPING n of 5
(of course, when either of these add-ons are applied to the original v1.3.8a file, the entire admin/categories.php can simply be copied, overwriting the original one).
Using the same "segmented-copy" approach, we can copy over the Ceon 3.2.4 segments, one-by-one, verbatim to their respective positions in admin/categories.php that has already been patched with hideCategories -- except for the last one (5 of 5)!
The last one is "special" in the sense that, if you use a file compare utility like WinMerge, it overlaps with the last segment from hideCategories. You can't just "copy over".
Therefore, care must be taken when applying this change:
- Do any of these last segments need to be modified (requiring programmer's code examination)?
- If not, which one comes first? Do we insert the Ceon 3.2.4 segment before the hideCategories segment or after it?
As of now, it appears that the correct answers are:
- No need to modify any of these two "last segments".
- The Ceon 3.2.4 segment should be inserted before the hideCategories segment
If I discover anything that contradicts the above, I will post an update here.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
IMO, you did a fantastic job explaining how to setup the .htaccess per directory in your read me docs.. All of my client sites are set up in a dev environment with subdirectories for each client.. Your instructions got me up and running in NO time.. :smile:
Now that I finally finished adding this module to my test store, I can say that I agree whole heatedly.
What an amazing job Conor did. One of the reasons it took me so long to add this module was the fact that I had to add it to a system that already had quite a few add-ons already integrated. I had to be very careful in comparing and applying every change - in addition to not really understanding every line of code or .htaccess statement.
Not only does Conor explains each and every step (and different cases/possibilities/configurations for each step), he also formats the document in a way that I haven't seen in any add-on.
I am thrilled at how this worked for me in the first attempt (knock wood...) without interfering with the hideCategories add-on.
Thank you, Conor!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
scatzc
What an amazing job Conor did. One of the reasons it took me so long to add this module was the fact that I had to add it to a system that already had quite a few add-ons already integrated. I had to be very careful in comparing and applying every change - in addition to not really understanding every line of code or .htaccess statement.
So did I.. In fact, I was adding this to not one but TWO different sites. Conor made this work easy by CLEARLY identifying all the core files that might be overwritten. For me this made the WinMerge process loads easier since all I had to do was compare the clearly marked files to the ones already in place on both sites.
Overall Conor did an excellent job in packaging, documenting, and supporting this add-on.. Looking over the support thread, no question has been too small or too dumb. However, for my money IMO his documentation really explained EVERYTHING well.. I don't have to exactly understand what each line in the .htaccess does, but I do have to understand what I need to do to set it up for this add-on to work.. Which is why I said that IMO, Conor did a fantastic job explaining how to setup the .htaccess per directory in his readme docs..
-
Re: Ceon URI Mapping (SEO)
Question regarding FAQ #4: After "ticking" a few products (in the operational site) and verifying that this ingenious add-on works, I indeed encountered the appended “?cPath” at the the end of a product's URI.
I then referred to the FAQ which confirmed that this is not a bug, it is by design. It says:
Quote:
There is no way to avoid the cPath parameter being added for linked products.
I then noticed that if I manually delete that “?cPath” suffix from the browser's address bar, the URI now corrects itself and whenever I search for a product or click a link to it, its URI always shows up without the “?cPath” suffix.
This is a great but now I wonder: Is this how it is supposed to behave? Are there undesired "side effects" to this?
Thanks.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
scatzc
I then noticed that if I manually delete that “?cPath” suffix from the browser's address bar, the URI now corrects itself and whenever I search for a product or click a link to it, its URI always shows up without the “?cPath” suffix.
Update: None of my products are of the "Linked" type. Yet, some products (not all) get the “?cPath” appended upon URI creation. As stated before, if I manually Backspace the “?cPath” suffix, it will not re-appear.
I wonder whether I am the only one having this "problem" (not really a problem, at least for now).
-
Re: Ceon URI Mapping (SEO)
I implemented this on our upgraded site, everything looked great and we went live a couple days ago. I was slowly converting all our pages, categories, products, manufacturers, etc over to the pretty URL's, and it was brought to my attention that the manufacturer pages were not letting you "add to cart" when they have a new URL. It just refreshes the page. Since this is my live site, I removed the URI Mappings for the manufacturers, although I had to do it through the database and not the admin utility, even when I deleted the text, it stuck around, and would not go back to the zen default urls.
Since my test site is down, and my live site I had to remove the errors to prevent further sales loss, I cannot show this to you at the moment, but I will try to get my test site back up in the next couple of days if needed.
Summary, since I kind of rambled, is:
1) My major issue: on Manufacturer pages, when anything besides the default zen path is used, cannot do the multiple add to cart (when the products have no attributes). It just refreshes the page.
2) This is minor, but on the Admin Manufacturers edit page, cannot remove the URI Mapping, have to remove manually from the database.
Our website is the most current 1.3.8a, with the most current CEON SEO mod. We do have a handful of other mods installed (better together, rewards points, image handler, zen light box, and a few others), but I don't think they are interfering here, since it seems to work everywhere but the manufacturers pages. I did several winmerges to see if I missed anything in the uploads, and everything seems to be correct. Our current setting is to go to the shopping cart after an item has been added, not to stay on the product/category page, but I'm not sure that makes any difference.
Hopefully someone here can help me out, I'd really like the URI Mapping to be implemented on the manufactures pages as well.
Thanks
Sara
b a b y S N A Z Z .com
-
Re: Ceon URI Mapping (SEO)
Okay.. I'm ready to fire the trigger on this, and I was doing some final testing.. EVERYTHING works great with one exception..
After completing a sale, I get an error when I click the notifications button as follows:
Quote:
Warning: urlencode() expects parameter 1 to be string, array given in /home/blahblahblah/public_html/includes/init_includes/init_ceon_uri_mapping.php on line 657
Warning: Cannot modify header information - headers already sent by (output started at /home/blahblahblah/public_html/includes/init_includes/init_ceon_uri_mapping.php:657) in /home/blahblahblah/public_html/includes/init_includes/init_ceon_uri_mapping.php on line 664
Warning: Cannot modify header information - headers already sent by (output started at /home/blahblahblah/public_html/includes/init_includes/init_ceon_uri_mapping.php:657) in /home/blahblahblah/public_html/includes/init_includes/init_ceon_uri_mapping.php on line 665
Any ideas what might be causing this??
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
Okay.. I'm ready to fire the trigger on this, and I was doing some final testing.. EVERYTHING works great with one exception..
That's great to hear! :)
Quote:
Originally Posted by
DivaVocals
After completing a sale, I get an error when I click the notifications button as follows:
Any ideas what might be causing this??
I can see what would cause the code to fail but not how you're arriving in the situation causing it.
The errors you have indicated would be caused by the redirection code in the module for a non-standard Zen Cart page incorrectly trying to encode a query string ($_GET) parameter which is an array.
I'm posting some code for you to prevent these errors appearing in the module but it's strange that you're reaching this point. It means that instead of your product notifications form using the POST method, as with any Zen Cart store/template I've seen, your store must be using the GET method. Also, you must have entered a URI manually for the account products notification page?
Anyway, replace the following loop in includes/init_includes/init_ceon_uri_mapping.php:
PHP Code:
foreach ($_GET as $key => $value) {
$query_string .= '&' . urlencode($key) . '=' . urlencode($value);
}
with:
PHP Code:
if (is_array($value)) {
foreach ($value as $key2 => $value2) {
$query_string .= '&' . urlencode($key2) . '=' . urlencode($value2);
}
} else {
$query_string .= '&' . urlencode($key) . '=' . urlencode($value);
}
It's kludgely and off the top of my head but that should work! I'll add better code to a future version of the module (a little recursive function of course).
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Sara,
Quote:
Originally Posted by
sarabz
1) My major issue: on Manufacturer pages, when anything besides the default zen path is used, cannot do the multiple add to cart (when the products have no attributes). It just refreshes the page.
I'm afraid I can't replicate that behaviour on a fresh installation of ZC 1.38a and the latest version of the module. Everything works fine here on manufacturer's page with a mapped URI and several products with buy now buttons: I can keep going back and adding as many products at a time as I like, straight from the list! Something specific must be wrong on your site. Possibly with the template or something like that?
Quote:
Originally Posted by
sarabz
2) This is minor, but on the Admin Manufacturers edit page, cannot remove the URI Mapping, have to remove manually from the database.
You're right about that! You've found a bug. I'll get that sorted for a future version (it is minor as you say but still must be fixed!).
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi scatz,
First off thanks for the nice comments, they're really appreciated!
Secondly, thanks for the quick merge guide you wrote for others, hopefully you'll have saved someone some bother if they're using the Hide Categories module (haven't heard of that one myself).
Quote:
Originally Posted by
scatzc
Update: None of my products are of the "Linked" type. Yet, some products (not all) get the “?cPath” appended upon URI creation. As stated before, if I manually Backspace the “?cPath” suffix, it will not re-appear.
When building the URIs the module will add the cPath suffix only if a comparison with the full cPath for the product's master category (As returned by zen_get_product_path($product_id)) comes up as false (i.e. the product is not being linked to in its normal "home", its "master" category).
I'm afraid I can't replicate your problem, nor can I see how it could occur if you're the latest version of the code.. it's probably something that would to be traced manually.
As for why the module wouldn't add the cPath back on after you backspace it.. that would be because it never adds the cPath to product URI mappings, it only ever removes it if it thinks it doesn't need to be there (i.e. it doesn't match the full cPath to the product's master category).
Sorry I can't shed any more light on this.. hopefully something there will allow you to see what's wrong on your site?
If so let me know what caused the problem!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor you SOOOOOOOO rock!! Yep I am getting ready to go live with this on two client sites. Sooo excited about it too..
Yeah it's weird how this error came up.. What's aggravating me is that I missed it in my QA..:censored: Oh well.. It happens..:laugh:
My template is a custom template (I always build my own templates based on the default Zen Template), and except for using the "Tableless Order Steps" mod for checkout, there are no other mods to the checkout pages. I am reasonably sure that the "Tableless Order Steps" mod didn't change anything to the default product notifications form methods. And you are right.. I did manually create a URI for the account products notification page.. (I was on a roll testing and creating URIs.. :laugh:)
Gonna try this code tonight and let you know how it goes.. Thanks again for your time.. :)
Quote:
Originally Posted by
conor
I can see what would cause the code to fail but not how you're arriving in the situation causing it.
The errors you have indicated would be caused by the redirection code in the module for a non-standard Zen Cart page incorrectly trying to encode a query string ($_GET) parameter which is an array.
I'm posting some code for you to prevent these errors appearing in the module but it's strange that you're reaching this point. It means that instead of your product notifications form using the POST method, as with any Zen Cart store/template I've seen, your store must be using the GET method. Also, you must have entered a URI manually for the account products notification page?
Anyway, replace the following loop in includes/init_includes/init_ceon_uri_mapping.php:
PHP Code:
foreach ($_GET as $key => $value) {
$query_string .= '&' . urlencode($key) . '=' . urlencode($value);
}
with:
PHP Code:
if (is_array($value)) {
foreach ($value as $key2 => $value2) {
$query_string .= '&' . urlencode($key2) . '=' . urlencode($value2);
}
} else {
$query_string .= '&' . urlencode($key) . '=' . urlencode($value);
}
It's kludgely and off the top of my head but that should work! I'll add better code to a future version of the module (a little recursive function of course).
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Sara,
I'm afraid I can't replicate that behaviour on a fresh installation of ZC 1.38a and the latest version of the module. Everything works fine here on manufacturer's page with a mapped URI and several products with buy now buttons: I can keep going back and adding as many products at a time as I like, straight from the list! Something specific must be wrong on your site. Possibly with the template or something like that?
You're right about that! You've found a bug. I'll get that sorted for a future version (it is minor as you say but still must be fixed!).
All the best...
Conor
ceon
Thanks Conor for the fast reply! Your support for a free mod is incredible. :clap:
I will get my test site back up soon and see if I can figure it out. I have a fresh install as of about 2 weeks ago, I am using the classic template with some design changes. I have a few mods (stock by attributes, better together with the paid add-ons, rewards points, image handler, zen light box, attributes grid), none of which touch the manufacturer's page, and I would think it shouldn't behave any different than the regular category pages. I'll post back here if I can figure out what is going on! It works just fine when the URI Mapping is turned off for those pages, so its not completely urgent, but I would love for it to work on all the pages since the Manufacturer pages are a large part of our menu.
Any hints on what to look for?
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
sarabz
Thanks Conor for the fast reply! Your support for a free mod is incredible. :clap:
I will get my test site back up soon and see if I can figure it out. I have a fresh install as of about 2 weeks ago, I am using the classic template with some design changes. I have a few mods (stock by attributes, better together with the paid add-ons, rewards points, image handler, zen light box, attributes grid), none of which touch the manufacturer's page, and I would think it shouldn't behave any different than the regular category pages. I'll post back here if I can figure out what is going on! It works just fine when the URI Mapping is turned off for those pages, so its not completely urgent, but I would love for it to work on all the pages since the Manufacturer pages are a large part of our menu.
Any hints on what to look for?
Oh, I forgot to mention another big mod for our site - the css-drop down menu. Not sure that could cause it either, but I just forgot to mention it.
-
Re: Ceon URI Mapping (SEO)
Okay.. So I made this change, and I don't get the error, but I now get redirected to the site's blog page instead of the product notification page.. Weird..
ETA: I think I know why.. For some reason clicking the notifications button it redirects you to http://www.yourdomain.com/? which would redirect you to my blog.. (I'm using WOZ, and the "?" after the main URL directs you to the blog)
Quote:
Originally Posted by
DivaVocals
Conor you SOOOOOOOO rock!! Yep I am getting ready to go live with this on two client sites. Sooo excited about it too..
Yeah it's weird how this error came up.. What's aggravating me is that I missed it in my QA..:censored: Oh well.. It happens..:laugh:
My template is a custom template (I always build my own templates based on the default Zen Template), and except for using the "Tableless Order Steps" mod for checkout, there are no other mods to the checkout pages. I am reasonably sure that the "Tableless Order Steps" mod didn't change anything to the default product notifications form methods. And you are right.. I did manually create a URI for the account products notification page.. (I was on a roll testing and creating URIs.. :laugh:)
Gonna try this code tonight and let you know how it goes.. Thanks again for your time.. :)
-
Re: Ceon URI Mapping (SEO)
Hi Sara,
How are you?
Quote:
Originally Posted by
sarabz
Any hints on what to look for?
If it's not adding to the cart properly only when the URI Mapping module is enabled then the only thing I can think of is that the user's path to the cart page is being interrupted by a redirect.
The only reason I can see that happening is if the form on the manufacturers page doesn't make use of the zen_href_link function which is overridden by the URI Mapping module to add the mapping functionality.
So I'd check what the "action" of the form is. For example, on my test server zen138.local, on the page of the manufacturer gt_interactive the add to cart form tag is built as such:
Code:
<form name="multiple_products_cart_quantity" action="http://zen138.local/gt_interactive
Hope that helps!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
Okay.. So I made this change, and I don't get the error, but I now get redirected to the site's blog page instead of the product notification page.. Weird..
ETA: I think I know why.. For some reason clicking the notifications button it redirects you to http://www.yourdomain.com/? which would redirect you to my blog.. (I'm using WOZ, and the "?" after the main URL directs you to the blog)
Not really sure what you mean here.. I don't know what WOZ is?
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Not really sure what you mean here.. I don't know what WOZ is?
All the best...
Conor
ceon
Sorry..:smile: WOZ is WordPress on ZenCart. It's an add-on that allows you to embed a WordPress blog into your store.. I don't use the embedding feature because since ver 2.7.x of WordPress, the mod has been problematic... It's just easier for me to style the blog to match the main site..
However, the WOZ sideboxes for this mod are quite useful in that they allow me to tie the blog to the store a little more directly than just a simple blog link on a menu. The WOZ sideboxes allow you to show your blog's active widgets in your store.
In any case, when WOZ is running if you go to http://www.yourdomain.com/? you will be taken to the blog.
So here's my dev site:
http: // clients . overthehillweb . com/hairisle
And if you go to this link:
http: // clients . overthehillweb . com/hairisle/?
You are re-directed here:
http: // clients . overthehillweb . com/hairisle/hairisleblog
So after making the code change you posted, when I click the notifications button on the checkout_success page, instead of being directed to the account notifications page, I am redirected to:
http: // clients . overthehillweb . com/hairisle/?
and this link takes me to my blog. Ahhh.. I am so very confused.. I can turn off notifications, but honest to goodness, I am hoping I don't have to ..:frusty:
On the bright side, the other site that I was adding your mod too went live with it's new pretty URLs last night.. (It is an existing site launched last year that we added Ceon URI to) The client still has to do the categories and products.. She's working on it and should have those all converted by the weekend.. But I added all the other pages to the DB (I have a script I use to make this work easier), and it's working PERFECTLY!!!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
Sorry..:smile: WOZ is WordPress on ZenCart.
Oh, right. I'd thought the W might stand for Wordpress but the OZ made it sound like some Australian thing! :)
The code I posted shouldn't result in an extra ? being added to the end of the URI, it only creates the query string if there are GET variables to create it from.
If you send me some FTP details for your site I can manually trace what is being created that is causing the redirect. Apart from that I'm afraid I'm out of ideas!
I don't use the PM system here so just use this link to contact me.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Oh, right. I'd thought the W might stand for Wordpress but the OZ made it sound like some Australian thing! :)
:laugh::laugh:
Quote:
Originally Posted by
conor
The code I posted shouldn't result in an extra ? being added to the end of the URI, it only creates the query string if there are GET variables to create it from
I figured that..:unsure: Which is why I found it odd.. I double, triple, and quadruple checked the code you provided to make sure I added it correctly.. (I commented out the code I was supposed to replace -- this way I could easily roll back to default) Also since I am running the Tableless Checkout mod, I did a Winmerge to compare the checkout_success page from this mod to the default checkout_success page to make good and sure that the notification form code didn't change.. I confirmed that I was right that this code was not modified at all.. LIke I said.. odd.. :huh:
Quote:
Originally Posted by
conor
If you send me some FTP details for your site I can manually trace what is being created that is causing the redirect. Apart from that I'm afraid I'm out of ideas!
I don't use the PM system here so just use
this link to contact me.
Cool beans.. I appreciate the help Conor.. You are a good man to help.. :smile: Look for a message from a desperate girl named Crystal in the next day or 2.. :blush:
-
Re: Ceon URI Mapping (SEO)
Hi Crystal,
Nice to know your real name (and a nice name I must add! :) ).
Quote:
Originally Posted by
DivaVocals
Which is why I found it odd.. I double, triple, and quadruple checked the code you provided to make sure I added it correctly..
Yes, it's very strange!
Quote:
Originally Posted by
DivaVocals
Cool beans.. I appreciate the help Conor.. You are a good man to help.. :smile: Look for a message from a desperate girl named Crystal in the next day or 2.. :blush:
No problem!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Crystal,
Nice to know your real name (and a nice name I must add! :) ).
:yes: Yes it is if I do say so myself!! :laugh:
-
Re: Ceon URI Mapping (SEO)
ok - I am close to uploading and using this mod. I am not sure if the mod_rewrite is enabled in the Apache server. I see the instructions to do that.....
Two Questions -
1. If I upload and it takes me a day or two to figure out the mod rewrite (if needed)- will that affect my site as I am live right now AND the biggest reason for adding this mod it that this is a rebuild from a successful html/cgi cart that ranked high in search engines. As soon as I made the zen cart live - orders went way down - the reason all the old links high in the search engines were dead so I want to change the zen cart to reflect those links but with over 5000 products......it may take me awhile.
2. Can I just customize the subcategory link manually and then have the product links self generate?
I am running many mods -
Admin Profiles
Advanced XSell
Categories Dressings
COWAA
Edit Orders
Sales Reports
Cherry Zen Template
IH2
Fual Slimbox
Module Manager
Email Exporter
and am looking at the Ceon Manuel Card mod
If this mod works the way it looks like it will......trust me I will buy you a few cups of coffee!!
TIA
Mona
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
stxmona
1. If I upload and it takes me a day or two to figure out the mod rewrite (if needed)- will that affect my site as I am live right now AND the biggest reason for adding this mod it that this is a rebuild from a successful html/cgi cart that ranked high in search engines.
As long as you are careful with your htaccess file the module will not interfere with your site until you start adding URI mappings. If you haven't added any URI mappings, it's as if the module isn't even there!
So you can add the htaccess first, check that hasn't broken your site, then install the module and add mappings at your own pace.
Quote:
Originally Posted by
stxmona
2. Can I just customize the subcategory link manually and then have the product links self generate?
I'm afraid not, currently you'll have to specify/generate each one.
Quote:
Originally Posted by
stxmona
If this mod works the way it looks like it will......trust me I will buy you a few cups of coffee!!
I don't actually drink coffee but I get the sentiment.. thanks very much indeed for saying it! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
I'm afraid not, currently you'll have to specify/generate each one.
Thanks for the quick reply Conor!
I have another "what if" question.
Can I manually do some and leave some alone? for example -
this list of products in one subcategory-
http://www.quiltsinmontana.com/index...x&cPath=69_265
becomes what the search engine knows-
http://www.quiltsinmontana.com/Class...ant_Pandas.htm
but when you click on the actual /product/item which is -
http://www.quiltsinmontana.com/index...roducts_id=980
it stays the same as it is right now.
Thanks again!
Mona
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
stxmona
Can I manually do some and leave some alone?
Yes, that's exactly what the module was designed for! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
wow thanks for the really quick reply!
I will work on it today.....ya know you will be hearing from me if I run into trouble!
Mona
-
Re: Ceon URI Mapping (SEO)
It works! Thanks Conor - you saved my bacon!!
Look for a cup of tea or mug of beer - whichever - from a thankful mod user!!
Mona
-
Re: Ceon URI Mapping (SEO)
Ok - so everything seemed as though it was ok LOL
However, after changing some of the URLs the products will not add to cart. My template uses the "add selected products to cart" button on the cherry zen template.
I did look for the "action" form talked about below....but I am not really sure what I am looking for to make the add to cart button work correctly on the product listing page work.
Quote:
Originally Posted by
conor
If it's not adding to the cart properly only when the URI Mapping module is enabled then the only thing I can think of is that the user's path to the cart page is being interrupted by a redirect.
The only reason I can see that happening is if the form on the manufacturers page doesn't make use of the zen_href_link function which is overridden by the URI Mapping module to add the mapping functionality.
So I'd check what the "action" of the form is. For example, on my test server
zen138.local, on the page of the manufacturer
gt_interactive the add to cart form tag is built as such:
Code:
<form name="multiple_products_cart_quantity" action="http://zen138.local/gt_interactive
Hope that helps!
Here is the code that I find in my product_listing.php files and tpl_products_all_default.php files
Code:
echo zen_draw_form('multiple_products_cart_quantity', zen_href_link(FILENAME_DEFAULT, zen_get_all_get_params(array('action')) . 'action=multiple_products_add_product'), 'post', 'enctype="multipart/form-data"');
Here is a link to a product page with the multiple products add to cart that is not working.
http://www.quiltsinmontana.com/Alexa..._Haunted_House
Thanks again for your help!
Mona
-
Re: Ceon URI Mapping (SEO)
Hi Mona,
Thanks so much for the donation, it's so nice to actually receive one from someone who says they're going to donate! :)
Quote:
Originally Posted by
stxmona
Here is a link to a product page with the multiple products add to cart that is not working.
That page appears to work fine to me!
I'll get in contact with you privately about this.. no need to post on the thread as I think any issue is likely server-specific!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
I'm able to add products from that page just fine..
This may be as Conor says something specific to your sever.. I don't have a problem with adding products to cart from the category pages using this mod on my client stores..
Quote:
Originally Posted by
stxmona
Ok - so everything seemed as though it was ok LOL
However, after changing some of the URLs the products will not add to cart. My template uses the "add selected products to cart" button on the cherry zen template.
I did look for the "action" form talked about below....but I am not really sure what I am looking for to make the add to cart button work correctly on the product listing page work.
Here is the code that I find in my product_listing.php files and tpl_products_all_default.php files
Code:
echo zen_draw_form('multiple_products_cart_quantity', zen_href_link(FILENAME_DEFAULT, zen_get_all_get_params(array('action')) . 'action=multiple_products_add_product'), 'post', 'enctype="multipart/form-data"');
Here is a link to a product page with the multiple products add to cart that is not working.
http://www.quiltsinmontana.com/Alexa..._Haunted_House
Thanks again for your help!
Mona
-
Re: Ceon URI Mapping (SEO)
Hi Crystal,
Quote:
Originally Posted by
DivaVocals
I'm able to add products from that page just fine..
Mona's all sorted now.. it was just a typo! Easily done! Thanks for the feedback though!
Have a good evening..
All the best..
Conor
-
Re: Ceon URI Mapping (SEO)
Cool.. Just lending another set of eyes.. You know sometimes that's all that's needed.. at least for me sometimes it is.. (or it could be late nights + Merlot = a tired & silly Crystal:laugh:)
Quote:
Originally Posted by
conor
Hi Crystal,
Mona's all sorted now.. it was just a typo! Easily done! Thanks for the feedback though!
Have a good evening..
All the best..
Conor
-
Ceon URI Mapping (SEO) & Product Extra Fields
Hi Conor,
After read all the threads, I still can not find the answer with my problem now.
I had added ''Ceon URI Mapping (SEO)' without any problem and before that I have added another module 'Product Extra Fields ' before I copy the completely folder for moving to under my another domain name.
When I check every modules which I have added that I found out the 'Product Extra Fields' doesn't exsist in my admin any more, so I check it back if every files are located in the correct locations and they are all correctly. Check on my shop, the extra information and files which I added/uploaded are still showed on the site. So, I decided to re-write the admin file of 'Product Extra Fields'. And then it appear again on the admin, but at the same time the 'Ceon URI Mapping (SEO)' select/add box is gone.
Could you please tell me how/what I should do for those two modules appear on the same page when I add the new product?
Christine
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Quote:
Originally Posted by
ziamo
Hi Conor,
After read all the threads, I still can not find the answer with my problem now.
I had added ''Ceon URI Mapping (SEO)' without any problem and before that I have added another module 'Product Extra Fields ' before I copy the completely folder for moving to under my another domain name.
When I check every modules which I have added that I found out the 'Product Extra Fields' doesn't exsist in my admin any more, so I check it back if every files are located in the correct locations and they are all correctly. Check on my shop, the extra information and files which I added/uploaded are still showed on the site. So, I decided to re-write the admin file of 'Product Extra Fields'. And then it appear again on the admin, but at the same time the 'Ceon URI Mapping (SEO)' select/add box is gone.
Could you please tell me how/what I should do for those two modules appear on the same page when I add the new product?
Christine
There are a number of files in this add on that Conor has put in the "modified_core_files" folder so you can EASILY identify files that will be overwritten by Ceon URI.. (This is a HUGE help that makes installation SO MUCH simpler) You need to use a tool like Winmerge to merge the changes between the files in your store and the files in the "modified_core_files" folder. So you will have the features of the Product Extra Fields mod and Ceon URI..
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Quote:
Originally Posted by
DivaVocals
There are a number of files in this add on that Conor has put in the "modified_core_files" folder so you can EASILY identify files that will be overwritten by Ceon URI.. (This is a HUGE help that makes installation SO MUCH simpler) You need to use a tool like
Winmerge to merge the changes between the files in your store and the files in the "modified_core_files" folder. So you will have the features of the Product Extra Fields mod and Ceon URI..
Hi DivaVocals,
Thank you for the reply. I have followed your instruction to change those two modules with the software "Winmerge" from below 3 files:
#admin/includes/modules/update_product.php
#admin/includes/modules/product/collect_info.php
#admin/includes/modules/product/preview_info.php
Right now, everything is functional. :clap:
Thanks a lot!!
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Quote:
Originally Posted by
ziamo
Hi DivaVocals,
Thank you for the reply. I have followed your instruction to change those two modules with the software "Winmerge" from below 3 files:
#admin/includes/modules/update_product.php
#admin/includes/modules/product/collect_info.php
#admin/includes/modules/product/preview_info.php
Right now, everything is functional. :clap:
Thanks a lot!!
Glad that helped.. Winmerge is a dynamite tool!!!:yes:
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Hi,
Quote:
Originally Posted by
DivaVocals
Glad that helped.. Winmerge is a dynamite tool!!!:yes:
Winmerge is so handy.. however you should try out Beyond Compare if you haven't already.. it's in another league. A computer without it (and DOpus) would take so much longer to use and be so less productive for me! :)
(Try out its File Format Grammars.. you can have it ignore differences between $version/$Id lines etc. when comparing files, the kind of fantastic smaller feature which can save so much time.. you can compare entire directory trees and only see the differences that matter..).
Anyway, just thought I'd mention it as I loved Winmerge too but haven't used it since I found Beyond Compare! (Can't get a more enthusiastic tip than that! :) )
Have a good weekend!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Gonna give that a looksee.. Thanks for the tip..
Quote:
Originally Posted by
conor
Hi,
Winmerge is so handy.. however you should try out Beyond Compare if you haven't already.. it's in another league. A computer without it (and DOpus) would take so much longer to use and be so less productive for me! :)
(Try out its File Format Grammars.. you can have it ignore differences between $version/$Id lines etc. when comparing files, the kind of fantastic smaller feature which can save so much time.. you can compare entire directory trees and only see the differences that matter..).
Anyway, just thought I'd mention it as I loved Winmerge too but haven't used it since I found Beyond Compare! (Can't get a more enthusiastic tip than that! :) )
Have a good weekend!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
ive got an error that i need to fix.......!!!!!!
ive had my site running for a year so far with the mod running fine and dandy until the other day i noticed that i had bots coming to my sites spamming me and trying to access my admin section.
I followed the instructions on how to change the admin section name to something else.... after changing the admin section i enter the url and i get forwarded to a page not found site map page! any ideas???
-
Re: Ceon URI Mapping (SEO) & Product Extra Fields
Hi Simon,
Quote:
Originally Posted by
kitcorsa
I followed the instructions on how to change the admin section name to something else.... after changing the admin section i enter the url and i get forwarded to a page not found site map page! any ideas???
Sounds like you haven't followed the instructions properly to change the .htaccess file for your admin directory. Read them again and make sure you are excluding the admin directory from the rewrite rule - also check that you updated the path to your admin directory in admin/includes/configure.php (you've definitely missed one or both of these two things if you are getting a 404).
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Connor,
I have an issue I was hoping you could help with. I had to restore my database and home directory of my site (hosted) and then I followed all the install instructions again for the URI mapping contribution, except point3, creating the database tables does not automatically occur when I go into the modules section. Now the mapping does not work. I had it all working prior to the RESTORE.:oops:
Any ideas what i should look for
-
Re: Ceon URI Mapping (SEO)
Hi there,
How do I get the contact us, privacy, sitemap etc. to have URI mapping?
Thanks
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Berserker
Hi there,
How do I get the contact us, privacy, sitemap etc. to have URI mapping?
Thanks
You have to manually create those entries in your mapping table using your MySQL Admin. Conor's readme instructions explain exactly how to make those DB entries. HTH..
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
I'm afraid I can't replicate your problem, nor can I see how it could occur if you're the latest version of the code.
Can you see the problem by clicking on this link?
It's not really that big of an issue but I am curious as to why it behaves likes this despite the fact that none of my products are linked.
Also, yesterday a customer encountered for the first time a scary problem: A free-shipping product somehow appeared as non-free-shipping (for that order only) and charged the customer for shipping.
This was a spurious problem and neither the customer nor I could reproduce the problem (with the same exact product, without changing anything in the Admin or the system).
Problems which cannot be reproduced are the scariest... This is the first time I ever encounter this problem and I don't know whether it could be related to the recent introduction of Ceon URI to my zen-cart based store.
At this point (i.e. as long as we cannot reproduce it) there isn't much that can be done about this problem but I mention it here in case it would "ring a bell".
As for the praise for your remarkable work, you deserve it. :smile:
-
Re: Ceon URI Mapping (SEO)
I notice this happens for me on products I created via the copy function.. weird.. It doesn't see to affect anything adversely, but it shows up for linked and/or copied products only..
Quote:
Originally Posted by
scatzc
Can you see the problem by clicking on
this link?
It's not really that big of an issue but I am curious as to why it behaves likes this despite the fact that none of my products are linked.
-
Re: Ceon URI Mapping (SEO)
hi conor i figgered out it was the htaccess file in the index of the site.... for somereason it wasn't changing via ftp but has now :S
all i can guess is the this file was being rewriten by the server control panel as i was blocking ip's and chnageing the admin section at the same time and the blocked ip's ive noticed are listed in this htaccess file as well.
-
Re: Ceon URI Mapping (SEO)
Hi there,
Im having an error with 1 category and all the products in it. When you click on any of the product, the buttons/images arent displaying. Also, when you click refresh while on viewing the product, the whole site falls apart. It doesnt happen with any other category. The problem does not occur when I turned off Ceon Uri Mapping. Site is www.playnippon.com and the problem category is Music CD.
Thanks...
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
emarinos
I have an issue I was hoping you could help with. I had to restore my database and home directory of my site (hosted) and then I followed all the install instructions again for the URI mapping contribution, except point3, creating the database tables does not automatically occur when I go into the modules section. Now the mapping does not work. I had it all working prior to the RESTORE.:oops:
Any ideas what i should look for
Unfortunately you've messed up your restore quite badly! You'll probably have to manually remove any references to the module from the database (remove its tables) and then go back to the configuration utility. It should then see that no URI Mapping tables exist and create them.
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
scatzc
Can you see the problem by clicking on
this link?
I can see that that link has a cPath after it but all the links to that page on your site that I can see don't have the cPath.
It's the page that is showing that cPath link that is the problem, not the link itself (once you get there it's irrelevant).
Where is it that you are seeing this link being generated.. i.e. *how* are you getting to this page with its cPath addition?
Quote:
Originally Posted by
scatzc
Also, yesterday a customer encountered for the first time a scary problem: A free-shipping product somehow appeared as non-free-shipping (for that order only) and charged the customer for shipping.
That's definitely nothing to do with the module. At least you can count it out as somewhere to look for the source of that problem!
Quote:
Originally Posted by
scatzc
As for the praise for your remarkable work, you deserve it. :smile:
Well it really is appreciated, thank you!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor, I need your urgent help...
I have installed this Ceon URI Mapping, but got two problems.
The first one, when I select the auto-generating, it can not work. The page said that there are some errors. The subcategories works fine.
The other one, I rewrite the URI manually, it can not show full path, it just show the path of product.
Thank you..
-
Re: Ceon URI Mapping (SEO)
Hello Conor,
I knwo you ceon_uri_mapping_3[1].2.4, but after I installing it, and I have do that accorting to your structure, but
after I enter URI Mapping: and Tick this box to have the URI auto-generated for this category.
but on the web, I click the page, it says 404 error can't found the file.
What the problem it is?
Regards,
Alan
-
Re: Ceon URI Mapping (SEO)
I have already solve my problem, thank you
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Where is it that you are seeing this link being generated.. i.e. *how* are you getting to this page with its cPath addition?
By now, the only way to get link generated with the cPath addition is via old external links (e.g. found by a Google search and, when clicked, they are converted on-the-fly to Ceon URI).
Again, this is not really a big issue but in case you are curious about this, I am providing the information.
Quote:
Originally Posted by
conor
That's definitely nothing to do with the module. At least you can count it out as somewhere to look for the source of that problem!
I think that you are right. This type of problem would occur if Zen-Cart somehow temporarily lost access to the downloadable file. Could be a spurious filesystem (on the server) problem which has nothing to do with Zen-Cart, or a very rare bug in Zen-Cart. At this moment, there isn't much that I can do about this except keep an eye on it and report in the Zen-Cart forums what I observe.
Now, to a real pressing issue: When I copy my real store directory to a test store directory (with the database of course), all is well except that all URIs now point to the real store... Which means that I have to manually modify each and every product's URI in the product description.
Is there a way (a script perhaps or a command in the Admin console) to update, in one fell swoop, all subdirectory paths (and only the subdirectory part) to where the store is located?
For example, from:
Quote:
/store/category1/product1-seo-friendly-description
to
Quote:
/teststore/category1/product1-seo-friendly-description
Similar to what fix_cache_key.php does?
Thanks.
-
Re: Ceon URI Mapping (SEO)
No automate way is that's what yo are looking for.. I have to do this everytime I move a clients site from my dev server to their web host.. I usually do a DB dump and then open my SQL dump file in a text editor, and do a simple find and replace.. Another way is to write a replace SQL statement that does basically the same thing.. I just find using the text editor method easier..
Quote:
Originally Posted by
scatzc
By now, the only way to get link generated with the cPath addition is via old external links (e.g. found by a Google search and, when clicked, they are converted on-the-fly to Ceon URI).
Again, this is not really a big issue but in case you are curious about this, I am providing the information.
I think that you are right. This type of problem would occur if Zen-Cart somehow temporarily lost access to the downloadable file. Could be a spurious filesystem (on the server) problem which has nothing to do with Zen-Cart, or a very rare bug in Zen-Cart. At this moment, there isn't much that I can do about this except keep an eye on it and report in the Zen-Cart forums what I observe.
Now, to a real pressing issue: When I copy my real store directory to a test store directory (with the database of course), all is well except that all URIs now point to the real store... Which means that I have to manually modify each and every product's URI in the product description.
Is there a way (a script perhaps or a command in the Admin console) to update, in one fell swoop, all subdirectory paths (and
only the subdirectory part) to where the store is located?
For example, from:
to
Similar to what
fix_cache_key.php does?
Thanks.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
scatzc
By now, the only way to get link generated with the cPath addition is via old external links (e.g. found by a Google search and, when clicked, they are converted on-the-fly to Ceon URI).
Interesting, that sounds like the redirect is not comparing the cPath variable correctly. I'll take a look and fix that if necessary, sounds like a tiny coding issue.
Quote:
Originally Posted by
scatzc
Is there a way (a script perhaps or a command in the Admin console) to update, in one fell swoop, all subdirectory paths (and only the subdirectory part) to where the store is located?
As Crystal says next, for the minute to do a SQL dump, find and replace and then reimport the updated SQL.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hello Conor,
I met the new problem, I installed the ceon_uri_mapping_3[1].2.4 yesterday, and it run very well on my web,
but today, When I access the admin of the web, it says Page Not Found The address you typed was either entered incorrectly or is no longer on our site.
Return to the Home Page or view our Site Map.
what the problem is, need help :unsure:
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
alan145
what the problem is, need help :unsure:
I guess English isn't your first language? :)
It sounds like you have renamed your admin directory from "admin" but forgotten to modify the admin directory exclusion condition of the rewrite rule. You'll find instructions about what to do about this in the configuration section of the documentation that comes with the module. Read the section on the admin folder and all should become clear.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I guess English isn't your first language? :)
Conor
ceon
Englisht is the first language and there is only english
the thing make me confused is that I can use it yesterday, but can't use today
I also contact my host, it seems no problem,
So confused,
So could you tell me the way to remove the Ceon URI Mapping (SEO) compleletely, and reinstall it,
Hope it can solve the problem.
Yesterday, First I install ceon_uri_mapping_3[1].2.3, but it is no use, then I upgrading it to 3[1].2.4, then in the catagories, the SEO map is there. And I can use it yesterday,
Today, I can't access admin
Alan
-
Re: Ceon URI Mapping (SEO)
Hi Alan,
Quote:
Originally Posted by
alan145
Englisht is the first language and there is only english
I didn't mean the site, I meant you, the last post had some confusing grammar/language! :)
Quote:
Originally Posted by
alan145
the thing make me confused is that I can use it yesterday, but can't use today
I also contact my host, it seems no problem,
So confused,
So could you tell me the way to remove the Ceon URI Mapping (SEO) compleletely, and reinstall it,
If it's only the admin then I think it's your rewrite rule. I'm afraid I can't say more than that here.
There are no uninstallation instructions for the module.. to "uninstall" simply restore the backups you have of the files you overwrote and delete the database tables. You can then manually delete each of the new files the module came with, just take a look at the list of files in the installation instructions.
Hope that helps!
Al the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hello,
I started using zencart several months ago. Until now i did everything to make it as seo-friendly as posssible. Just yesterday i found out about the possibility to add a module to zencart wich will transform your dinamic url to static url.
I jumped at the oportunity and downloaded and installed Ceon URI Mapping - wich seems to me the most user friendly module.
I installed all the files corectly i placed the rewritte rules in the .htaccess file (in the root directory) as stated in the installation doc. I activated the module from control panel - and then i encountered the fallowing problem (wihile accesing my site):
"Ceon URI Mapping cannot access REQUEST_URI server variable! "
In the meantime all the site became distorted - all the fonts became bigger and all colums were allingned to the left (no centered as ususal).
I am quite stuck now and i don't know what else to do.
My site is hosted on a windows server - i am useing Parallel Plesk (virtuozzo) Control Panel. I understood that i can install the rules in a VirtualHost directive. I am quite ignorant in this matter - it is possible to make that useing my control panel?
Or my problem is of a different nature?
My site is www.vapori.ro
Thank you in advance for your attention and help.
Best regards,
Csorik Janos
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
romancoins
"Ceon URI Mapping cannot access REQUEST_URI server variable! "
That's a fatal error. Are you not using Apache? The software 100% depends on the REQUEST_URI variable being available in the server environment variables.
I'm afraid you'll have to talk to your host to get this fixed. Alternatively you may want to search the internet for more information. I'm afraid I have never encountered a server which doesn't have this most basic of variables available (but as you can see built an error message into the module on the off chance!).
Quote:
Originally Posted by
romancoins
In the meantime all the site became distorted - all the fonts became bigger and all colums were allingned to the left (no centered as ususal).
That is because the error message is being displayed before the HTML for the page is output.. it is a fairly standard thing that happens when text is output before the actual page.
Try getting the server fixed so that it populates the above variable. Otherwise you cannot use the module and should disable it in the admin.
Sorry I don't have better news for you than that. However, hopefully this is easy enough to resolve! Good luck!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
Thank you very much for your reply and help. You were absolutely right. Just talked with my host admin. They said that windows based hosting does not allow this variable to run.
I asked them to put my cart on a linux based server. They asured me that it can be done without loseing all my setings (products, layout, data base etc). I hope that they are right in this assesment :D I really want to see it working so i decided to give it a try.
I would check back to let you know the developments.
Thank you again for your help.
Janos
-
Re: Ceon URI Mapping (SEO)
Hi Janos,
I'm glad they're going to get your sorted but what they've said is't quite true. We run Windoze test servers and they provide the REQUEST_URI variable just fine.. the module was written using a Windoze test server!
Nevertheless what ends well ends well and it's definitely better to be on a linux server so think of moving as a bonus! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
scatzc
By now, the only way to get link generated with the cPath addition is via old external links (e.g. found by a Google search and, when clicked, they are converted on-the-fly to Ceon URI).
Can you please get in contact with me via this link so I can send you some code to try out and see if we can get rid of this cPath issue for you?
Also, if you could send me two or three examples URIs I'd appreciate it.. this includes the URI that google is using and then what it is being remapped to (with the cPath on the end).
Thanks!
All the best..
Conor
-
Re: Ceon URI Mapping (SEO)
Hi,
I am back with good news. The Linux upgrade worked perfectly. Now Ceon URI maping is up and runing perfectly.
I suspected that the host explanations regarding the windows server is a little bit farfetched. Probably they consedered that it was good enaugh for a newbie like me :D
Conor thank's again for the good advice and for your nice mod!
Best wishes,
Janos
-
Re: Ceon URI Mapping (SEO)
Hi Janos
I'm glad to hear that everything's working and that you like the software! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor I am having the exact same "issue". Can you send this code to me as well.. (you still have my e-mail address correct??) I'd be happy to test it out..:smile:
Quote:
Originally Posted by
conor
Hi,
Can you please get in contact with me via
this link so I can send you some code to try out and see if we can get rid of this cPath issue for you?
Also, if you could send me two or three examples URIs I'd appreciate it.. this includes the URI that google is using and then what it is being remapped to (with the cPath on the end).
Thanks!
All the best..
Conor
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
romancoins
Hi,
I am back with good news. The Linux upgrade worked perfectly. Now Ceon URI maping is up and runing perfectly.
I suspected that the host explanations regarding the windows server is a little bit farfetched. Probably they consedered that it was good enaugh for a newbie like me :D
Conor thank's again for the good advice and for your nice mod!
Best wishes,
Janos
and that is definitely a true statement.. It's a common issue with providers of network or ISP services.. The folks who are 1st level support often really don;t know anything more than their scripts tell 'em to say.. I have had more conversations with 1st level support techs who have "created" facts when they did not know the answer to something..
I told have told more support people something I used to tell my interns, "You do realize that 'I don't know the answer to that question' IS an answer.." and then I asked to be transferred to 2nd level support..:laugh:
-
Re: Ceon URI Mapping (SEO)
Ceon,
ever have any issues with 500 Internal Server Errors when operating from subdomain. i.e. store.domain.com?
getting "Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace." errors
thanks for a cool mod as it works on other sites.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
IGD
ever have any issues with 500 Internal Server Errors when operating from subdomain. i.e. store.domain.com?
Try adding a slash before index.php in the rewrite rule
Subdomains make no difference whatsoever as to how the module works... everything before the initial slash is irrelevant! So I think this is just a server configuration problem on your end (like using a htaccess rewrite rule in a virtualhost directive, which the above tip should fix).
Quote:
Originally Posted by
IGD
thanks for a cool mod as it works on other sites.
Sounds like thousands are using it now! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
it is actually a configuration error as I am redirecting the subdomain to a local web server. thank you for your time :)
-
Re: Ceon URI Mapping (SEO) - Canonical Meta Tag
Greetings!
I work for a non-profit that assists small businesses. Installed your module and it worked fine on the first try. Great documentation.
We edited the URIs, created new sitemap.xml files, and resubmitted to Google.
PROBLEM: Webmaster tools is showing pages with duplicate title and meta tags due to duplicate pages. Solved this problem for our own non-profit site by adding the canonical URL meta tag per Google's recommendation.
I found the following fragment for adding a cononical URI meta tag to Zen Cart, but am unsure how to modify the script to pull the SEO URI to populate the tag.
<!– Begin SEO Canonical –>
<link rel=”canonical” href= <?php
$original_url = HTTP_SERVER . $_SERVER[’REQUEST_URI’];
$split_url = explode(’?', $original_url);
$no_querystring_url = $split_url[0];
echo $no_querystring_url; ?> />
<!– End SEO Canonical –>
Can anyone help us figure this out?
We suspect $original_url = needs to grab the SEO URL from the database somehow and then it will probably work.
The small business we're assisting is at:
medicharms.com
-
Re: Ceon URI Mapping (SEO)
Hi all,
Love the add on, but I am experiencing a problem. I installed this add on and it seems to work for the front store. But for some reason it still over writes my admin pages. I renamed the admin folder, lets say for "admin1" and in my access file i put:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin1.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
And still it overwrites it, does anybody what might be wrong?
Thanks!!!
-
Re: Ceon URI Mapping (SEO)
forgot to add, my admin folder is in the root of the site. And my site is on the bluehost, if it matters.
Thanx again!!!
-
Re: Ceon URI Mapping (SEO)
Hi Dan,
Quote:
Originally Posted by
Dan123
Love the add on, but I am experiencing a problem. I installed this add on and it seems to work for the front store. But for some reason it still over writes my admin pages. I renamed the admin folder, lets say for "admin1" and in my access file i put:
I'm afraid the only explanation I can think of is that you aren't actually using the correct rewrite rule.. either because you haven't uploaded your updated .htaccess file or have got the admin directory wrong. I can't think of any other reasons the rule you posted wouldn't work.
Good luck getting this sorted!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO) - Canonical Meta Tag
Hi,
Quote:
Originally Posted by
bighodag
I found the following fragment for adding a cononical URI meta tag to Zen Cart, but am unsure how to modify the script to pull the SEO URI to populate the tag.
I'm afraid I don't know about canonical URLs. Hopefully someone here can help you.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thank you Conor for your fast reply. It was my stupid mistake that did not let it working, but now it is fine:clap:
I have another question
in my categories I have many pages and in the second and next pages, the url has an end like this http://www.mysite.com/dresses?&sort=20a&page=2, is it possible to get rid of ?&sort=20a&page=2 and just have dresses/p2 or something like that?
Thank You!!!
Love your add on!!!!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Dan123
Thank you Conor for your fast reply. It was my stupid mistake that did not let it working, but now it is fine
I'm glad to hear that! :)
Quote:
Originally Posted by
Dan123
is it possible to get rid of ?&sort=20a&page=2 and just have dresses/p2 or something like that?
That would require custom coding. I don't think the time it would take would be worth it!
Quote:
Originally Posted by
Dan123
Love your add on!!!!
Glad to hear that too! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Sorry to bother you so much, but I just found another problem.
In my site I have 2 languages and when I swith from one to another in the category with the new urls it does not go through. it shows the link for that language and also adds ?sort=20a&language=en trying to change the language how it used to be with the old urls
Ex:
http://www.mysite.com/viechierniie-platia
and when I switch to eng it gives my this url
http://www.mysite.com/viechierniie-p...0a&language=en
instead of
http://www.mysite.com/evenning-dresses
Do you know how to fix that??
Thanks again, I appreciate your help!!!
-
Re: Ceon URI Mapping (SEO)
is it because of languages files in admin folder, do I need to upload them for each language too?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Dan123
Sorry to bother you so much, but I just found another problem.
To be honest, what you've said isn't really a "problem". You'll notice that all the links on the page use the URI Mappings for the new language, it is only the URI displayed in the address bar that still has the old language's URI.
I can add code to redirect the user to the equivalent URI to the current URI but for the new language.
Or code could be added to the html_output zen_href_link function to look up the language ID for any link which attempts to change the language (i.e. the language sidebox) and then check to see if the link has an equivalent in this new language ID. That would add several database calls though.
Both of these are really overkill to me at this time.. it's such a minor thing, just one simple link, and I don't think search engines will care about a link on a site to change languages. So I've marked the code with a todo but I have no plans to make these changes I'm afraid. You never know I may do in the future, I think it's fairly unlikely though! :)
// @TODO Record current language ID in case language is being changed. This could then
// be used later to redirect to the current URI for the new language.
So my advice is to just ignore this issue! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
It would be fine if it went through, what really bothers me is a broken link. It does not go from a category in russian to the same category in english. but for some reason it works for the product
-
Re: Ceon URI Mapping (SEO)
Never Mind!! Finally it works now
Thanks Again for your great add on and your help!!!
-
Re: Ceon URI Mapping (SEO)
To recap my issue my staging area for a website was redirected to my in-house web server from the production server by adding an A Name to the DNS zone and pointing to the home servers IP. ie. demo.domain.com.
Quote:
Originally Posted by
conor
Hi,
Try adding a slash before index.php in the rewrite rule
Subdomains make no difference whatsoever as to how the module works... everything before the initial slash is irrelevant! So I think this is just a server configuration problem on your end (like using a htaccess rewrite rule in a virtualhost directive, which the above tip should fix).
ceon
The following changes were made to get this module to work if your domain is being initially redirected from another server.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/(index.php|admin|editors) [NC]
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
RewriteCond %{REQUEST_URI} !/(cpanel|frontend) [NC]
RewriteRule (.*) /index.php [L]
-
Re: Ceon URI Mapping (SEO)
I can't seem to get this mod to work. Granted I'm somewhat inept when it comes to things other than CSS/HTML.
I went into one my current products and told it to auto generate the uri..however when I navigate to said product in the store frontend, I get a 404 NOT FOUND
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
khopek
I can't seem to get this mod to work. Granted I'm somewhat inept when it comes to things other than CSS/HTML.
I went into one my current products and told it to auto generate the uri..however when I navigate to said product in the store frontend, I get a 404 NOT FOUND
This is the EASIEST of the SEO mods to install and configure., and to be honest you really haven't provided enough information here.. "It's broken" doesn't give much to go on..:smile: Did you follow all the right steps for setting up your .htaccess file?? Links to your site would help..
-
Re: Ceon URI Mapping (SEO)
Hi Coner,
Great mod, simple to install and simple to use. I found the instructions easy to follow and told me what I needed to know. I have now got some lovely looking links. Many thanks
I thought I would share something in case someone does as I did. When I installed the mod I was able to use the products edit page to and see at the bottom the lines for your mod. I didn't see this info in my categories or ez-pages. After reading most of this thread and not seeing the problem listed I thought I would go over it step by step. At this point I realised that I had not uploaded the files from \modified_core_files\1.3.8a\admin\ - I had only missed these 4 files and once uploaded everything was perfect.
Many thanks for this mod
Kind regards
Natty
WoS
-
Re: Ceon URI Mapping (SEO)
Not sure if this question has been posted before so I apologize in advance.
Whenever I clear my cookies I get "?zenid=xxxxxxxxxxxx" appended to all my links. As soon as I click on anything it no longer does that. I'm worried that this will have a bad effect on google since google will index the ?zenid=xxxxxx links
Is there a way to fix this?
thank you
-
Re: Ceon URI Mapping (SEO)
Connor,
I just wanted to say a HUGE thanks for this mod, for all your hard work into it and the incredible support you offer on this forum. It's very powerful, and is doing what I need it to do. :D
It took me a while to figure out the .htaccess part of things, but after I figured it out, things are working like a charm.
Thanks once again! :clap:
For the uninitiated (like me), if you get a 404 Page Not Found error, here are some simple steps to follow (after browsing all the messages on this subforum, there seems to be a common pattern):
1. Make sure your .htaccess file is placed in the root directory. Look for your Zen Card "index.php" file, and your .htaccess file should be sitting pretty next to it. Connor already mentions this in the installation guide on his site.
2. The 5 rewrite rule examples he gives are examples, and to get yours to work, you may need a combination of them. I had changed my admin folder name, but I used rule example 1, and simply changed the line:
Code:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/YOUR RENAMED ADMIN FOLDER.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Hope this helps any newbies similar to me. :flex:
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
redox
Whenever I clear my cookies I get "?zenid=xxxxxxxxxxxx" appended to all my links. As soon as I click on anything it no longer does that. I'm worried that this will have a bad effect on google since google will index the ?zenid=xxxxxx links
Is there a way to fix this?
There's nothing to fix. Zen Cart manages the session ID using the zenid query string parameter.
You cannot change this behaviour so just ignore it! Google et al should be familiar with the idea that sites issue a session ID on initial links, I'd imagine this behaviour is ignored by them (I don't know for sure but the point is moot as you can't do anything about it).
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Sevenhelmets
I just wanted to say a HUGE thanks for this mod, for all your hard work into it and the incredible support you offer on this forum. It's very powerful, and is doing what I need it to do. :D
That's very nice of you to say, thank you.. it really does make a difference to know that the work/time's appreciated! :)
Quote:
Originally Posted by
Sevenhelmets
Hope this helps any newbies similar to me. :flex:
Thanks also for that.. I will see if there's a way I can make this clearer in the documentation.. as you say all the information is there already, maybe I'm just not presenting it intuitively enough! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
There's nothing to fix. Zen Cart manages the session ID using the zenid query string parameter.
You cannot change this behaviour so just ignore it! Google et al should be familiar with the idea that sites issue a session ID on initial links, I'd imagine this behaviour is ignored by them (I don't know for sure but the point is moot as you can't do anything about it).
All the best..
Conor
ceon
thank you for the help. I was worried that it was a configuration problem on my end.
-
Re: Ceon URI Mapping (SEO) vs SSU
hi,,,
quick question...
i currently use the Simple SEO URL, which is a great great mod and yellow1912 has done an amazing job!! but i have a few little problems and there has been no support lately.
Im thinking of switching to Ceon's mod but have a few questions..
A) whatis the speed inpact on the site using this mod
B) does it allow for me to auto create Alias and allow me to create my own.
C) does it rewrite all URLs (catagories, products, ezpages, define ages, manufactures...)
D) In SSU the problems i have are products with attributes cannot be deleted from the cart and customers are unable to use product updates...
any and all advice welcome..
p.s. is the intallation as easy as SSU... or even easier? basically.. what are the pros and cons between the two?
-
Re: Ceon URI Mapping (SEO) vs SSU
Quote:
Originally Posted by
mcshane78
hi,,,
quick question...
i currently use the Simple SEO URL, which is a great great mod and yellow1912 has done an amazing job!! but i have a few little problems and there has been no support lately.
Im thinking of switching to Ceon's mod but have a few questions..
A) whatis the speed inpact on the site using this mod
B) does it allow for me to auto create Alias and allow me to create my own.
C) does it rewrite all URLs (catagories, products, ezpages, define ages, manufactures...)
D) In SSU the problems i have are products with attributes cannot be deleted from the cart and customers are unable to us product updates...
any and all advice welcome..
p.s. is the intallation as easy as SSU... or even easier?
A - None
B & C - If you read through Conor's VERY well written readme, you will see the answer to these questions.
D - No issues whatsoever with this add-on.. It just works.. Also I as I often suggest, you might want to take a read through this support thread. It will give you an EXCELLENT sense of what you can expect in terms of support from the add-on author and the community for this SEO add-on.
-
Re: Ceon URI Mapping (SEO) vs SSU
Quote:
Originally Posted by
mcshane78
p.s. is the intallation as easy as SSU... or even easier? basically.. what are the pros and cons between the two?
I actually tried installing SSU first, because of the title ("Simple" sounded like it suited me), while Ceon URI Mapping looked really daunting.
In reality, I ran into an issue with SSU straight away, because SSU required Mod Manager to be installed first, and I had issues installing THAT. After fooling around with it for about an hour, I gave up, and tried setting up Connor's mod instead.
It installed within seconds, and after I figured out my .htaccess settings (about an hour to troubleshoot - I have zero experience with .htaccess files), it was up and running very quickly.
I even went and edited my database (another first), so that my menu items on sideboxes ("shipping and returns", "Privacy Notice" etc) could also reflect the new URLs. The documentation made it very easy to figure out what I had to do (after fully backing up the DB first of course!).
So in answer to your question, Connors is easier. The documentation is VERY well done, and one of my primary reasons for switching without much hessitation was that I noticed the support on the SSU side of things seems to be drying up a fair amount (not meant as critism towards yellow, I understand priorities change), while Connor is still VERY involved in this forum.
-
Re: Ceon URI Mapping (SEO) vs SSU
Hi,
Quote:
Originally Posted by
Sevenhelmets
I actually tried installing SSU first, because of the title ("Simple" sounded like it suited me), while Ceon URI Mapping looked really daunting.
Yes, sorry to make it appear so scary.. I think it's better to have people a bit frightened about modifying core files before they do it.. better safe than sorry!
Modifying the core files does have the potential for problems but thankfully it hasn't caused too many so far, hopefully because I've limited the number of files which need to be modify to the bare minimum that could be while the module retains/adds as much functionality as possible!
Thanks for the nice comments!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO) vs SSU
I too started with SSU.. I could not get it to work.. (it kept choking on hidden flash code from my WOZ sideboxes)
So after struggling to get SSU to work I received a PM from a fellow Zenner who suggested I give this one SEO add-on a try.. I have to admit that since this product was the "new kid on the block" I shied away from it..
But after reading through the WHOLE support thread (something I ALWAYS do and advise others to do before installing any mod) I saw one thing that made a HUGE difference for me right away.. CONOR..
This man makes it a point to answer nearly EVERY SINGLE POST in this support thread.. This was HUGE for me.. Conor's readme is detailed and well written. If you use it as your bible, it will guide you right through the ENTIRE process.. I had CEON URI up and running in NO TIME..
As a bonus and further proof of Conor's awesomeness, Conor even helped me troubleshoot a small conflict issue I had with the WOZ mod and this add-on which was interferring with the products notifications function..
BTW, Conor REALLY didn't have to help me resolve this issue at all.. The problem really was caused by some poorly written code in the WOZ configuration file.
Conor could have thrown his hands up and pointed a finger at the WOZ author (who is LONG GONE BTW..) He didn't.. He helped me troubleshoot and resolve the issue. THAT is truly what makes Conor and this mod the easiest to use best supported SEO add-on available for Zen Cart.
Dayum.. I'm starting to sound like a Conor groupie!!:laugh::laugh::laugh:
Quote:
Originally Posted by
Sevenhelmets
I actually tried installing SSU first, because of the title ("Simple" sounded like it suited me), while Ceon URI Mapping looked really daunting.
In reality, I ran into an issue with SSU straight away, because SSU required Mod Manager to be installed first, and I had issues installing THAT. After fooling around with it for about an hour, I gave up, and tried setting up Connor's mod instead.
It installed within seconds, and after I figured out my .htaccess settings (about an hour to troubleshoot - I have zero experience with .htaccess files), it was up and running very quickly.
I even went and edited my database (another first), so that my menu items on sideboxes ("shipping and returns", "Privacy Notice" etc) could also reflect the new URLs. The documentation made it very easy to figure out what I had to do (after fully backing up the DB first of course!).
So in answer to your question, Connors is easier. The documentation is VERY well done, and one of my primary reasons for switching without much hessitation was that I noticed the support on the SSU side of things seems to be drying up a fair amount (not meant as critism towards yellow, I understand priorities change), while Connor is still VERY involved in this forum.
-
Re: Ceon URI Mapping (SEO) vs SSU
Hi,
Quote:
Originally Posted by
DivaVocals
Dayum.. I'm starting to sound like a Conor groupie!!:laugh::laugh::laugh:
lol, yes, I'm starting to get frightened. And it's not even Halloween yet! ;) Thanks for yet more nice words though! :)
All the best...
Conor
ceon