-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
The mod works great.
Glad you like it!
Quote:
Originally Posted by
Mickmo68
The only problem I am having is that the mysite.com/index.php and the mysite.com/ are both being indexed by Google and they are the same, hence, duplicate content. This is not too good for SEO. Is there a way to 301 the /index.php to the / page? Thank you in advance.
I think I'm going to add a default mapping to the next version of the module to do just this. Here's how you can do it manually:
Add an extra record to the URI mapping table:
uri:
/
language_id:
1
main_page:
index
Leave the db_id etc as null, using the NOW() function for date_added
This will redirect the index.php?main_page=index to / and will also cause Zen Cart to use / as the link instead of index.php?main_page=index
For more information please read the configuration section of the documentation. I'm in the middle of moving out so I won't be around much to answer any questions over the next few weeks!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
Thank you for the fast reply. I am afraid you are writing way above my head. I'm not sure how or where to
Quote:
Add an extra record to the URI mapping table:
uri:
/
language_id:
1
main_page:
index
Leave the db_id etc as null, using the NOW() function for date_added
Take your time please. Moving can be very stressful and time consuming. When you get a chance to respond (few weeks is fine) I will appreciate it.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Thank you for the fast reply. I am afraid you are writing way above my head. I'm not sure how or where to
No problem. Read the section of the manual: "Specifying the current URI Mapping for any other Zen Cart page" and those instructions should be fine, it's really very easy indeed if you've ever used "PHPMyAdmin" before.
Quote:
Originally Posted by
Mickmo68
Take your time please. Moving can be very stressful and time consuming. When you get a chance to respond (few weeks is fine) I will appreciate it.
What do you want to know? You haven't said anything other than "I don't know how to do it"! :)
By the way, if you are finding that your site has any URIs "index.php" and not" index.php?main_page=index" then you should fix the links on your site that link to index.php.
No Zen Cart links use just "index.php", they always have "?main_page=index" added to the end, which is what my prevoius post and the information in the above section of the documentation help you redirect to /.
If any of the links on your site are to "index.php" you will have to edit the HTML to change them to "/", these must be links you hard-coded in somewhere (in the template maybe?).
Thanks for the comments about moving, I don't find it stressful at all, hugely time-consuming yes, but not stressful! It's supporting these modules that can be stressful! I won't be doing much of that for two weeks so I'm just excited to be moving things about, picking things to put here and there etc.! :)
All the best...
Conor
-
Re: Ceon URI Mapping (SEO)
Let me start by expressing my gratitude. This module is amazing and extremely well documented. I could effuse praise for hours/pages but nobody would have time to read it.
I have the module installed and all redirect are working correctly, except one type
index.php?main_page=products_all&disp_order=X
redirects to
all-products?main_page=products_all&disp_order=X
which results in an infinite redirect loop instead of
all-products?disp_order=X
which is what it should redirect to according to the documentation. The same thing happens for all the redirects i set up manually in the db.
I set up each direct by specifying the uri, setting the language_id and current_uri values to 1, supplying the respective main_page value and using NOW for date_added.
Any ideas?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
doubleo2
Let me start by expressing my gratitude. This module is amazing and extremely well documented. I could effuse praise for hours/pages but nobody would have time to read it.
Thanks very much indeed for the nice comments! I do try! ;)
Quote:
Originally Posted by
doubleo2
which results in an infinite redirect loop instead of
Someone else e-mailed me about the exact same issue recently. You have done everything correctly but this is a bug in the module. I've fixed it for the next version of the module.
I've just moved out and do not yet have "proper" internet access so I'm afraid it will be a few days until I can upload the new version. Until I do please change the "current" value for that URI mapping to 0 (therefore disabling it). Once you upgrade to the new version you can re-enable the mapping.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Dear Conor,
Thanks for all your time and effort you've put in this mod. Thanks for giving me the control over my URI mappings.
Unfortunately I can't map pages like shippinginfo. I followed your instructions but I can't get the desired response:
uri: /store/shippinginfo
Language_id: 1
current_uri: 1
main_page: index.php?main_page=shippinginfo
other fields: NULL
I am using ZEN 1.38a. What am I doing wrong?
Greetings,
Paul
www.goldlion.eu
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Goldlion
Thanks for all your time and effort you've put in this mod. Thanks for giving me the control over my URI mappings.
Thanks for the kind words!
Quote:
Originally Posted by
Goldlion
I am using ZEN 1.38a. What am I doing wrong?
You're not quite getting the instructions right! ;)
Quote:
Originally Posted by
Goldlion
main_page: index.php?main_page=shippinginfo
This should be:
main_page: shippinginfo
(All other fields were right).
All the best..
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
Just installed this. I've followed the steps precisely to the best of my knowledge, but I can't get to step 3 - the module isn't displaying in the admin section. Could you please assist?
I'm using Zen Cart 1.3.8.
Cheers.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
OK Computer
Hi Conor,
Just installed this. I've followed the steps precisely to the best of my knowledge, but I can't get to step 3 - the module isn't displaying in the admin section. Could you please assist?
I'm guessing your admin folder isn't called "admin" but you have copied the admin files into a folder called "admin". You'll have to copy them into whatever your admin folder is called.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hey Conor,
Quote:
Originally Posted by
conor
Hi,
I'm guessing your admin folder isn't called "admin" but you have copied the admin files into a folder called "admin". You'll have to copy them into whatever your admin folder is called.
All the best...
Conor
Ceon
That's exactly the problem. Actually that's kind of embarrassing, how stupid of me, thanks very much for the speedy response!
-
Re: Ceon URI Mapping (SEO)
Oh, one more thing actually, is there any way of getting the manufacturer's name in the URL? Thanks!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
That URI wouldn't appear as it is doing if that was true. If you check your EZ-Pages your client must have entered something in one of the chapter fields.
If it's not that then I'm afraid I'm not sure what it is. This is definitely a EZ-Page configuration problem though and nothing to do with the URI Mapping module.
All the best...
Conor
Ceon
Conor,
Great job on this mod. I look forward to getting it all working perfectly. Realize you're moving at the moment, so if you're swamped right now I'm fine with a delayed answer...
Searched through this entire list and looked at the FAQs and the configuration instructions. Jill's question seems to be the closest I can find to my problem. However, I don't have any hardcoded links in my code like she did. At least I don't think I do! :huh:
I've installed CEON 3.2.2 on my Zencart 1.3.8a at http://www.edizioninautilus.it and have gotten the product and categories pages working fine. The problem for me is the EZ-page link.
I manually entered /chi-siamo on our Chi Siamo (who are we?) EZ-page, but in my header and footer, the link keeps showing up like this:
http://www.edizioninautilus.it/chi-siamo?&chapter=
Didn't even know what chapters were until today...
I tried going in and blanking out the 0s that were in the Chapter field (including the Order field), but they kept showing up as 0s even after I updated. Then went in to the EZ Pages Settings under Configuration in the Admin tool and saw that the Table of Contents for Chapters Status for EZ Pages was set to "On", so I disabled that. Still no joy. Tried putting "NULL" in the chapter field, but again saw a 0 when I looked back at the page in the admin.
Any clue? How can I get that ?&chapter= selector eliminated from the header and footer links on my page?
By the way, the page http://www.edizioninautilus.it/chi-siamo works fine and my other EZ Pages haven't yet been updated. I'm waiting to get this first one working correctly before doing the rest.
Thanks and best of luck with the move!
Jeremy
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Darryl,
That sounds good!
I've been asked this a few times so I've officially added it as a FAQ. Here's what I've just added:
A string beginning with “?cPath” is being added to the end of a product's URI!
The module retains Zen Cart's category history when linking to a linked product which is not within its “master” category, so the full path back through any parent categories is available. To do so, it is essential that the “cpath” query string parameter is added to the URI.
Without this feature all linked products would always show as belonging to their “master” category, which will not be the category the customer has accessed the product from.. this would make it appear to the customer that they had “jumped” to another part of the site, they would no longer be in the same category they were in previously!
There is no way to avoid the cPath parameter being added for linked products. It's advised to use linked products only when necessary and/or to simply accept that it's not possible in Zen Cart to omit the cPath parameter in the URI of linked products.
All the best...
Conor
Ceon
Conor,
This is probably just a nitpick, but I'm trying to wrestle this thing to the ground...
On my home page http://www.edizioninautilus.it, I've enabled New Products and Upcoming Products to show up. The links to my New Products show up fine with the correct URIs, but the Upcoming Product links don't. They have the cpath reference included like this:
http://www.edizioninautilus.it/di-mo...-monte?cPath=3
Presumably, the upcoming products module treats this product as a kind of "linked" product that is in a different master category??? If so, I guess there's no way to get the cPath reference out? If not, maybe there's a fix that can be added to the mod to keep this from happening? The upcoming products that are in my catalog are definitely only in one category...
Strange that the New Products module would be working correctly, but the Upcoming Products module does not...:wacko:
Not a big deal, but it could create duplicate links for the search engines, particularly if they are crawling from the main page.
Thanks for a having a look when you get the chance.
Jeremy
-
Re: Ceon URI Mapping (SEO)
here is a problem I am having when I have ceon SEO installed.
I am using godaddy.com hosting 2 sites, one is zencart, the other one is NOT zen cart.
Zencart was installed first and running fine. Then I uploaded the other site, but not working (500 internal server error).
Contacted godaddy tech support, here is their response:
"It appears that the .htaccess file that is uploaded to the account is blocking access to your stats for the account. You will need to review the scripting in this file, especially this line :
# Handle all other URIs/file types (phphtmlhtm etc.) using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]"
our zencart site is: http://mivoga.com
But when you try: http://www.casteldelmare.com, you would get a "500 internal server error"
please advise what needs to be done to correct this.
-
Re: Ceon URI Mapping (SEO)
Make sure your .htaccess file is in the right folder.
if your folder structure looks something like this
/path/to/root/
/path/to/root/mivoga.com/
/path/to/root/casteldelmare.com/
your .htaccess file should be in mivoga.com/, not in root/.
.htaccess affects everything beneath it, so having it in root/ will affect both sites, having it in mivoga.com/ should only affect the one site.
Hopefully that makes sense.
If that doesn't work, you might have to switch hosts. I dont think its a problem with the module.
-
Re: Ceon URI Mapping (SEO)
Can you explain how this mapping should be entered/
from url:
/index.php?main_page=product_info&products_id=42
to:
/index.php?main_page=product_info&products_id=180
There are a number of blog postings with the first URL, but this no longer exists in the DB (no product_id 42). The new product is product_id 180
I've tried a number of methods that seem correct according to the docs, but they all end up as page not found.
Thanks much!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
kiddo
from url:
/index.php?main_page=product_info&products_id=42
to:
/index.php?main_page=product_info&products_id=180
I dont think you can do that with this module, but if its only the one url, add this to the top of your .htaccess
Code:
RewriteRule ^index.php?main_page=product_info&products_id=42 index.php?main_page=product_info&products_id=180 [R=301, NC]
Not having the L flag means it will do both rewrites (old url to new url, new url to pretty url) at the same time
Hope that works for you
-
Re: Ceon URI Mapping (SEO)
That is indeed a good solution, and one I considered. The fly in the goo is that some old URLs may or may not contain cPath info as well and trying to account for all the possible permutations would be error prone and at best, a guess.
My current solution was to add a translation table at the beginning of the init chain that checks URLs for old product id numbers and does a simple translation as well as stripping out any cPath info. This seems to cover all cases no matter how the original URL was formed.
The Ceon docs seem to imply that this type of translation is possible, but in practice doesn't seem to work. If it did work as outlined, for the above translation to work, the main_page field in the URI table would need to be a little bigger than 45 chars. Not a problem.
BTW: this mod is otherwise exceptionally good! It's what I'm trying to do with it that's a little odd.
-
Re: Ceon URI Mapping (SEO)
Hi,
How are you?
Quote:
Originally Posted by
kiddo
Can you explain how this mapping should be entered/
from url:
/index.php?main_page=product_info&products_id=42
to:
/index.php?main_page=product_info&products_id=180
That's easy enough. You'll have to insert a new record in the database:
uri
/index.php?main_page=product_info&products_id=180
language_id
1
current_uri
1
main_page
product_info
query_string_parameters
NULL
associated_db_id
42
alternate_uri
NULL
redirection_type_code
301
date_added
NOW()
That will redirect the user to the new page for the product. If this product's new page has a URI mapping then the user will be redirected to that mapping!
Thanks for your kind words about the module, I'm glad you like it!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
OK Computer
Oh, one more thing actually, is there any way of getting the manufacturer's name in the URL? Thanks!
Simply enter it instead of having a mapping auto-generated.. the idea behind this module is you can put whatever you want in your URIs!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Jeremy,
Quote:
Originally Posted by
edizioninautilus
They have the cpath reference included like this:
I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.
Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.
I'll release the new version when I get a chance to package it up.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Jeremy,
I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.
Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.
I'll release the new version when I get a chance to package it up.
All the best...
Conor
Ceon
Conor,
Thanks for looking into this. Hmmm... The only thing I've done - or at least that I think I've done - to the EZ-Pages is add a language module. Actually, I've moved over to an entirely Italian language site and admin eliminating all of the English. Maybe there was something left in the database over on the English side that is causing this "Chapter flare up"? I'll have a look...
Thanks for fixing the upcoming products bit in the new code. I'll be on the lookout for the new version...
Jeremy
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
That's easy enough. You'll have to insert a new record in the database:
Ceon
Dang! Works perfectly!
Thought I'd tried that way but I guess not.
This mod is so cool!
Thank you !!!
-
Re: Ceon URI Mapping (SEO)
i am getting this dreadful error when trying to access admin,i have reinstall 6 times using different ftp programmes. "Warning: require_once(/home/*****/****/admin/includes/classes/class.String.php) [function.require-once]: failed to open stream: No such file or directory in /home/*********/******/********/includes/functions/extra_functions/ceon_uri_mapping.php on line 21"
-
Re: Ceon URI Mapping (SEO)
Hi,
That "dreadful error" simply means that you haven't uploaded all the files properly.
Please try again. If you still get the error, manually upload the files one by one and check the size of the uploaded files against the size of the original files from the archive.
You are at the very least missing this file:
admin/includes/classes/class.String.php
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hello again Conor,
I am having a problem with a mod I have installed to upload products to Google Base, Google Base Feeder. The upload is being denied since installing the URI mapping. I am wondering if it could be something with the htaccess.
This is the error message as the data is attempting upload:
Quote:
Google Base Feeder v.1.7.0 09.019.2008 17:38:59 started 2009/05/14 13:50:31
Feed file - /home/myusername/public_html/feed/domain_products.xml
Processing: Feed - No, Upload - Yes
Upload started...
Connection failed: uploads.google.com
Upload failed...
My htaccess rules:
Quote:
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} !^/myadminname.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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]
RewriteCond %{HTTP_HOST} !^mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]
Any input wouldbe greatly appreciated.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Any input would be greatly appreciated.
I'm afraid I don't have time to look into any third party mods at the minute.
Your rewrite rule shouldn't block anything will a file extension (like .xml). It would block anything else in the /feed directory though so, as a guess, you may want to try adding the following condition to the rewrite rule:
Code:
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !/feed.* [NC]
Hope that helps/works. If not, please look through the module and see if there are any other URIs it needs. Please let us know via this forum what worked (if anything).
I'm leaving for the weekend now, I won't be able to reply to any posts until Monday.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Thank you Conor,
Sorry, I didn't mean to imply that I was asking you to look at the other mod, I just thought you may see something in the rewrite rules that would do this. As you have said before, you have unexpectedly become an expert at htaccess.
I did something I should have tried before posting, I removed all of the rewrite rules and it still wouldn't upload. So, it has nothing to do with the htaccess. I will trouble shoot this and post here if there is any tie to the Ceon URI mapping, which I now think has nothing to do with the problem.
Once again, thank you for your help.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Sorry, I didn't mean to imply that I was asking you to look at the other mod
Don't worry, I didn't think you were asking anything much, I was just saying time is short at the minute! :)
I'm sorry to hear that you are still having trouble but glad to confirm that it's not a problem with the URI mapping module.
I wish you luck in finding and fixing your problem!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
(Zen 1.3.8a / ceon_uri_mapping_3.2.2_for_zc)
I've installed your mod and everything seems to work fine - no error messages and all mapping looks successful. Just a couple of newbie questions to make sure:
I am working on a new (basic) zencart site to replace an old (basic) html site and use EZpages, some of which have Internal link URL's to pages created in Define Pages - Home, Site Map, T&C, Privacy ...(hope this makes sense)
I have successfully added url mapping to the dbase for "Specifying a Static URI for any other Zen Cart page" for these Define Pages, however the link showing in the status bar is still showing the zen id whereas the navigation bar correctly shows the 'simplified' mapped id. As I say all other links are fine it's just those for 'define pages' that exhibit this behaviour. Is this normal? (I've tried changing the Internal Link url in the EZpage to the mapped id but this results in a 404)
Related point - I thought I would regenerate my Sitemap again to see the effect this mod had on it. As the above suggests the url's in sitemapezpages.xml still show the zen links for those Define Pages. I'm concerned that this might distort Google's perception of my site.
My site is here if it's of any use
Thankyou for this mod and all the support you give. You are on my list for Coffee and Doughnuts.
Cheers
Simon
-
Re: Ceon URI Mapping (SEO)
Hi Simon,
Glad you like the software!
I looked at your site but I'm just not following you. Could you give me some specific examples?
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Conor
Thanks for the quick reply. I'll make myself clearer this time.
Example: on my home page if you hover over the EZpage links along the top you should see that 'home' 'contact' & 'testimonials' all produce the zen url in the status bar at the botton of the browser page. Whereas, 'about us', 'products' & 'links' all give the new mapped url in the status bar. The former are all pages created in Define Pages Editor and are linked internally from an EZpage.
This is not really a big deal just aesthetic, however the sitemapezpages.xml, here, contains a combination of url types (zen and mapped) which doesn't seem quite right.
Perhaps I'm doing a mountain/molehill thing but wanted to check.
Thanks
Simon
-
Re: Ceon URI Mapping (SEO)
Hi Simon,
You've definitely not entered the mapping properly. Please check what you've entered in the database using PHPMyAdmin and you'll find that you probably missed part of the instructions, therefore making these mistakes.
The first way (way 1) is the method you should use.
You should be putting "Contact-Us" (or whatever) in the uri field and contact_us in the main_page field. (Also follow/verify the other instructions for the other fields - e.g. check the language_id etc.).
I hope you don't mind but there's no point me posting the instructions here again.
If you're still having problems then you may need someone else to check your input.
Hope that helps!
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Sorted!!!!!!
Ok, thanks for this Conor, looked at the dbase carefully and the problem was not to do with the dbase entry, as such, but more to do with the EZpage and subsequent internal link to the Define Pages page.
So, for any like minded people here's how:
1. When mapping Ezpages ('Specifying the current URI Mapping for an EZ-Page') only map those with content - not those with an internal link url to a Define Pages page.
2. Add mapping in the dbase ('Specifying a Static URI for any other Zen Cart page - option 1') for the Define Pages in question.
3. Change the internal link url within the relevant EZpage to match the new mapped path of that Define Page (does not need a slash prefix).
My mistake was mapping the EZpage and it's linked Define Page and not then changing the internal url.
A combination of mishaps, trouble is I don't know what I'm meant to be doing half the time!
Cheers
-
Re: Ceon URI Mapping (SEO)
Hi Conor:
I have followed the instructions......carefully but still does play nice;
first of all i checked the tickbox to enable your function...seems to work.
then when i click on the link
http://pets.mychikyuya.com/dogs-essential-reading
for the category it returns:
404 - PAGE NOT FOUND
so i removed the category and inserted again using just the textbox
/dogs-essential-reading
* i made sure in the config section it was 'turn on'
im sure i have just overlooked something but i am stuck ...... :frusty:
this seems to be not as easy as claimed.....but i can admit to any mistake i made.
thanks
-
Re: Ceon URI Mapping (SEO)
Hi Simon,
Quote:
Originally Posted by
simon1066
So, for any like minded people here's how:
1. When mapping Ezpages ('Specifying the current URI Mapping for an EZ-Page') only map those with content - not those with an internal link url to a Define Pages page.
2. Add mapping in the dbase ('Specifying a Static URI for any other Zen Cart page - option 1') for the Define Pages in question.
3. Change the internal link url within the relevant EZpage to match the new mapped path of that Define Page (does not need a slash prefix).
Ahh.. I see what you were doing now. I didn't know about the internal link functionality of EZ-Pages.. can't quite see the need for it either now that the URI Mapping module is available (just pick your own URIs and hard-code them! ;) ).
Thanks for the update.
All the best...
Conor
Ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mrchristoh
for the category it returns:
404 - PAGE NOT FOUND
this seems to be not as easy as claimed.....but i can admit to any mistake i made.
It is easy! You definitely have made a mistake.
I think you haven't added a rewrite rule for your site.
Please do add one. If you have added one, please verify that it's being loaded. Some servers only allow rewrite rules in a virtualhost directive.
If you're not sure what that means please ask your host to do it for you, giving them the documentation for the module.
That should be you then!
All the best...
Conor
-
Re: Ceon URI Mapping (SEO)
OK....Bingo !!!!
Connor if your ever in Sydney.....please let me buy you a beer :)
the problem was.......
[1]. I am using a 'sub-domain'
which led to this error.
explanation for others........
if your using a 'sub-domain' such as http://yourshop.yoursite.com you need to place the amended .htaccess file in the parent directory (yoursite.com)....not the yourshop.yoursite.com.
(that was my mistake.........yes i admit to it LOL)
Sometimes you need to step away from the screen and get some fresh eyes involved as 3 seconds after reading the documentation again and amending the .htaccess ....shazaam it worked.
still an issue with it dropping my scripts on one section.....but i will look at it after some sleep.
This is by far one of the greatest modules for zencart and well worth a mention in the comments of your code.
Thanks for your time to read my mistake....
-
Re: Ceon URI Mapping (SEO)
hi again,
yep i just lost the enhancements i made to the front-end.
any ideas?
the site:
http://pets.mychikyuya.com
well i guess its time to abandon all hope with this.......thanks anyway
-
Re: Ceon URI Mapping (SEO)
Hello conor hope all is well. Since the last time you helped me out by installing the offline payment module for me ive figured quite a lot out about coding and how zc works. Anyway i have recently installed this mod to my new site, and i really really like it, ive achieved what i have always wanted the sites url to look like, however theres always a downside to my happiness. I have just realised that when i go to my current site that sits within /shop it throws a 404 error, and also if i try going to my blog at /blog it also throws a 404. I can still access the current site through google findings but i cant even access the admin on it.
Do you think this is down to a missing rewrite rule somewhere, or is it another error, and is there anything you could help me with.
Thanks
Ben
-
Re: Ceon URI Mapping (SEO)
After re-reading what i wrote above i dont think i was too clear on what the problem is.
My current site is a 1.3.5 that is live is mysite.co.uk/shop and doesnt have this mod installed on it, over the past few weeks i have been building a 1.3.8a test site in mysite.co.uk/test i have just installed your mod and put my site live within the root so its simply at mysite.co.uk it will take a while for this to become within search engines as its literally just a few hours old of being live, but my main problem is that when i try to go to mysite.co.uk/shop it doesnt load and throws a 404 error as with mysite.co.uk/blog, i have scanned through this whole thread and i couldnt find another post by someone that has multiple databases within the one domain, im pretty sure i just need a rewite code but im stuck at locating what the code is i need.
I hope you can help me out, as im really stuck as i cant get into my /shop/admin page to access the sales.
Cheers
Ben
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
ben harry
After re-reading what i wrote above i dont think i was too clear on what the problem is.
My current site is a 1.3.5 that is live is mysite.co.uk/shop and doesnt have this mod installed on it, over the past few weeks i have been building a 1.3.8a test site in mysite.co.uk/test i have just installed your mod and put my site live within the root so its simply at mysite.co.uk it will take a while for this to become within search engines as its literally just a few hours old of being live, but my main problem is that when i try to go to mysite.co.uk/shop it doesnt load and throws a 404 error as with mysite.co.uk/blog, i have scanned through this whole thread and i couldnt find another post by someone that has multiple databases within the one domain, im pretty sure i just need a rewite code but im stuck at locating what the code is i need.
I hope you can help me out, as im really stuck as i cant get into my /shop/admin page to access the sales.
Cheers
Ben
Quick update i have added the following code with success
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/shop.* [NC]
RewriteCond %{REQUEST_URI} !/blog.* [NC]
-
Re: Ceon URI Mapping (SEO)
I put this mod on a new site... After I had made a few test products. It worked great. Yesterday I added a bunch of products and used the auto generation "tick box" to create the mappings for those new products. Here's the problem: I can add the original test products to my shopping cart but not any of the products that were added after the mapping module. I tried removing the mapping and re-adding it but that didn't seem to work either. Any suggestions?
Thanks
Nancy
-
One more silly mapping question
Before I bugger this up, could you clarify how to map from:
/index.php?manufacturers_id=22 (old blogged location)
to
/index.php?manufacturers_id=67 (actual new location)
Thanks much Conor, this mod is too cool!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
ben harry
Hello conor hope all is well.
Really hectic but fine thanks! :)
Quote:
Originally Posted by
ben harry
Do you think this is down to a missing rewrite rule somewhere, or is it another error, and is there anything you could help me with.
Yes. The rewrite rule will block the addresses you described. You need to add exceptions to the rewrite rule.
Please read the section "Adding exceptions to the rule to prevent particular addresses (e.g. Control Panels etc.) being handled by Zen Cart" for more information!
You'll add conditions like:
RewriteCond %{REQUEST_URI} !/shop.* [NC]
Glad you like another of our modules! :)
All the best...
Conor
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
ben harry
Quick update i have added the following code with success
Off the internet for one day and so many support requests/posts!
Glad to hear you're sorted.. you can obviously disregard the post I just made!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mrchristoh
yep i just lost the enhancements i made to the front-end.
any ideas?
More than likely the "enhancements" aren't building their URIs correctly so when you go to a page like
/yourshop/mycategory/myproduct
the "enhancement" scripts are trying to access a file relatively instead of using the "base" URI of the site.
E.g.:
A script may be trying to access
/yourshop/this_file.js
But when you're in
/yourshop/mycategory/myproduct
it is trying to find:
/yourshop/mycategory/this_file.js
which obviously doesn't exist.
You need to contact the author of the enhancements (or if you can code, try yourself) to have them prefix the path to files with the shop's web directory (DIR_WS_CATALOG) instead of expecting only ever to be at the root URI of the store.
There's nothing I can do about this, it's simply that the author of the enhancement hasn't thought about the fact that people might want to use SEF/SEO URIs and introduced a problem in their code.
Quote:
Originally Posted by
Mrchristoh
well i guess its time to abandon all hope with this.......thanks anyway
No, you shouldn't abandon hope.. the problem should be easy to fix.. simply a matter of changing the incorrect paths in the "enhancements".
As I said in the private message to you, I don't know what enhancements you are actually talking about, it's obvious to you since you built the site but not to me as a visitor!
Hope that helps! Thanks for the nice comments about the module! :)
All the best...
Conor
ceon
-
Re: One more silly mapping question
Hi,
Quote:
Originally Posted by
kiddo
Before I bugger this up, could you clarify how to map from:
/index.php?manufacturers_id=22 (old blogged location)
to
/index.php?manufacturers_id=67 (actual new location)
Thanks much Conor, this mod is too cool!
Okay, one last example then.. got my own life to lead! ;)
uri
/index.php?manufacturers_id=67
language_id
1
current_uri
1
main_page
index
query_string_parameters
manufacturers_id=22
associated_db_id
NULL
alternate_uri
NULL
redirection_type_code
301
date_added
NOW()
Glad you like the module!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Nancy,
Quote:
Originally Posted by
ladyink
Any suggestions?
I'm afraid I've no idea what could be going wrong. I can't see how it would have anything to do with the module though. This must be a coincidence and it must be something else you did to the products which is creating the problem (maybe their stock level is zero or something?).
Sorry I can't be of more help but at least you know it's not this module and you can start looking elsewhere to see what the problem is!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thanks again Conor, now I'll stop pestering you. Problem was I kept putting something in the associated_db field. Just seemed right. I get it now!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Nancy,
I'm afraid I've no idea what could be going wrong. I can't see how it would have anything to do with the module though. This must be a coincidence and it must be something else you did to the products which is creating the problem (maybe their stock level is zero or something?).
Sorry I can't be of more help but at least you know it's not this module and you can start looking elsewhere to see what the problem is!
All the best...
Conor
ceon
Thanks for taking a look. I went into the database and removed the mappings and the products work fine that way. I'll just leave the mapping on my "other pages" and leave them off my products.
Knowing me, I'll work on it for awhile longer- if I figure it out, I'll let you know!
Nancy
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
ladyink
Knowing me, I'll work on it for awhile longer- if I figure it out, I'll let you know!
Nancy
Well, I figured this much out...
The products that are only in a main category work fine (ex mywebsite.com/maincategory/product-name). If there is a sub category (ex mywebsite.com/maincategory/products/product-name) the automatic mapping is not working. It maps it but when you push "add to cart" it goes to a page with this at the end of the mapping: "?&action=add_product" instead of putting this at the "&number_of_uploads=1" and actually adding it to the cart. If I manually put the mapping in to avoid that other category- everything is fine.
Hope this helps someone... If you know what would fix this, please let me know!!
Nancy
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
kiddo
Thanks again Conor, now I'll stop pestering you. Problem was I kept putting something in the associated_db field. Just seemed right. I get it now!
Easy mistake to make.. glad you're up and running.
Enjoy the rest of the weekend! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor,
I'm going to ask this question, but I'm afraid I already know the answer. Anyway, worth asking...
I did not have the ceon_uri_mapping.php language definition file placed into the proper language section under my admin file structure at the time I created products. I originally put that file in the English admin file structure because my site is in Italian, but I want to manage it through the admin in English. Didn't think I'd need anything operationally from the admin side... :ohmy:
What appears to have happened for me is that my Product Review and Tell a Friend URIs are now their respective variable names in their database records. :(
(I just wanted to get the module working first and then go check out the Reviews/Tell a Friend detail stuff later on. Looks like that may have been an oversight here on my end...
Anyway, now that I've placed that file in the proper place and appropriately translated the reviews/tell-a-friend values from English to Italian, is there any chance those database records will magically change or can they be forced to update sistematically? Do I have to go in and change them all one by one for each product?
If it helps, here's my site:
http://www.edizioninautilus.it
Thanks,
Jeremy
PS, by the way, I got this mod working with the Product Type Book mod recently and really like how that's working out if anyone wants to have a look....
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
simon1066
Sorted!!!!!!
Ok, thanks for this Conor, looked at the dbase carefully and the problem was not to do with the dbase entry, as such, but more to do with the EZpage and subsequent internal link to the Define Pages page.
So, for any like minded people here's how:
1. When mapping Ezpages ('Specifying the current URI Mapping for an EZ-Page') only map those with content - not those with an internal link url to a Define Pages page.
2. Add mapping in the dbase ('Specifying a Static URI for any other Zen Cart page - option 1') for the Define Pages in question.
3. Change the internal link url within the relevant EZpage to match the new mapped path of that Define Page (does not need a slash prefix).
My mistake was mapping the EZpage and it's linked Define Page and not then changing the internal url.
A combination of mishaps, trouble is I don't know what I'm meant to be doing half the time!
Cheers
Simon,
Thanks for posting these instructions. It cleared up a bit of confusion for me with respect to the EZ-Page / Ceon URI functionality and interaction. However...
Conor, I'm still having some problems that I can't wrap my head around...
Here's a CSV dump from my database for the record "contatti" which is Italian for "Contact Us":
"/contatti","2","1","contact_us",NULL,"0",NULL,"301","2009-05-25 08:32:42"
Looks pretty good to me. The right name, language ID = 2 for Italian, 1 for active, main page= contact_us, etc, etc. Anything obviously wrong?
When you go to this page on my site, this URI http://www.edizioninautilus.it/contatti delivers the following link to the browser:
http://www.edizioninautilus.it/index...&products_id=0
Any idea why?
I'm really starting to think this mod (when used in combination with the EZ-Pages multilanguage addon) doesn't like NOT having English active as a primary language with others as mere add ons. However, I can't put my finger on why. My install looks exactly like Simon's application and I've followed those instructions to a T, but I'm still having EZ-Pages add the &chapter= bit to the other non-DB added pages, and it's not because there is any chapter data in a stray record somewhere...
The mod is working great with all products, even the new ones I added using the Product Book Type...
Aggghhhh.
Jeremy
BTW, I've modified the existing live link on the "Contatti" EZ-Page to just go to the Zen-cart generated one so our customers don't see these machinations going on in real-time...
Anyone have any suggestions?
-
Re: Ceon URI Mapping (SEO)
Hi Jeremy,
I've looked at my dbase entry for the 'contact us' define pages page, and instead of NULL,"0",NULL , I've used NULL,NULL,NULL. Not sure why you have the '0' in there.
Try using these 3 nulls, make sure your internal link in your Contact EZpage is "contatti" without the foward slash at the beginning, and ensure that the URI mapping field is empty with the tick box unchecked.
This replicates what I have in my setup so hopefully should work.
Good luck
Simon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
simon1066
Hi Jeremy,
I've looked at my dbase entry for the 'contact us' define pages page, and instead of NULL,"0",NULL , I've used NULL,NULL,NULL. Not sure why you have the '0' in there.
Try using these 3 nulls, make sure your internal link in your Contact EZpage is "contatti" without the foward slash at the beginning, and ensure that the URI mapping field is empty with the tick box unchecked.
This replicates what I have in my setup so hopefully should work.
Good luck
Simon
Simon,
Thanks! That did the trick. I was able to plug NULL in there instead of zero and it worked great. Also followed through by putting the "contatti" in the internal link section without the slash and all is well.
Thanks for taking the time to check your database records for me. I really appreciate it.
I think the record got set to 0 instead of its intended default of NULL when I tried to update this EZ Link page from the URI mapping section at the bottom of the EZ link page rather than doing the suggested access directly into the database. Was a bit fearful of phpadmin!
Now I can set up the other links appropriately. Still having problems with that chapter issue, but this solution gets me 5 out of the 6 EZ link pages I need anyway.
:clap:
Jeremy
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
simon1066
Hi Jeremy,
I've looked at my dbase entry for the 'contact us' define pages page, and instead of NULL,"0",NULL , I've used NULL,NULL,NULL. Not sure why you have the '0' in there.
Try using these 3 nulls, make sure your internal link in your Contact EZpage is "contatti" without the foward slash at the beginning, and ensure that the URI mapping field is empty with the tick box unchecked.
This replicates what I have in my setup so hopefully should work.
Good luck
Simon
Simon,
Sorry to bother, but would you mind telling me what your database record looks like for an EZ Page with content in it, rather than the ones that just refer over to the Extra Pages?
Here's what mine looks like that's currently having some troubles:
"/chi-siamo","2","1","page",NULL,"7",NULL,"301","2009-05-25 14:55:39"
If I replace the 7 with NULL like the earlier solution, it breaks. My problem is that the resulting URI looks like this:
http://www.edizioninautilus.it/chi-siamo?&chapter=
I'm trying to get that ?&chapter= outta there...
Thanks. All of the rest of my pages are looking great now!
Jeremy
-
Re: Ceon URI Mapping (SEO)
Jeremy,
No bother.
Your ez-page with content dbase record looks fine - same as mine.
Although I haven't looked into this deeply, you might want to make sure that there aren't duplicate entries in the dbase for '/chi-siamo'. I've noticed that this can happen sometimes when 'playing around' with uri's/dbase/internal links. Usually the duplicate entry has a 'current_uri' of zero, but not always.
Just to clarify my setup for an ez-page with content:
dbase entry agrees with yours:
"/chi-siamo","2","1","page",NULL,"7",NULL,"301","2009-05-25 14:55:39"
ez-pages admin:
Internal Link URL - blank
External Link URL - blank
URI Mapping would be - /chi-siamo
tick-box - unchecked
You problem might also be connected with the chapter setting for that page (http://www.edizioninautilus.it/chi-siamo?&chapter=) I haven't used these yet but if you are not using it, disable in the fields at the top of the admin page (chapter = 0 / TOC = No)
Can't think of anything else that might help you.
Cheers
Simon
-
Re: Ceon URI Mapping (SEO)
Hello,
I installed the add-on today on a site I've been playing with, and I'm having a few problems, so I'm wondering if I missed a step somewhere. The site is http://www.wholesale4realtors.com and zc is installed in /cart.
I had initially gotten a few admin errors due to a few php files having additional blank lines at the end, so I removed those, no biggie... Then followed the instructions Modules>Ceon URI...
Now the frontend site opens with a 404: page not found error, for the define_main_page.php If I add /cart to the end of the url it does not have this error, so I'm assuming it is an issue with the .htaccess file, but don't see anything wrong.
Below is the htaccess file:
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} !^/cart/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/cart/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/cart/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/realex_remote_3d_secure_iframe.php.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
RewriteCond %{REQUEST_URI} !/cart.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /cart/index.php?%{QUERY_STRING} [L]
RewriteCond %{HTTP_USER_AGENT} Wget [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerSE [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerElite [OR]
RewriteCond %{HTTP_USER_AGENT} EmailCollector [OR]
RewriteCond %{HTTP_USER_AGENT} EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ExtractorPro
RewriteRule ^.*$ deny.html [L]
RewriteCond %{HTTP_HOST} ^4realtors.us$ [OR]
RewriteCond %{HTTP_HOST} ^www.4realtors.us$
RewriteRule ^/?$ "http\:\/\/www\.wholesale4realtors\.com" [R=301,L]
DirectoryIndex cart/index.php index.html index.php
Note: I have a few sites referring to this same htaccess file.
Any thoughts? ...and Thanks.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
simon1066
Jeremy,
No bother.
Your ez-page with content dbase record looks fine - same as mine.
Although I haven't looked into this deeply, you might want to make sure that there aren't duplicate entries in the dbase for '/chi-siamo'. I've noticed that this can happen sometimes when 'playing around' with uri's/dbase/internal links. Usually the duplicate entry has a 'current_uri' of zero, but not always.
Just to clarify my setup for an ez-page with content:
dbase entry agrees with yours:
"/chi-siamo","2","1","page",NULL,"7",NULL,"301","2009-05-25 14:55:39"
ez-pages admin:
Internal Link URL - blank
External Link URL - blank
URI Mapping would be - /chi-siamo
tick-box - unchecked
You problem might also be connected with the chapter setting for that page (
http://www.edizioninautilus.it/chi-siamo?&chapter=) I haven't used these yet but if you are not using it, disable in the fields at the top of the admin page (chapter = 0 / TOC = No)
Can't think of anything else that might help you.
Cheers
Simon
Simon,
Thanks a lot for checking. Glad to know for sure that my settings were correct using the content window for this mod.
I did have an additioanl /chi-siamo but it was set to 0. I deleted it anyway to see if that would have any effect. It didn't. Also my chapter and ToC settings are correct, so I don't know what else to try.
Think I'm just going to have to let this one go. Not a huge deal for now at least.
Thanks again. All the best.
Jeremy
-
Re: Ceon URI Mapping (SEO)
Hi Nancy,
Quote:
Originally Posted by
ladyink
It maps it but when you push "add to cart" it goes to a page with this at the end of the mapping: "?&action=add_product" instead of putting this at the "&number_of_uploads=1" and actually adding it to the cart. If I manually put the mapping in to avoid that other category- everything is fine.
I'm afraid I don't know what's going wrong on your site but it can't be a problem with the module itself as it works on hundreds of other sites and none of them have the same problem!
I'm sorry that I can't say anything better than that but you must have done something to your site which doesn't work properly!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
byoriginaldesign
I had initially gotten a few admin errors due to a few php files having additional blank lines at the end, so I removed those, no biggie... Then followed the instructions Modules>Ceon URI...
I think you should get new FTP software.. the software you used must have added those extra line endings.
Quote:
Originally Posted by
byoriginaldesign
Now the frontend site opens with a 404: page not found error, for the define_main_page.php If I add /cart to the end of the url it does not have this error, so I'm assuming it is an issue with the .htaccess file, but don't see anything wrong.
I'm not really sure what you mean about define_main_page.php as there's no such file in Zen Cart?
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Jeremy,
Quote:
Originally Posted by
edizioninautilus
Thanks a lot for checking. Glad to know for sure that my settings were correct using the content window for this mod.
Thanks Simon for helping Jeremy out, it's a nice change not to have to everything myself! :)
Quote:
Originally Posted by
edizioninautilus
I did have an additioanl /chi-siamo but it was set to 0. I deleted it anyway to see if that would have any effect. It didn't. Also my chapter and ToC settings are correct, so I don't know what else to try.
I'm afraid I don't know why Zen Cart adds the chapter parameter to particular sites and not others.. I'm sure you can stop this by looking at the Zen Cart code that generates the links for these EZ-pages.
Hope that's a bit of help!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
I'm not really sure what you mean about define_main_page.php as there's no such file in Zen Cart?
All the best...
Conor
Hello Conor & thanks for the quick reply...
define_main_page.php is part of the classic template, found in /includes/languages/english/html_includes/classic/define_main_page.php, and is one of the pages editable via the define pages editor.
That page is the center content of the index.php page, and when a user went to www.wholesale4realtors.com the content was there, but now comes up as 404 page not found for the index center content, and will only show if the user goes to www.wholesale4realtors.com/cart/ or if the viewer clicks on home/logo from the error page.
I'm fairly certain that no other add-ons had anything to do with this page, but still think it has something to do with that file not being defined in the .htaccess, but I'm not sure why, as it seems like everything is fine with that...
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
edizioninautilus
Conor,
I'm going to ask this question, but I'm afraid I already know the answer. Anyway, worth asking...
I did not have the ceon_uri_mapping.php language definition file placed into the proper language section under my admin file structure at the time I created products. I originally put that file in the English admin file structure because my site is in Italian, but I want to manage it through the admin in English. Didn't think I'd need anything operationally from the admin side... :ohmy:
What appears to have happened for me is that my Product Review and Tell a Friend URIs are now their respective variable names in their database records. :(
(I just wanted to get the module working first and then go check out the Reviews/Tell a Friend detail stuff later on. Looks like that may have been an oversight here on my end...
Anyway, now that I've placed that file in the proper place and appropriately translated the reviews/tell-a-friend values from English to Italian, is there any chance those database records will magically change or can they be forced to update sistematically? Do I have to go in and change them all one by one for each product?
If it helps, here's my site:
http://www.edizioninautilus.it
Thanks,
Jeremy
PS, by the way, I got this mod working with the Product Type Book mod recently and really like how that's working out if anyone wants to have a look....
Conor,
With my flurry of posts over the past few days, you might have missed this one! Any chance you could give it a quick look?
Question is:
Must I update the database using phpmyadmin manually given my situation or is there another way for me to rerun an install tool of sometype to get these URI variables inserted into the database?
Need to go from this:
"/la-terrazza-pensile/CEON_URI_MAPPING_URI_PART_PRODUCT_REVIEWS","2","0","product_reviews",NULL,"16",N ULL,"301","2009-05-04 10:29:45"
to this:
"/la-terrazza-pensile/recensioni","2","0","product_reviews",NULL,"16",NULL,"301","2009-05-04 10:29:45"
as well as the other 3 records per product on about 35 products.
I'm afraid my mistake means I've got a manual job in front of me, but just wanted to confirm before diving in.
Thanks for any guidance you're able to give.
Jeremy
-
Re: Ceon URI Mapping (SEO)
I'm having a little problem with the mod... I guess I must have missed something along the way...
Say I add a new product and set the uri link to "http://mywebsite.com/store/my_product_category/my_new_product"...
The link created is actually:
http://mywebsite.com/store/my_produc...roduct?cPath=1
which ends up as 404 not found.
I seem to be having the same problem with the category...
http://mywebsite.com/store/my_product_category
cannot be found...
Any insight? :lookaroun
-
Auto-generation not taking
I had a question which I couldn't find in this thread. I have this mod running on a client's site, and for some reason it's behaving oddly. There are a few products on the site that simply *refuse* to take on the auto-generated URI's. I check the box, I preview and save the changes and when I go back to look, the box is unchecked again. It won't save the value at all. I've also noticed that these same products (that don't hold the value) cannot be added to the shopping cart, either. I add the product, but they never make it to the cart.
I've gone through, one-by-one and manually checked each and every item in the cart - and so far, the only products that cannot be added (well, they can be added, they just don't show up in the checkout process) are the ones whose auto-generation value cannot be retained. I can only put the pieces together and assume that one has something to do with the other, since this is the only pattern I can find so far with this issue.
Is there something I'm missing that would cause this? it seems so random as to the products this is happening to either - I can't find anything that correlates why this would be happening. If you have any insight at all, I'd appreciate passing it along.
Thanks!
-
Re: Auto-generation not taking
and a quick update - following my suspicion - if I disable the Ceon contribution (set the "enable" to "0") then they all start working properly. So it's definitely this contribution - the suspicion is now validated. Any ideas as to why it's doing this?
-
Re: Ceon URI Mapping (SEO)
Hi Jeremy,
Quote:
Originally Posted by
edizioninautilus
Must I update the database using phpmyadmin manually given my situation or is there another way for me to rerun an install tool of sometype to get these URI variables inserted into the database?
I'm afraid my mistake means I've got a manual job in front of me, but just wanted to confirm before diving in.
I'm afraid that there are no automatic tools so you will have to do this manually. Sorry!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
joomoo79
I'm having a little problem with the mod... I guess I must have missed something along the way...
which ends up as 404 not found.
It looks like you don't have a rewrite rule added on your site. Please re-read the installation and configuration instructions and after completing the installation and configuration everything should be fine!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Jeremy,
I'm afraid that there are no automatic tools so you will have to do this manually. Sorry!
All the best...
Conor
ceon
Alright. My bad...
Thanks for confirming...
Off to work.
Jeremy
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
byoriginaldesign
define_main_page.php is part of the classic template, found in /includes/languages/english/html_includes/classic/define_main_page.php, and is one of the pages editable via the define pages editor.
That isn't actually a Zen Cart page but a file that is loaded into another page (as you say, the index page).
Therefore this problem isn't the one being caused by the URI mapping module.. it has no effect on the content of any page.
You probably haven't put the condition in your rewrite rule which causes it only to rewrite URIs beginning with /cart:
# ONLY rewrite URIs beginning with /cart/
RewriteCond %{REQUEST_URI} ^/cart/.* [NC]
If that's not it then what version of the module are you using? Your rewrite rule was very out of date (and broken).
All the best...
Conor
ceon
-
Re: Auto-generation not taking
Hi,
Quote:
Originally Posted by
doodlebee
and a quick update - following my suspicion - if I disable the Ceon contribution (set the "enable" to "0") then they all start working properly. So it's definitely this contribution - the suspicion is now validated. Any ideas as to why it's doing this?
I'm afraid not. The only thing I can think of is some query string parameters aren't being passed properly after a redirect. I don't know why that would be and am afraid I won't be able to look this week, I've simply run out of time (as you can see by the fact that I'm still working at 9.30PM!). :(
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Well, although I would rather get an answer to what my problem was, I did just put a full redirect to /cart instead of an index define for the site, which fixes the issue I was having. I still would like the address not to show /cart, and know how/why it was bringing up the error 404 page instead of the page defined if you have a chance to look in to it.
Thanks~
-
Re: Ceon URI Mapping (SEO)
Well, checking on Google Analytics, I found the more precise problem, but I'm still stumped on what's causing it. The site was redirecting to the site appropriately, but pulling data for the main page from /cart/cart/... for the data, so something is causing it to put an extra /cart in there, but I've been searching for anything for a few days now that would cause this, and I don't see it. Thought knowing more precisely might narrow it down, but for me I still can't figure out why. I put the site back to how it was with the error, because I'd rather find the real solution, than to just side-step it with the other redirect, for other users that may run in to it.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
byoriginaldesign
I put the site back to how it was with the error, because I'd rather find the real solution, than to just side-step it with the other redirect, for other users that may run in to it.
I realise and appreciate that it must be frustrating but your problem doesn't happen on anyone else's site and I can't manually go into everyone's site to debug when they have a problem, I just don't have the time anymore. Sorry. :(
The rewrite rule you posted though was definitely wrong.. you should base yours on an example rule from the latest version of the module, not an old one, maybe that'll fix things. Alternatively you should check what settings you have for DIR_WS_CATALOG in your configure.php file, it could be wrong.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
The rewrite rule you posted though was definitely wrong.. you should base yours on an example rule from the latest version of the module, not an old one, maybe that'll fix things. Alternatively you should check what settings you have for DIR_WS_CATALOG in your configure.php file, it could be wrong.
Thx 4 the suggestions, and I had tried everything suggested previously and again. I'm giving up, which I hate doing, and I'll just be using the redirect mentioned earlier to side-step the issue. Kudos on the app otherwise, seems to do the trick.
-
Re: Ceon URI Mapping (SEO)
Hi,
I'm having a problem after installing the software and manually editing a top level category, the first subcategory and a product, all I get is the index page!!!
My store is in a subdirectory, so I read all the instructions and use this .htaccess file inside the subdir electronics:
Code:
RewriteEngine on
# ONLY rewrite URIs beginning with /electronics/
RewriteCond %{REQUEST_URI} ^/electronics/.* [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/electronics/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/electronics/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/electronics/cybersource.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/realex_remote_3d_secure_iframe.php.* [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]
BTW I tried by modyfing RewriteRule (.*) index.php?%{QUERY_STRING} [L][/CODE] to:
RewriteRule (.*) electronics/index.php?%{QUERY_STRING} [L][/CODE]
and all got is a 500 error ...
If I do as posted, then what happens when I click is the path is correctly displayed, but then the link just goes to the index page!
Any ideas?
My site is running on HTTP Server: Apache/1.3.35 (Unix) ApacheJServ/1.1.2 PHP/4.4.4 FrontPage/5.0.2.2635 Rewrit/1.1a
-
Re: Ceon URI Mapping (SEO)
What's your site address? Also, is your site on a redirect, or are you clicking a link on a main site to enter the store?
-
Re: Ceon URI Mapping (SEO)
It's just a link to the store from the main site's page, the store is inside it's own subdir electronics ...
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
icecold
Any ideas?
Simply sounds like you have forgotten to upload the files to the catalog side of the shop.. so every rewritten URI just goes to the index page. Reupload all the files and I'd imagine things will start working again. If not, verify one by one that the files have uploaded okay, FTP software often messes up.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
byoriginaldesign
Thx 4 the suggestions, and I had tried everything suggested previously and again. I'm giving up, which I hate doing, and I'll just be using the redirect mentioned earlier to side-step the issue. Kudos on the app otherwise, seems to do the trick.
If you get in contact directly via http://dev.ceon.net/contact_us (I don't use PM here) with your FTP and admin details I can take a look. Of course for peace of mind you can delete any accounts created for me afterwards but please ensure that the FTP account has *full* write access.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Simply sounds like you have forgotten to upload the files to the catalog side of the shop.. so every rewritten URI just goes to the index page. Reupload all the files and I'd imagine things will start working again. If not, verify one by one that the files have uploaded okay, FTP software often messes up.
All the best...
Conor
ceon
This is weird I uploaded one by one ... BTW the admin backend works fine and the tables have been created ...
But I will check again and let you now ...
-
Re: Ceon URI Mapping (SEO)
Thanks!
You were right!
the missing file was the init_ceon_uri_mapping.php script!
inside includes/init_includes ...
Now I will test with just one cat, subcat, product, to see if it works my feed to Google base.
BTW Your form calls the class everytime you click on the tick URI field?
I am creating a script to call the class, and execute database commands to do that automatically for me ... but I didn't have the time to take a deep look into your add on.
My problem is have over 20,000 products ...
-
Re: Ceon URI Mapping (SEO)
Small problem with password protected directories.
I I tried adding a password (.htpasswd) protected directory to hold a few web tools but anything in the dir redirects to my 404 page.
I've tried adding a no rewrite line (like on the admin folders) to .htaccess but no soap.
If I delete the rules in .htaccess, then the protected dir works fine.
Am a bit at a loss what to adjust here. Any clues would be appreciated.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
kiddo
I've tried adding a no rewrite line (like on the admin folders) to .htaccess but no soap.
You should add a no-rewrite condition to the rewrite rule for the directory in question.
If that doesn't work then you'll need to consult a server expert, this is not my field.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
icecold
You were right!
the missing file was the init_ceon_uri_mapping.php script!
Thought as much! ;)
Quote:
Originally Posted by
icecold
BTW Your form calls the class everytime you click on the tick URI field?
So?
Quote:
Originally Posted by
icecold
I am creating a script to call the class, and execute database commands to do that automatically for me ... but I didn't have the time to take a deep look into your add on.
My problem is have over 20,000 products ...
That's something the URI manager will handle, I'm afraid that the current module is only aimed towards new and small stores.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi to anyone! I've installed ceon uri mapping few days ago, the backend detects it and I can setup the module via admin panel but unfortunately the urls on the store are not changed...any suggestion?
My zen cart is the last italian 1.3.8B version.
Alessandro
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
tirsys
Hi to anyone! I've installed ceon uri mapping few days ago, the backend detects it and I can setup the module via admin panel but unfortunately the urls on the store are not changed...any suggestion?
My zen cart is the last italian 1.3.8B version.
Alessandro
You have to go in and edit each category. You can either name the directory or allow it to name it for you, then just save. The app does not rename them automatically from install, but new stop from install forward it'll do it with out any extra work.
Additionally, it may be the folder specified in the install was not set to read/write.
If that doesn't do the trick, post a link to your site so we can take a look at what's going on.
-
Re: Ceon URI Mapping (SEO)
if I edit a category enabling auto-generated URI Mappings or manual URI mapping, leave the category and back again into the category I get the new right settings that look like:
/zencart/ita/embedded/actel
but the url doesn't change:
http://localhost/zencart/ita/index.p...index&cPath=66
I checked all the perms, all set to 777:
Code:
-rwxrwxrwx 1 ubu ubu 15061 2009-05-31 10:00 /var/www/zencart/ita/admin/ceon_uri_mapping_auto_upgrade.php
-rwxrwxrwx 1 ubu ubu 13095 2009-05-31 10:00 /var/www/zencart/ita/admin/ceon_uri_mapping_config.php
-rwxrwxrwx 1 ubu ubu 617 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/boxes/extra_boxes/ceon_uri_mapping_modules_dhtml.php
-rwxrwxrwx 1 ubu ubu 770 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/extra_datafiles/ceon_uri_mapping_database_tables.php
-rwxrwxrwx 1 ubu ubu 1007 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/extra_datafiles/ceon_uri_mapping_filenames.php
-rwxrwxrwx 1 ubu ubu 59542 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/functions/extra_functions/ceon_uri_mapping.php
-rwxrwxrwx 1 ubu ubu 4837 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/languages/english/ceon_uri_mapping_config.php
-rwxrwxrwx 1 ubu ubu 6873 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/languages/english/extra_definitions/ceon_uri_mapping.php
-rwxrwxrwx 1 ubu ubu 4837 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/languages/italian/ceon_uri_mapping_config.php
-rwxrwxrwx 1 ubu ubu 6873 2009-05-31 10:00 /var/www/zencart/ita/admin/includes/languages/italian/extra_definitions/ceon_uri_mapping.php
-rwxrwxrwx 1 ubu ubu 704 2009-05-31 10:00 /var/www/zencart/ita/includes/auto_loaders/config.ceon_uri_mapping.php
-rwxrwxrwx 1 ubu ubu 688 2009-05-31 10:00 /var/www/zencart/ita/includes/extra_datafiles/ceon_uri_mapping_database_tables.php
-rwxrwxrwx 1 ubu ubu 935 2009-05-31 10:00 /var/www/zencart/ita/includes/extra_datafiles/ceon_uri_mapping_filenames.php
-rwxrwxrwx 1 ubu ubu 20634 2009-06-02 11:57 /var/www/zencart/ita/includes/init_includes/init_ceon_uri_mapping.php
is maybe necessary a particular apache extension?
or maybe it doesn't work until all the categories are all changed?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
tirsys
if I edit a category enabling auto-generated URI Mappings or manual URI mapping, leave the category and back again into the category I get the new right settings that look like:
/zencart/ita/embedded/actel
but the url doesn't change:
It sounds like you haven't uploaded the modified version of html_output.php. Upload it and the site should start to use the URIs you have entered/generated.
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
The file is present now but no way for a better look of URIs ... :cry:
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
tirsys
The file is present now but no way for a better look of URIs ... :cry:
You've definitely done something wrong. Please try uploading all the files again.
All the best...
Conor
-
Re: Ceon URI Mapping (SEO)
Hello there,
first, great work on module.
Yesterday, when inserting a new product we noticed that the module's fields within the page to describe the product have disappeared. Thus, the module does not generate modified links for new products.
Meanwhile, the linking structure for the older products is fine and there are also input fields on the modification pages for Categories and EZ-pages.
Any suggestions?
Thank you for the help.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Paul27
first, great work on module.
Thanks, I'm glad you like it!
Quote:
Originally Posted by
Paul27
Yesterday, when inserting a new product we noticed that the module's fields within the page to describe the product have disappeared. Thus, the module does not generate modified links for new products.
If the fields are missing from the product page in the admin then you have simply overwritten the product.php file with a fresh/unmodified version. You'll need to check you haven't removed the module from the admin by copying over all its files. I'd suggest reuploading the admin files one by one, but *only* after finding out who is responsible for overwriting the file, in case they were doing so because they were making modifications themselves.
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thank you for the quick response.
Your suggestion did the work. Seems to be fine now.
Thanks again!
-
Re: Ceon URI Mapping (SEO)
I am getting 404, not found when a third party service tries to run their script xmlPopulate_zencart.php:
Code:
RewriteCond %{REQUEST_URI} !^/electronics/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/electronics/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/electronics/cybersource.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/realex_remote_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/xmlPopulate_zencart.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/xmlPopulate_zencart_db.php.* [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]
The script uses two files, at this point they are giving a 404 error, I am not very familiar with mod rewrite but after reading threads, I understood I can take these scripts out by using RewriteCond, so I excluded or intended to do so, with the same REwriteCond used to exclude payment modules.
Any other solution?
-
Re: Ceon URI Mapping (SEO)
Sorry I skipped some code here it goes again:
Code:
RewriteEngine on
# ONLY rewrite URIs beginning with /electronics/
RewriteCond %{REQUEST_URI} ^/electronics/.* [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/electronics/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/electronics/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/electronics/cybersource.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/realex_remote_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/xmlPopulate_zencart.php.* [NC]
RewriteCond %{REQUEST_URI} !^/electronics/xmlPopulate_zencart_db.php.* [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]
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
icecold
I am getting 404, not found when a third party service tries to run their script xmlPopulate_zencart.php:
Any other solution?
A "known issue" (bit of a bug) has been identified with the later versions of the module when being used with any catalog-side script that which calls application top in it:
Code:
require_once(DIR_WS_INCLUDES . 'application_top.php');
Does this xmlPopulate_zencart.php do this?
If so please wait for the new version (of course if this XML population script is important please disable the module in the meantime).
All the best...
Conor
ceon