-
Re: Ceon URI Mapping (SEO)
Hi,
I have installed mailhive and I have a problem with cronless that is not able to launch the job.
After lots of searching, I found that disabling CEON URI mapping cronless can launch the job.
Please see http://www.zen-cart.com/forum/showpo...&postcount=303 and subsequent posts on this matter.
I think the problem could be solved simply by adding a line in htaccess telling to not rewrite a file url but, I do not know the sintax used to write the rule.
Can some one help me?
Thanks
enzo
-
1 Attachment(s)
Re: Ceon URI Mapping (SEO)
Hello conor,
How are you,hope you have a good day,
my website use the Ceon url mapping very well, and these days I found a isuue, which is a problem for me, it production two different address for one same product
for example:
1. when I visit my website, then click the sub catagory, then I click one product like hyundai 145 DVD, then it displayed http://www.jewellet.com/Hyundai-I45-...I45-Navigation
this link is correct just as I manual generated.
but when I click the top of the small flash show of product, see this
http://www.zen-cart.com/forum/attach...1&d=1299655166
when you click the right or left button on the top flash picture,
then it make another link like http://www.jewellet.com/6-2-quot--Hy...card_p727.html
and both link can visit, is there any ways to display the same one? Thank you very much.
Alan
-
Re: Ceon URI Mapping (SEO)
Hi Enzo,
You seem to like posting here. :)
Quote:
Originally Posted by
enzo-ita
I think the problem could be solved simply by adding a line in htaccess telling to not rewrite a file url but, I do not know the sintax used to write the rule.
Can some one help me?
I would guess that whatever the path to the cron script is that you need to add it to the rewrite rule as an exclusion like the cpanel/admin lines.. and/or you need to add the path to the exclusions section of Ceon URI Mapping Config in the admin.
There's more information about how to do both in the software distribution's FAQs.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Alan,
Quote:
Originally Posted by
alan145
How are you,hope you have a good day,
Thanks, I'm afraid I'm going to be quite unwell for quite a few months so won't be posting here as often.
Quote:
Originally Posted by
alan145
That old link is obviously some old SEO module URI, which has most likely been hard-coded into the image-browser thingy. You need to get your developer to recode this to use zen_href_link().
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Thanks, I'm afraid I'm going to be quite unwell for quite a few months so won't be posting here as often.
Sorry to hear that Conor. Take your time and rest a few Months you deserve it. Maybe you will start feeling better by the time it warms up. Nothing is more important than your health. Have a nice day my friend.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Enzo,
You seem to like posting here
Yes, I like the way you take care about questions. :clap:
After reading the documentation you mentioned, I have added this rule in htaccess
require('mailhive.php');
But no success.
Instead my site become unreachable.
I do not pretend that you solve my problems however.
If I can not solve this, I will keep running mailhive manually.
All the best.
enzo
-
Re: Ceon URI Mapping (SEO)
Ok I did it on my own.
I just mod the file includes/extra_datafiles/ceon_uri_mapping_config.php
adding what in red and voilą it works perfectly now.
$ceon_uri_mapping_excluded_files = array(
'ipn_main_handler.php',
'mailhive.php',
'nochex_apc_handler.php',
'localities_remote_loader.php',
'iridium_3d_secure_iframe.php',
'protx_direct_3d_secure_iframe.php',
'realex_remote_3d_secure_iframe.php',
'sage_pay_direct_3d_secure_iframe.php',
'ceon_cardsave_direct_3d_secure_iframe.php',
'ceon_sage_pay_direct_3d_secure_iframe.php',
'ceon_sage_pay_server_iframe_breakout.php',
'ceon_sage_pay_server_notification_handler.php'
);
?>
-
Re: Ceon URI Mapping (SEO)
Hi,
I just installed Ceon, and it seems the installation was ok.
I then went to one of the products, and checked the
TEXT_URI_MAPPING_PRODUCT_URIS_AUTOGEN
at the end of the page.
After refreshing I get a 404, and notice in the address bar that while it has rewritten the uri, but has left
?zenid=ucu493kk3rtqtgvju9do9rocc0
at the end of it
the_site/bracelets/amber-bracelet-0101?zenid=ucu493kk3rtqtgvju9do9rocc0
Can you please tell me what is wrong?
I don't know if it can be related, but in the admin>modules I see all the references like this
admin>modules>BOX_CEON_URI_MAPPING
Quote:
HEADING_TITLE
TEXT_AUTOGEN_CONFIG
TEXT_LABEL_AUTOGEN_ENABLED_NEW TEXT_CONFIG_DESC_AUTOGEN_ENABLED_NEW
TEXT_LABEL_WHITESPACE_REPLACEMENT TEXT_CONFIG_DESC_WHITESPACE_REPLACEMENT
TEXT_LABEL_CAPITALISATION TEXT_CONFIG_DESC_CAPITALISATION
TEXT_CAPITALISATION_LOWERCASE
TEXT_CAPITALISATION_AS_IS
TEXT_CAPITALISATION_UCFIRST
Thank you.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
keneso
Hi,
I just installed Ceon, and it seems the installation was ok.
I then went to one of the products, and checked the
TEXT_URI_MAPPING_PRODUCT_URIS_AUTOGEN
at the end of the page.
After refreshing I get a 404, and notice in the address bar that while it has rewritten the uri, but has left
?zenid=ucu493kk3rtqtgvju9do9rocc0
at the end of it
the_site/bracelets/amber-bracelet-0101?zenid=ucu493kk3rtqtgvju9do9rocc0
Can you please tell me what is wrong?
I don't know if it can be related, but in the admin>modules I see all the references like this
admin>modules>BOX_CEON_URI_MAPPING
Thank you.
Go back and check your installation of the module. You have not install it right. Make sure you have renamed the admin folder to your custom folder name before uploading the files.
-
Re: Ceon URI Mapping (SEO)
Quote:
Go back and check your installation of the module. You have not install it right. Make sure you have renamed the admin folder to your custom folder name before uploading the files.
Thanks, I had renamed the admin folder, and indeed I do see the module in admin>modules.
I'll nevertheless check back.
-
Re: Ceon URI Mapping (SEO)
Hi,
I reported problems with CEON URI mapping module and Sitemap XML. Problems is that google webmaster tool says:
HTTP Error: 301 and
URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
What is the problem? and how to solve it?
Thanks in advance for prompt help!
Br, Tomek
-
Re: Ceon URI Mapping (SEO)
Without a link to your site and the URLs that Google took issue with, it would be a shot in the dark to help you resolve your issue..
You will need to provide much more explicit details on your situation..
Quote:
Originally Posted by
tomwic
Hi,
I reported problems with CEON URI mapping module and Sitemap XML. Problems is that google webmaster tool says:
HTTP Error: 301 and
URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
What is the problem? and how to solve it?
Thanks in advance for prompt help!
Br, Tomek
-
Re: Ceon URI Mapping (SEO)
Hi Enzo,
Quote:
Originally Posted by
enzo-ita
Ok I did it on my own.
I just mod the file includes/extra_datafiles/ceon_uri_mapping_config.php
adding what in red and voilą it works perfectly now.
That's not the right way to do it.. it works but you should simply have added
mailhive.php
Into the files to be excluded section of the config!
Not the command "require(..."! :)
All the bet..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
keneso
After refreshing I get a 404, and notice in the address bar that while it has rewritten the uri, but has left
?zenid=ucu493kk3rtqtgvju9do9rocc0
at the end of it
the_site/bracelets/amber-bracelet-0101?zenid=ucu493kk3rtqtgvju9do9rocc0
Can you please tell me what is wrong?
The zenid is added by Zen Cart and is not a problem.. it is caused because Zen Cart's cookie handling isn't great with static URIs (it was never built to use static URIs).
I'll be hopefully patching Zen Cart with version 4.0.0 of Ceon URI Mapping to fix it.
Quote:
Originally Posted by
keneso
I don't know if it can be related, but in the admin>modules I see all the references like this
admin>modules>BOX_CEON_URI_MAPPING
No, that's because you haven't uploaded the language file for the admin.. upload all the files again, taking care to upload them one by one as your FTP software may not be very good. If you still have problems, check you are uploading to the "correct" admin folder (not "admin") and that the files have uploaded successfully. If they haven't, use better FTP software.
As for the 404, that means you don't have a working rewriterule/.htaccess file in place. Follow the configuration instructions to add one.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
tomwic
I reported problems with CEON URI mapping module and Sitemap XML. Problems is that google webmaster tool says:
HTTP Error: 301 and
URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
This is most likely caused by enabling the option in Google Sitemaps XML configuration that adds the language to the end of the URI.
This should NOT be enabled when using Ceon URI Mapping with the Zen Cart Google Sitemaps module.
Disable it and ?language= won't be added to the end of the URIs in the sitemap, causing the redirects to disappear.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Enzo,
That's not the right way to do it.. it works but you should simply have added
mailhive.php
Into the files to be excluded section of the config!
Not the command "require(..."! :)
All the bet..
Conor
ceon
Dear Conor,
I am a newbie as you know.
I did add the command require.... in the htaccess first and it did not work.
I then tryied to add mailhive.php in any possible way in the apposite section of the config modile in admin and it did not work.
I never added it as simply as mailhive.php I always tried with full roule like home7/acquatua/bla/blabla.
Now I realize why it did not work when I inserted it in the config module. :frusty:
I then figured out how to mod the php file and got it.
As you can tell I am a newbie but a stubborn one! And after hours I made it work.
All the best to you for your health.
enzo
-
Re: Ceon URI Mapping (SEO)
Thank you very much Conor.
As it turned out, I had indeed forgotten to load the .htaccess.
As per the admin side, I had loaded all the files correcly, I was using the Italian language instead of English, I switched to English, and all is fine.
-
Re: Ceon URI Mapping (SEO)
Hi
I've installed ceon uri mapping 3.8.0 on a zen cart version 1.3.9f.
Two issues I'm trying to figure out
The first issue is when checking out with paypal. I can checkout and make payment but after payment I get returned to a blank page whether I click the return link or wait for it to auto return.
When I go back to the site I see the order in admin but the order doesn't show up in PayPal Instant Payment Notifications and the stock level has not been reduced. In the storefront I see the item still in the cart. I'm hoping it is something simple to resolve in the htaccess.
The other issue is the admin url. If this type of url is used
HTML Code:
http://website.com/zc_admin
I get redirected to the storefront, so to get in to admin this kind of url needs to be used
HTML Code:
http://website.com/zc_admin/login.php
I think it must be something in the htaccess. This is what is being used in the htaccess file.
The last two strings is what is original to the file.
Any help would be really appreciated.
HTML Code:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/zc_admin[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]
RewriteCond %{HTTP_HOST} ^websitename.com$
RewriteRule ^/?$ "http\:\/\/www\.websitename\.com" [R=301,L]
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
buildingblocks
Two issues I'm trying to figure out
As Ceon URI Mapping is not used for any of the checkout pages and has an exclusion built in for PayPal IPN I'm afraid that your problems can't be caused by it. The same applies for the admin problem, the rewrite rule exclusion means it never gets called for the admin address.
The only thing I can think of saying is to check your paths and settings in admin/includes/configure.php.
If that doesn't help please start a new thread. At least you know it's not Ceon URI Mapping that's the source of your problems.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
that is so odd. I've never had need to touch the configure files.
Thank you for responding so quickly. Now I know I need to check elsewhere.
I have ceon uri mapper on my own site too and a test paypal checkout does return to my store after payment.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
This is most likely caused by enabling the option in Google Sitemaps XML configuration that
adds the language to the end of the URI.
This should
NOT be enabled when using Ceon URI Mapping with the Zen Cart Google Sitemaps module.
Disable it and ?language= won't be added to the end of the URIs in the sitemap, causing the redirects to disappear.
All the best...
Conor
ceon
Thank you for your valuable attention. It was the solution!
Br, Tomek
-
Re: Ceon URI Mapping (SEO)
Hi
I have been asked to move a zen-cart site to a new host, and everything works fine, bar the Ceon URI Mapping. Nav works when its turned off but no seo'ed urls work when its turned on. Any ideas why?
Thanks
-
1 Attachment(s)
Re: Ceon URI Mapping (SEO)
@Conor
I translated the two admin language files into Italian, if you like to have it check the attachment.
-
Re: Ceon URI Mapping (SEO)
HI,
Quote:
Originally Posted by
keneso
@Conor
I translated the two admin language files into Italian, if you like to have it check the attachment.
Thanks, that's very good of you. I'll include these in version 4.0.0.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Paddy Furn
I have been asked to move a zen-cart site to a new host, and everything works fine, bar the Ceon URI Mapping. Nav works when its turned off but no seo'ed urls work when its turned on. Any ideas why?
Sorry, it's very hard to answer a question which simply asks "why don't things work?"!
Try installing the module from scratch on the new site, you've probably missed configuring a working rewrite rule/.htaccess file or the new server doesn't use .htaccess files.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
The old host had .htaccess file hidden and so was not copied when I was doing a back up (in filezilla server >> Force Showing Hidden Files) Sorted now, thanks
-
Re: Ceon URI Mapping (SEO)
Quote:
HI,
Thanks, that's very good of you. I'll include these in version 4.0.0.
All the best...
Conor
ceon
I just noticed I have named the folder italiano, instead of italian you may kindly correct that.
-
Hello,
I'm having an issue with SOME sub categories NOT listing on side menu when category selected.
ie Birkenstock
If I disable the SEO ceon module it works fine.
y o d g ee.com.au
An working one is Sendra Boots.
You will notice the top CSS menu shows the sub categories.
Any ideas why SOME not working on left menu?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Muzz
Any ideas why SOME not working on left menu?
We're all very busy people and don't have time to investigate your site by clicking link after link.
Please give SPECIFIC EXAMPLES of links that work and ones that don't.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Weird situation that I looked at earlier in Sub Categories DON"T display in side menu.
When most top cats with subcats (e.g.Birkenstock) are clicked from sidebox or header dropdown menu, a subcat product listing displays instead of the subcat listing, and the sidebox doesn't expand to show the subcats or highlight the current cats.
When the dropdown is followed to a subcat and clicked, the correct subcat product listing displays and the sidebox shows top & subs, with current path highlighted.
One or two categories with subcats (e.g. Sendra Boots) work as normal.
-
Re: Ceon URI Mapping (SEO)
Hi there.
I thought I'd try this module out again together and also ultimate seo urls on two seperate test sites.. They both come up with the same error for me and I was wondering if anyone has encountered the same problem?!?
I use a shared ssl secure connection for my shop and am coming up with an error upon trying to access the login page -
ERROR message -
Not Found
The requested URL /tshop2/ was not found on this server.
Apache/2 Server at web121.secure-secure.co.uk Port 443
This server error message occurs on both Ultimate seo urls and Ceon URI Mapping. I'm pretty sure I've honed it down to something to do with the shared ssl connection which shows a username in the url like this -
web121.secure-secure.co.uk/USERNAME/tshop2/etc...
I'll bet if shared ssl is switched off it will work fine. In fact I'll do that tomorrow. Is there a remedy for this or am i completely barking up the wrong tree?
Login is working fine without the seo plugins.
Thanks, Paintamonkey
-
Re: Ceon URI Mapping (SEO)
Sorry. I just googled the problem and found a post where you say the shared ssl won't work.
My hosting company charges quite a bit for a proper ssl. Not sure what I'll do. Hmmmm...
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
paintamonkey
Hi there.
I thought I'd try this module out again together and also ultimate seo urls on two seperate test sites.. They both come up with the same error for me and I was wondering if anyone has encountered the same problem?!?
I use a shared ssl secure connection for my shop and am coming up with an error upon trying to access the login page -
ERROR message -
Not Found
The requested URL /tshop2/ was not found on this server.
Apache/2 Server at web121.secure-secure.co.uk Port 443
This server error message occurs on both Ultimate seo urls and Ceon URI Mapping. I'm pretty sure I've honed it down to something to do with the shared ssl connection which shows a username in the url like this -
web121.secure-secure.co.uk/USERNAME/tshop2/etc...
I'll bet if shared ssl is switched off it will work fine. In fact I'll do that tomorrow. Is there a remedy for this or am i completely barking up the wrong tree?
Login is working fine without the seo plugins.
Thanks, Paintamonkey
Deleted...........................................................
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
paintamonkey
Sorry. I just googled the problem and found a post where you say the shared ssl won't work.
My hosting company charges quite a bit for a proper ssl. Not sure what I'll do. Hmmmm...
SSL certificates are $10.95 a year from namecheap.com.. you can probably even get them cheaper than that.
If your hosting company is getting in your way, simply move, it'll be better for your business in the long run.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
We're all very busy people and don't have time to investigate your site by clicking link after link.
Please give SPECIFIC EXAMPLES of links that work and ones that don't.
All the best...
Conor
ceon
Sorry about that. Should have explained in more detail.
y o dg e e.com.au
Left Sidemenu.
Click on Birkenstock.
This SHOULD show 2 sub categories. Women and Men.
Instead shows ALL Birkenstock products. Also doesn't display Women and Mens Sub Category link below 'Birkenstock link' after clicked.
Lower on the side menu click on Sendra Boots.
You will see that the Sub Categories show under 'Sendra Boots' and that the main page content displays sub Categories for selection. Men and Women.
Disable CEON works correctly. Enable CEON then above happens.
Some of sidemenu works.. some don't.
Thanks.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
paintamonkey
Hi there.
I thought I'd try this module out again together and also ultimate seo urls on two seperate test sites.. They both come up with the same error for me and I was wondering if anyone has encountered the same problem?!?
I use a shared ssl secure connection for my shop and am coming up with an error upon trying to access the login page -
ERROR message -
Not Found
The requested URL /tshop2/ was not found on this server.
Apache/2 Server at web121.secure-secure.co.uk Port 443
This server error message occurs on both Ultimate seo urls and Ceon URI Mapping. I'm pretty sure I've honed it down to something to do with the shared ssl connection which shows a username in the url like this -
web121.secure-secure.co.uk/USERNAME/tshop2/etc...
I'll bet if shared ssl is switched off it will work fine. In fact I'll do that tomorrow. Is there a remedy for this or am i completely barking up the wrong tree?
Login is working fine without the seo plugins.
Thanks, Paintamonkey
You will need a dedicated IP and SSL for your shop to run safely and if you want people to buy from you.
Usually the costs involved in are for SSL install and the dedicated IP setup rather than the certificate. Dedicated IP is required for the SSL Certificate to work.
If your host is charging over $150ish for this then your getting ripped off. (though prices may be cheaper now from last time I looked)
You can buy the SSL certificate yourself but they will still have to install it.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Muzz
Sorry about that. Should have explained in more detail.
It can be hard to help sometimes otherwise. :)
Quote:
Originally Posted by
Muzz
y o dg e e.com.au
I'm not quite sure why you keep putting spacing in instead of writing the full domain name.. you'd get a link from Zen Cart to your site in google if you just pasted in the domain name? I would have thought most people would prefer that... anyway.. just a side point..
Quote:
Originally Posted by
Muzz
Instead shows ALL Birkenstock products. Also doesn't display Women and Mens Sub Category link below 'Birkenstock link' after clicked.
Okay, the thing that is happening here is that you have multiple mappings which use the same URI.
You have /birkenstock as a category, or so you thought you did, but you also have /birkenstock as a manufacturer.
Ceon URI Mapping can't tell where the user came from - what "kind" of link they are clicking on - so it simply matches the first occurence of /birkenstock in the database.. which on your site must be the manufacturer.
So you need to go through either your list of categories or your list of manufacturers and change the clashing URIs for one or the other.
For your particular site I'd recommend going through your list of manufacturers and adding /brand before each.. e.g. /brand/birkenstock
You'll have to manually do this but it's worth the effort and will get things working.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
hello, i have ceon mod installed, its amazing, i never thought the seo mod could be customized like this.
i have a question, will mysql performance issues occur if the store has too many products? i'm so worried about the database issue
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pizza392
hello, i have ceon mod installed, its amazing, i never thought the seo mod could be customized like this.
Thanks for the nice comments, that makes all the time spent developing and supporting it feel that bit more worthwhile! :)
Quote:
Originally Posted by
pizza392
i have a question, will mysql performance issues occur if the store has too many products? i'm so worried about the database issue
Versions up to 3.6.2 had serious performance problems with stores with 10s of thousands of products however version 3.6.3 and 3.8.0 both have query optimisations in them which dramatically improved the performance for large stores.
The store these improvements were made for and tested on has 26,000 products and they have been happy with the results.
Obviously I can't say for sure how it would affect your particular store, as servers differ as do the effects of having a differing number of products.
Realistically I don't see how it could be sped up all that much more, as there is really only a single query necessary to match an exact URI and it is the one that needed optimising previously.
There may be opportunities to further enhance the speed of the software by adjusting the code and any subsequent language check queries etc. but no-one has complained about/mentioned the speed since the changes in 3.6.3 so I can only think of that as a positive sign.
4.0.0 is in development and if issues were to be found with extremely large stores I'd be willing to see what could be done for 4.2.0 to optimise the software further as after 4.0.0 the software should be feature complete and bug free (nothing left to work on except possibly speed, if considered worthwhile bothering).
We're closing up for the weekend now so apologies for not being able to reply further until next week.
Have a nice weekend.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
It can be hard to help sometimes otherwise. :)
I'm not quite sure why you keep putting spacing in instead of writing the full domain name.. you'd get a link from Zen Cart to your site in google if you just pasted in the domain name? I would have thought most people would prefer that... anyway.. just a side point..
Okay, the thing that is happening here is that you have multiple mappings which use the same URI.
You have /birkenstock as a category, or so you thought you did, but you also have /birkenstock as a manufacturer.
Ceon URI Mapping can't tell where the user came from - what "kind" of link they are clicking on - so it simply matches the first occurence of /birkenstock in the database.. which on your site must be the manufacturer.
So you need to go through either your list of categories or your list of manufacturers and change the clashing URIs for one or the other.
For your particular site I'd recommend going through your list of manufacturers and adding /brand before each.. e.g. /brand/birkenstock
You'll have to manually do this but it's worth the effort and will get things working.
All the best...
Conor
ceon
Thanks for the reply.
OK.. I edited the manufacturer names by adding - at the end of each.
The links now load... however, on the MAIN content page the sub category buttons are now missing. BEFORE the edit the Sendra Boots link that was working loaded with the Womens and Mens links under the left menu AND on the MAIN content page. It would load content about SENDRA Boots with WOmens and Mens buttons under it. These are now missing.
Any reason why edited the Manufacturer would change that aspect?
As for the non full URL. I think it's more professional to keep this separate. Only in my opinion.
Thanks for all your help. It really is a great MOD.
-
Re: Ceon URI Mapping (SEO)
Further: I edited all Manufacturer's to
/brand/brandname as suggested. Still same issue of subcategory's not listing on the main page any longer.
-
Re: Ceon URI Mapping (SEO)
Further: I edited all Manufacturer's to
/brand/brandname as suggested.
Also think the rest of issue is mine.
Listing correctly now.. but for some reason showing sub category on home page.
I do have show sub categories on.. but these were not previously loading on home page... but were when top category selected on the home.
Anyways thanks again.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Muzz
Listing correctly now.. but for some reason showing sub category on home page.
It looks fine to me? Either way, this is most likely just a setting in Zen Cart. Maybe you've fixed this now?
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
buildingblocks
The other issue is the admin url. If this type of url is used
HTML Code:
http://website.com/zc_admin
I get redirected to the storefront, so to get in to admin this kind of url needs to be used
HTML Code:
http://website.com/zc_admin/login.php
I think it must be something in the htaccess. This is what is being used in the htaccess file. The last two strings is what is original to the file.
Any help would be really appreciated.
HTML Code:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/zc_admin[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]
RewriteCond %{HTTP_HOST} ^websitename.com$
RewriteRule ^/?$ "http\:\/\/www\.websitename\.com" [R=301,L]
The first big block of code is for a rewrite. This matches certain URL requests then fetches the content from inside the server by changing the internal pointer to point at a different internal location to get it from.
The last two lines are for a badly-coded redirect. However, it is too late to redirect to a different URL AFTER you have already rewritten the request to a new server-internal filepath.
The redirect code needs to be moved to be at the top of the file and it can be corrected using the redirect code found in: http://www.zen-cart.com/forum/showthread.php?t=151606
-
Re: Ceon URI Mapping (SEO)
Hello, i installed the latest ver. averything working great, my probelm is that most of my images are not jpg files they are file ext. how can i make them show up on my site without exchanging them to .jpg ext. ?
-
Re: Ceon URI Mapping (SEO)
I've got most of my extra pages mapped in phpmyadmin. I've run into trouble with the news module links. The links look like this
/index.php?main_page=more_news&news_id=1
I've been reading the documentation for, Specifying the current URI Mapping for any other Zen Cart page
I've tried to follow the directions but I guess I'm just not getting it.
Should this be split between main_page and query_string_parameters
more
more_news&news_id=1
I've tried numerous variations but still no luck. I either get the url I want that leads to a page not found, or I get the zen generated link to the correct page.
-
Re: Ceon URI Mapping (SEO)
I had everything working great until I upgraded my Zen Cart. At first I thought the uri module was out of date so I went to the Ceon site and installed the latest version.
Now I am running into a little problem, it is only mapping uri's for categories I make, but not for individual products. What do you think could be wrong?
-
Re: Ceon URI Mapping (SEO)
I got it.
main_page - more_news
query_string_parameters - news_id=1
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
melirlbr
Hello, i installed the latest ver. averything working great, my probelm is that most of my images are not jpg files they are file ext. how can i make them show up on my site without exchanging them to .jpg ext. ?
Ceon URI Mapping doesn't attempt to map any images or any URIs with an extension. I don't know why your images aren't showing.
Check you've put a proper rewrite rule in place that isn't blocking URIs with extensions.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
idle
I had everything working great until I upgraded my Zen Cart. At first I thought the uri module was out of date so I went to the Ceon site and installed the latest version.
Now I am running into a little problem, it is only mapping uri's for categories I make, but not for individual products. What do you think could be wrong?
It sounds like you haven't installed the software properly. Re-do the installation, taking special care when modifying the files in the admin/includes/modules directory.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
melirlbr
Hello, i installed the latest ver. averything working great, my probelm is that most of my images are not jpg files they are file ext. how can i make them show up on my site without exchanging them to .jpg ext. ?
If you do have your images in the "images" folder, check your htaccess file and be sure your type of image extension is added to the allowed file types
HTML Code:
<FilesMatch ".*\.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
-
Re: Ceon URI Mapping (SEO)
I have installed this mod on 2 sites now and it works great apart from an issue I am having with my customer login.
When you try to login to the site and press submit the page loads up blank as if it needs to redirect but it is not doing it. If I then go back to the home page by typing in the website address I am infact logged in.
Any ideas to fix this as I have had to disable this module until I solve this issue.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
seeinteriors
I have installed this mod on 2 sites now and it works great apart from an issue I am having with my customer login.
When you try to login to the site and press submit the page loads up blank as if it needs to redirect but it is not doing it. If I then go back to the home page by typing in the website address I am infact logged in.
Any ideas to fix this as I have had to disable this module until I solve this issue.
Blank pages = Errors.. You need to check your cache error logs after getting the blank page and see what the error log says. Post the contents of you error logs.
-
Re: Ceon URI Mapping (SEO)
There is no error log in my cache folder :s
Try logging in to see the problem www.seeinteriors.co.uk
Username: [email protected]
Pass: manager
Thats just a demo account I setup
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
seeinteriors
You can't use a shared SSL certificate with a URI Mapped site.. static URIs mean that you can't have the non-SSL version of the site at root and the SSL version in a subfolder.. that won't work.
You must buy a SSL certificate for your domain name (they're less than $11 a year from some places like namecheap.com).
In the meantime you can disable SSL on your site or disable Ceon URI Mapping.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi
If the product linked to other category there is "cPath=..." appears at the end of the URI if you list product in non master category. Is there any way to remove "cPath =..." from the link?
Thanks.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Igor_
Hi
If the product linked to other category there is "cPath=..." appears at the end of the URI if you list product in non master category. Is there any way to remove "cPath =..." from the link?
Thanks.
Sometime people need to read or search the thread to find the answer. :blink:
Quote:
Per Conor
Ceon URI Mapping has no known bugs now, it handles all canonical links pretty much perfectly, including those of product pages.
If you look at any canonical link for a product page with a mapped (static) URI in Ceon URI Mapping, you'll find that the cPath is not (and never has been) present. It's only used in the non-canonical URI in the address bar.
Quote:
Originally Posted by
conor
Hi,
Only linked products show the cPath in the URI in the address bar.
However, they never show the product ID if they have a URI mapping.
Also, their canonical URI never has the cPath in it, it is simply the static URI the product is mapped to.
Simply look in the source of your product pages to see what I mean.
Hope that helps!
All the best..
Conor
ceon
The answer to your question is no. It may have the cPath in the link product category address bar, but if you look in the source of both of those pages (main category and link category) you'll see that Ceon URI Mapping cleverly sets the following tag for BOTH the above URIs: the same So search engines know that they're both the same URI, with slight variations on the page. That's ideal and exactly how you want things
to work!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
countrycharm
Sometime people need to read or search the thread to find the answer. :blink:
The answer to your question is no. It may have the cPath in the link product category address bar, but if you look in the source of both of those pages (main category and link category) you'll see that Ceon URI Mapping cleverly sets the following tag for BOTH the above URIs: the same So search engines know that they're both the same URI, with slight variations on the page. That's ideal and exactly how you want things
to work!
Thanks for your reply. I tried to use google search to find out the answer in the thread (it could be better if we have thread or forum search) but I've got no luck. I tried to look through the tread but... 256 pages are a bit much for me.
Thanks one more time.
-
1 Attachment(s)
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Igor_
Thanks for your reply. I tried to use google search to find out the answer in the thread (it could be better if we have thread or forum search) but I've got no luck. I tried to look through the tread but... 256 pages are a bit much for me.
Thanks one more time.
Yep.. too bad this forum doesn't have this feature..:wink:
http://i53.tinypic.com/244uw3s.png
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
buildingblocks
If you do have your images in the "images" folder, check your htaccess file and be sure your type of image extension is added to the allowed file types
HTML Code:
<FilesMatch ".*\.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
Do i need to add all image extensions?
And to ceon, you wrote: Check you've put a proper rewrite rule in place that isn't blocking URIs with extensions.
Yes i took the rewrite rule from the sample folder, i think its okay, because everything works good except the images are not showing.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
melirlbr
And to ceon, you wrote: Check you've put a proper rewrite rule in place that isn't blocking URIs with extensions.
Yes i took the rewrite rule from the sample folder, i think its okay, because everything works good except the images are not showing.
Then your problem isn't Ceon URI Mapping but something else you have in your .htaccess file.
Or else your template doesn't have the base href set properly or something like that.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
-
Re: Ceon URI Mapping (SEO)
I know you're not a fan of Google Checkout from reading earlier in this thread but it has worked fine for me up until now, where I'm now getting communication errors.
I have my .htaccess set as below. Does this look correct?
Code:
RewriteEngine On
# ONLY rewrite URIs beginning with /store/
RewriteCond %{REQUEST_URI} ^/store/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/c83vm7g58pwh2sk [NC]
# Don't rewrite googlecheckout directory
RewriteCond %{REQUEST_URI} !^/googlecheckout [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 [QSA,L]
-
Re: Ceon URI Mapping (SEO)
I've installed the module and it looks good. However, I've noticed that once a product is 'added to cart' and then shows up linked in the cart, the path is looooong... It has the newly mapped uri I specified ANHD then a long product number and assorted characters... Also in the 'View Shopping' cart sidebar. If I click on the product coming out of the Categories, it shows the correct shorter, readable path I gave it.
Did I do something wrong in my install? Running 1.3.8a. This is a downloadable music store (to be.. that is.. only a few downloads in there sofar)
Thanks for your help.
Yolanda
-
Re: Ceon URI Mapping (SEO)
Let me just restate this problem in case I wasn't clear: I set uri's for categories and products, which work fine. But.. when an item is added to the shopping cart and I click that highlighted item in the shopping cart, it now shows 1) the new uri I did and.. 2) a hugely long product number and ids.... What did I miss? Can someone help me identifying this problem>
Thanks for a great mod though.
Yolanda
store is in my sig
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Yolanda
Let me just restate this problem in case I wasn't clear: I set uri's for categories and products, which work fine. But.. when an item is added to the shopping cart and I click that highlighted item in the shopping cart, it now shows 1) the new uri I did and.. 2) a hugely long product number and ids.... What did I miss? Can someone help me identifying this problem>
The "extra info" appended to the URI upon clicking a link in the shopping cart is the information added by Zen Cart for the selected attributes for the product.. if that was removed then when someone clicked on a product in the shopping cart, the product page would be displayed with only the default values selected, not the actual selections made by the customer.
So this is desired behaviour that should be left as it is.
Regardless, the canonical URI for the product's page will be the short one you generated for it.
Hope that sets your mind at ease.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Streaming
I know you're not a fan of Google Checkout from reading earlier in this thread
Yes, I'm not a fan of any badly written software.
Quote:
Originally Posted by
Streaming
it has worked fine for me up until now, where I'm now getting communication errors.
I have my .htaccess set as below. Does this look correct?
I've a feeling that you'd have to add exclusions for the Google Checkout module's files in Modules - Ceon URI Mapping (SEO) Config.
This is covered in the section of the documentation about adding exclusions.
I just downloaded the module and searching for application_top I see that you should probably add the following to the list of exclusions:
Code:
/googlecheckout/responsehandler.php
Maybe the following two as well:
Code:
/googlecheckout/shipping_generator/shipping_method_generator.php
Code:
/googlecheckout/shipping_metrics/shipping_metrics_commandline.php
(Separate each additional exclusion with a comma.)
Enjoy your new URIs.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thank you for the reply. Mmmhhh... that creates a page then that has a really unsightly url now. Mine AND about 2 dozen numbers. Wonder if I could de-activate those links in the shopping cart. Gotta look into that. I don't think I want those huge urls now... besides, it creates dup content..
Another issue if you don't mind: My preview audio player is Wimpy and the clips it uses are stored in the media folder. They don't play any longer and I believe it is due to the htaccess file I added to the root folder of the site... That I need fixed asap... if you could give me some advice that would be supa!
Yolanda
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Yolanda
Thank you for the reply. Mmmhhh... that creates a page then that has a really unsightly url now. Mine AND about 2 dozen numbers. Wonder if I could de-activate those links in the shopping cart. Gotta look into that. I don't think I want those huge urls now... besides, it creates dup content..
Actually this is not true.. Re-read Conor's post.. The extra data added is to make it EASIER for shopper who wish to return to the product page perhaps because they wanted to add an additional quantity to the cart or change a color.. None of this behavior creates duplicate content as these links are only valid for this customer for this order during this session and for that reason the search engines are not going to find these links.. Hence NO DUPLICATE CONTENT..
Edited to add.. what Conor said below.. :laugh:
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Yolanda
Thank you for the reply. Mmmhhh... that creates a page then that has a really unsightly url now. Mine AND about 2 dozen numbers. Wonder if I could de-activate those links in the shopping cart. Gotta look into that. I don't think I want those huge urls now... besides, it creates dup content..
It doesn't create duplicate content.. that's what I was talking about in the last post about canonical URIs.
For example, clicking back to the product page from the cart brings up this URI with the attribute info:
http://music.shredmistress.net/femal...8ef4e1e2b62225
But the canonical URI in the source is:
HTML Code:
<link rel="canonical" href="http://music.shredmistress.net/female-transgendered-band-glamazon-download-holywar">
Quote:
Originally Posted by
Yolanda
Another issue if you don't mind: My preview audio player is Wimpy and the clips it uses are stored in the media folder. They don't play any longer and I believe it is due to the htaccess file I added to the root folder of the site... That I need fixed asap... if you could give me some advice that would be supa!
Sorry I don't know anything about this player. I can't help you with it.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thank you Connor and divavocals for the insight. Got it.. nothing to worry about then. I thought I messed up! One of my products (guitar lessons) doesn't have attributes and that shows up fine in the cart. But yeah... I'm good. I am liking the fact that I can customize the products and categories and ez pages... very cool!
In regards to Wimpy player: I added an additional exception into the htaccess file for the 'media' folder. That's where the clips sit. They play now.
Best wishes
Yolanda
-
Re: Ceon URI Mapping (SEO)
Many thanks Conor for taking the time to address my issue with the Google Checkout. Although I still have a couple of minor issues still to resolve, the respective servers are now talking to one another.
P.S. I agree with your comments regarding the checkout module, although I find it strange that only one version was ever written back in 2007 and never updated since. There could be a good earner there for a good software writer.
Thanks again Conor.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Streaming
P.S. I agree with your comments regarding the checkout module, although I find it strange that only one version was ever written back in 2007 and never updated since. There could be a good earner there for a good software writer.
Gonna keep this brief as it is off-topic.. Somewhere in the Google Checkout Wiki or Google forum for this module there is a post which states that the original developer abandoned this project with no plans for further development..
-
Re: Ceon URI Mapping (SEO)
Hi all!
I have ntoiced a slight problem with the cPath extension appended to the end of the mapped URIs.
I have a product that has a master category of 100.
If I link that product to another category with a higher number (say 120), everything still works as expected.....
When I visit the product page under the master category on my website, the URI has no cPath extension.
When I visit the product page under the linked category on my website, the URI does have the cPath extension. Nothing wrong here.
If I now link the product to a category with a LOWER number (say 80), I have a problem.....
When I visit the product page under the master category on my website, the URI now has a cPath extension.
When I visit the product page under the new linked category (category 80) on my website, the URI does not have the cPath extension.
It's as though URI mapping is taking the lowest category number rather than the master category number as the main category for the product.
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!
Has anyone else ever noticed this one?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
damiantaylor
Has anyone else ever noticed this one?
Sorry, there's no logical reason for that to happen and it's not been reported by anyone else. I can't explain it but doubt it's anything to do with the module.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
damiantaylor
Hi all!
I have ntoiced a slight problem with the cPath extension appended to the end of the mapped URIs.
I have a product that has a master category of 100.
If I link that product to another category with a higher number (say 120), everything still works as expected.....
When I visit the product page under the master category on my website, the URI has no cPath extension.
When I visit the product page under the linked category on my website, the URI does have the cPath extension. Nothing wrong here.
If I now link the product to a category with a LOWER number (say 80), I have a problem.....
When I visit the product page under the master category on my website, the URI now has a cPath extension.
When I visit the product page under the new linked category (category 80) on my website, the URI does not have the cPath extension.
It's as though URI mapping is taking the lowest category number rather than the master category number as the main category for the product.
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!
Has anyone else ever noticed this one?
Quote:
Originally Posted by
conor
Hi,
Sorry, there's no logical reason for that to happen and it's not been reported by anyone else. I can't explain it but doubt it's anything to do with the module.
All the best...
Conor
ceon
Quote:
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!
On top of that Conor doesn't support older versions of this module any longer. If you have question and need support you need to upgrade your version of Ceon URI Mapping to the latest version.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
damiantaylor
It's as though URI mapping is taking the lowest category number rather than the master category number as the main category for the product.
This doesn't seem right to me. I'm not on the latest version of URI mapping so this could already be fixed!
Which version of Zen Cart are you using? There was a bug in versions prior to ZC v1.3.9 that might cause what you are seeing.
Regards,
Christian.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
:oops:What can I say? Thanks a lot. :smile: I discovered this feature just half an hour ago. That's why I deicided to come back and was sure there definitely will be someone whom I have to say thanks.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Igor_
:oops:What can I say? Thanks a lot. :smile: I discovered this feature just half an hour ago. That's why I deicided to come back and was sure there definitely will be someone whom I have to say thanks.
Rockin'! :cool:
-
Re: Ceon URI Mapping (SEO)
Hi Christian, I'm on 1.3.8a so it looks like this may be my bug!
Do you know if there is a fix for it?
Thanks!
Damian
Quote:
Originally Posted by
CJPinder
Which version of Zen Cart are you using? There was a bug in versions prior to ZC v1.3.9 that might cause what you are seeing.
Regards,
Christian.
-
Re: Ceon URI Mapping (SEO)
Hi,
I did a search but I am not sure if I what I found answers my question/problem.
I have Ceon working perfectly also with ezpages on a single language site.
Now I am creating a new site which will be bilingual.
Ezpages cna not be created as standard in two languages so I found the mod that do that.
I installed it and it overwrote the ceon ezpages module so the thick this box desappeared.
Returned to the original ceon core file and no problembut no miltilanguage function.
I tryed to mix up the two ezpage files, adding the mods present in the ceon one to the one for multilanguage, but it did not work.
Is it possible to have ezpages with multilanguage function and ceon uri alltogether?
Thanks
enzo
-
Re: Ceon URI Mapping (SEO)
Hi enzo,
Quote:
Originally Posted by
enzo-ita
Is it possible to have ezpages with multilanguage function and ceon uri alltogether?
Yes, but it requires custom coding to merge the URI Mapping modifications with the Mutli-lang modifications for the EZ-pages.
I'm afraid there's no support for this as standard with the module.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Conor & you all :wink:
I'm having problems with this mod in the db (ceon_uri_mappings table) I can see that it generates mapings for cat/prod I edited. But on the website links are still zenCart standard plus standard links are not working I get 404 erorr :frusty:
I'm on 1.3.9h and I'v used 1.3.9d for merging (WinMerge) with my store files (ImageHandler v2.0 , ZenLightBox v1.6.2 , EasyPopulate_v1.2.5.6 & include_and_exclude_tax_in_prices_nettgross_1-23a adds instaled before)
.htaccess file is as folows
---------------------------------------------------------------------
Options +FollowSymLinks
RewriteEngine On
# ONLY rewrite URIs beginning with /test/
RewriteCond %{REQUEST_URI} ^/test/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/test/MyAdminFolder [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/test/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 .* /test/index.php?%{QUERY_STRING} [L]
---------------------------------------------------------------------
appreciate any help :cry:
Jacob
-
Re: Ceon URI Mapping (SEO)
-
Re: Ceon URI Mapping (SEO)
Hi Jacob,
Quote:
Originally Posted by
alarmy-e.pl
# ONLY rewrite URIs beginning with /test/
RewriteCond %{REQUEST_URI} ^/test/ [NC]
You CAN'T use a test folder for a URI Mapped site.. as soon as you move from /test to / all of your URIs will be broken.
You should set up a test site using a subdomain only, never a folder on the main site.
Quote:
Originally Posted by
alarmy-e.pl
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* /test/index.php?%{QUERY_STRING} [L]
This is wrong, if the .htaccess file is /.htaccess then the slash at the start breaks it (/test/index.php should be test/index.php). If the .htaccess file is /test/.htaccess then you should have index.php (not /test/ or test/).
As for why your links are using old Zen Cart links, that's a common problem.. you forgot to modify includes/functions/html_output.php
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
thanks Conor for your reply
But it did not help. I moved test store to a sub domain as you said now it's under http://test.alarmy-e.pl chacked includes/functions/html_output.php and WinMerge claims it's identical to file downloaded with Ceon URi also changed .htaccess to
-----------------------------------------------------------------------
Options +FollowSymLinks
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/moscicki [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]
-----------------------------------------------------------------------
I wonder shoulden't there be a an optnion to turn URi of in the config admin section?
Thanks again:smile:
Jacob
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
alarmy-e.pl
That's good, best way to work! :)
Quote:
Originally Posted by
alarmy-e.pl
chacked includes/functions/html_output.php and WinMerge claims it's identical to file downloaded with Ceon URi also changed .htaccess to
Quote:
Originally Posted by
alarmy-e.pl
I wonder shoulden't there be a an optnion to turn URi of in the config admin section?
Yes, if that's not there it won't work.
Send me FTP and admin details and I'll take a look.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Just thought I'd come back and let you know I've found a fix to the problem I was having where the cPath extension was incorrectly appended to the end of the URIs.
As Conor said, it is nothing to do with the URI mapping module, it's a problem in the zen_get_product_path function.
The code to fix is here:
http://www.zen-cart.com/forum/showth...aster+category
Hope this helps!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
damiantaylor
Just thought I'd come back and let you know I've found a fix to the problem I was having where the cPath extension was incorrectly appended to the end of the URIs.
As Conor said, it is nothing to do with the URI mapping module, it's a problem in the zen_get_product_path function.
The code to fix is here:
http://www.zen-cart.com/forum/showth...aster+category
Hope this helps!
Yes, thanks that was interesting.. a silly Zen Cart bug, surprised it's only fixed in 1.4.0 and not in 1.3.9.. at least we know what to say if anyone else has the same problem!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi there
I am just testing a build for 1.3.9h before migrating some sites.
The url is http://www.klasicke-kristalove-lustry.cz/
Unfortunately when you login from the home page then it returns a 404 error!!. This does not happen when I turn off the CEON url rewrite!!
Any idea what the problem is?
This is the htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^klasicke-kristalove-lustry.cz [NC]
RewriteRule ^(.*)$ http://www.klasicke-kristalove-lustry.cz/$1 [L,R=301]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/piperoom [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]
many thanks
Paul
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
ptowers49
Unfortunately when you login from the home page then it returns a 404 error!!. This does not happen when I turn off the CEON url rewrite!!
Have you enabled SSL for the store?
If so then the domains for the store in includes/configure.php must be identical (except for https instead of http).
Enjoy the rest of the Easter break!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
I notice something that might be considered a bug in the category and product related mapping.
When I enter a custom mapping for a category, the products under that category don't make use of the custom category mapping, instead auto generating the default category mapping as part of the auto generated product mapping.
Would it be possible to modify the code to fix this? I would imagine that anyone who is creating a custom category mapping would want it to be used when auto generating the mapping for any products in the category.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
fakeDecoy
I notice something that might be considered a bug in the category and product related mapping..
That's not a bug, no, it's just the way the module has been designed to work. Every man and his dog has their own idea about what format their URI Mapping should take and we had to settle on a default style for the module. Of course, since the module lets you enter mappings manually you are free to use whatever format suits you.
I do totally understand where you are coming from and "URI mapping templates" would be the kind of thing you'd need the software to do. It can't do that as yet.
However, a kludgey but effective solution for you would be to temporarily rename the master category for the products you want to use a custom URI mapping to a name that autogenerates the category "part" that you want, go through and generate your product mappings for that category, then rename the category back to it's original name.
That should make things easier for you.
Another alternative is a SQL search and replace but a description of how to do that is a bit beyond the scope of this thread.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
fakeDecoy
I notice something that might be considered a bug in the category and product related mapping.
When I enter a custom mapping for a category, the products under that category don't make use of the custom category mapping, instead auto generating the default category mapping as part of the auto generated product mapping.
Would it be possible to modify the code to fix this? I would imagine that anyone who is creating a custom category mapping would want it to be used when auto generating the mapping for any products in the category.
Quote:
Originally Posted by
conor
Hi,
That's not a bug, no, it's just the way the module has been designed to work. Every man and his dog has their own idea about what format their URI Mapping should take and we had to settle on a default style for the module. Of course, since the module lets you enter mappings manually you are free to use whatever format suits you.
I do totally understand where you are coming from and "URI mapping templates" would be the kind of thing you'd need the software to do. It can't do that as yet.
However, a kludgey but effective solution for you would be to temporarily rename the master category for the products you want to use a custom URI mapping to a name that autogenerates the category "part" that you want, go through and generate your product mappings for that category, then rename the category back to it's original name.
That should make things easier for you.
Another alternative is a SQL search and replace but a description of how to do that is a bit beyond the scope of this thread.
All the best...
Conor
ceon
Donations, Donations all I have to say. I can not emphasize enough when you donate to a project things get added sooner or later if needed. :yes:
-
Re: Ceon URI Mapping (SEO)
Hi Conor and the rest of you guys. I hope you all had a great easter break well I engoyed mine of course.
But iven though I cleard my head through the easter break I still can't go over some problems with URi mapings. I've got the instalation write and data base is fine & configs in the backend are as it suppose to be. But something weird hapened with stock links generated by zenCart they look like this:
test.alarmy-e.pl/testindex.php?main_page=product_info&cPath=96&products_id=460
while they should be
test.alarmy-e.pl/index.php?main_page=product_info&cPath=96&products_id=460
why is "test" appended before "index.php" ? what did I do wrong(again:wacko:) this time let me ad that "test" is the name the katalog where my testing store is instaled.
Thanks for Your help
Jacob
-
Re: Ceon URI Mapping (SEO)
Got It:bigups:
found my mistake! My configure.php(store side) in line's defining main catalog was:
define('DIR_WS_CATALOG', 'test/');
define('DIR_WS_HTTPS_CATALOG', 'test/');
but of course it should be:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
(have no idea why i put it in there:frusty:)
FINALY:clap: now it seems that everything is working as it suppose to
-
Re: Ceon URI Mapping (SEO)
Hi
I'm having same problem as:
Quote:
Originally Posted by
damiantaylor
Just thought I'd come back and let you know I've found a fix to the problem I was having where the cPath extension was incorrectly appended to the end of the URIs.
As Conor said, it is nothing to do with the URI mapping module, it's a problem in the zen_get_product_path function.
The code to fix is here:
the code that is under
http://www.zen-cart.com/forum/showth...aster+category
does not help the cPath is still appended have you any idea?
that code is :
/ first, try to get master category id
$category_query = "select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id and p.master_categories_id = p2c.categories_id";
// in case the master category is invalid, fall back on getting first product/category association instead
$category_query .= " union distinct select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id limit 1";
(additions to original code in red)
But (I'm on 1.3.9) in functions_categories.php
I'v got:
$category_query = "select p.products_id, p.master_categories_id
from " . TABLE_PRODUCTS . " p
where p.products_id = '" . (int)$products_id . "' limit 1";
So tell me how that "fix" is supose to help if "oryginaly" master_categories_id is taken from products table??
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
alarmy-e.pl
So tell me how that "fix" is supose to help if "oryginaly" master_categories_id is taken from products table??
Please search this thread for cPath and read my last few posts about such issues.
I'll have to make this into a FAQ!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Please search this thread for cPath and read my last few posts about such issues.
I'll have to make this into a FAQ!
All the best..
Conor
ceon
**NODS IN AGREEMENT**:yes:
**waves to Conor**
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Please search this thread for cPath and read my last few posts about such issues.
:oops: SORRY I should have read those posts :frusty: sorry for spammig this thread and thenks for your patiens