Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
In my early days as a BA/PM,
What's a BA/PM?
Quote:
Originally Posted by
DivaVocals
I was always taught that you program by rules not exceptions..
I'm not sure what you mean by that?
Quote:
Originally Posted by
DivaVocals
That said, this functionality IMO seems too specialized to keep in the main software, but will definitely be of use to others in similar specialized situations.. I say FAQ/patch (patch probably being the easiest for end users of your mod)
I'd really like some more thoughts on this. I might try a speed test and see what difference it makes on a site with 100,000 mappings (and an index).. if it's not much then I'll just include the changes in the next version. If it is then I'll wait for more feedback here.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
What's a BA/PM?
Business Analyst/Project Manager
Quote:
Originally Posted by
conor
I'm not sure what you mean by that?
Very simply put we never included requirements in our specifications or included code in our software that dealt with exceptional processes (those things which only occur on exceptional/rare occasions or in one off instances) Instead requirement/programming should be focused on the normal business rules. Hope that's clearer..:smile:
Re: Ceon URI Mapping 3.4.2 Released!
Quote:
Originally Posted by
conor
Hi Alan,
Sorry I don't know anything about that and can't see anything in your code. Hopefully someone else here can help you with that.
This code is custom code on your site. It is NOT part of the standard Zen Cart installation.
This code is messing up and generating a cPath variable when a category isn't being displayed (and so a cPath isn't needed). URI Mapping can't read minds so it doesn't know what the cPath is doing there so it leaves in it in case it's needed (using the "better safe than sorry" approach).
What you need to do is modify the code you posted and remove the part:
Code:
'cPath=' .zen_get_generated_category_path_rev($_GET['cPath'])
As this is custom code on your site please don't post a followup about this other than to say if it worked or not, as it wouldn't be of use or interest to anyone else on this thread.
Thanks.
All the best...
Conor
ceon
Conor I know you said you didn't want a followup question about ?cPath= but I have a question about it. This may be how it is suppose to work I really don't know. If I have a category name American Patriotic and I have some products linked to other categories from that main category. Now if I click on the American Patriotic category it displays american-patriotic/american-eagle-clock-and-calendar that is right, now if I click on the same product from a different category it a has a link like this american-patriotic/american-eagle-clock-and-calendar?cPath=157
Question is the ?cpath=157 suppose to be there or how can I get rid of it. Thank You in advance. It may have nothing to do with Ceon URI Mapping.
Re: Ceon URI Mapping 3.4.2 Released!
Hi,
Quote:
Originally Posted by
countrycharm
If I have a category name American Patriotic and I have some products linked.
Linked products must have a cPath otherwise Zen Cart breaks and can't display the correct category; it would only be able to use the master category for a product if the cPath information wasn't available to maintain "context" on your site.
Just ignore the cPath you can't do anything about it and it does no harm, the canonical URI for the linked products is that of the product itself so there are no duplicate content issues.
Hope that sets your mind at rest!
All the best..
Conor
ceon
Re: Ceon URI Mapping 3.4.2 Released!
Quote:
Originally Posted by
conor
Hi,
Linked products must have a cPath otherwise Zen Cart breaks and can't display the correct category; it would only be able to use the master category for a product if the cPath information wasn't available to maintain "context" on your site.
Just ignore the cPath you can't do anything about it and it does no harm, the canonical URI for the linked products is that of the product itself so there are no duplicate content issues.
Hope that sets your mind at rest!
All the best..
Conor
ceon
That was a great explanation on how it works thank you. My mind is now at ease.
Re: Ceon URI Mapping (SEO)
Hi,
Wondering if anyone can help please!
When I go to Admin/Modules/Ceon URI Mapping (SEO) Config - The page loads OK but when I click save I get an error from the hosting company ; -
Quote:
"Error 400: Bad Request
Your browser sent a request that this server could not understand.
Probable reasons are:
* You sent a plain HTTP request to an SSL-enabled server port. Instead please use the HTTPS protocol to access this URL, like this:
https://example.com:8443/
* You made a typo in the request, e.g., typed a comma instead of a colon. Please re-check the URL.
Please contact your webmaster if you are not sure what goes wrong."
Any ideas how I might fix this?
Regards,
Tim.
Re: Ceon URI Mapping (SEO)
Hi Tim,
Quote:
Originally Posted by
aworldofpets.co.uk
Any ideas how I might fix this?
It sounds like you have a very unusual Zen Cart admin setup and that the Ceon URI Mapping Config page is being loaded as a HTTPS:// (SSL) page but then the form link being built is to a non-SSL (HTTP://) version of the page.
Maybe you have custom admin software installed or something?
The quickest way to fix this would be to hard code the form action URI in the file admin/ceon_uri_mapping_config.php
That should be all the information you need to fix this. Please get your web developer to sort things out if you don't understand what I mean by any of the above.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Conor,
Thanks for the speedy reply - unfortunately I don't have the luxury of a developer :/ . I will look into doing this however I think its time to reinstall a fresh zen cart and Ceon URI as I'm having a few problems at the moment with links being clicked and it sticking on the same page.
Regards,
Tim.
Re: Ceon URI Mapping (SEO)
Just an update to say it was a hosting issue.
Cheers,
Tim.
Re: Ceon URI Mapping (SEO)
Hi Tim,
Quote:
Originally Posted by
aworldofpets.co.uk
Just an update to say it was a hosting issue.
Glad you've got things sorted!
All the best..
Conor
ceon