Re: Ceon URI Mapping (SEO)
Conor,
I am posting this here because you addressed a similar issues with another forum member (quoted below).
I am using zen cart 1.3.9h and ceon_uri_mapping_3.8.0_for_zc.
Everything is great with the website.
The problem is:
1. I have bots looking in the categories for my images and getting a 404 response
example:GET /category/images/medium/image.jpg
2. My cache at Google in Internet Explorer is looking for the stylesheet at Google
example:
webcache.googleusercontent.com/includes/templates/custom/css/stylesheet.css
and the images in the category
example: example.com/category/images/image.jpg
The cache in Firefox renders the stylesheet and the images correctly
This is only related to the URI Mapping module to the extent that I am using static URIs. Again my site works fine.
I appreciate your time and I know this is slightly off topic but could you tell me what file(s) I could make the changes you mentioned in the quote below?
Quote:
Originally Posted by
conor
You cannot use relative paths with static URIs!
You must change the path to your stylesheets and images to be the full path, starting with a slash (/).
Or you can set the "base href" for your site.
ceon
Re: Ceon URI Mapping (SEO)
I have been attempting to update a version of zencart 3.9 to the current revision. Every time I updated I'd think everything was fine but then when you try to add a product to the cart it does all the actions but when it actually takes you to the cart after adding the cart is empty. I've been trying and trying and trying and getting nowhere. So I copied the site to a test server and worked on it, because I was working in a subdirectoy I had to disable url mapping. I installed the updates file by file and trialed the site after each update, all worked great!
So I copied all the files back to the main site again and re enabled url mapping (altering the config files to reflect the move of course), once again the add to cart feature didn't actually add the item to the cart.
I then realised the only difference was the url mapping was back on. So I turned it off, all works again! So I copied all the old file staht had changed back again, url mapping still has to be turned off or you can't add to cart!
Can anybody tell me what I need to do? I'm assuming there some kind of cache file somewhere that needs flushing / deleting but I don't have a clue where.
Any help anybody can offer would be much appreciated, it's driving me mad and now I have to keep url mapping turned off on the site so people can add items to the cart!
Thanks in advance for any help you offer.
Huw
Re: Ceon URI Mapping (SEO)
I have this module and it works great!
I would like to add a new module - the News and Article Manager with side boxes to my site.
Has anyone had problems with it and this module together? Do you know if it will change my pages to match with the uri mappling for new pages?
Thanks, Kim
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
member
I appreciate your time and I know this is slightly off topic but could you tell me what file(s) I could make the changes you mentioned in the quote below?
I can't tell you specifically as it depends on how you've set up your site but you should look in
html_header.php and check that a base href tag is present (this prevents most "relative URIs on a static URI site" problems.
Also look in your template files.. make sure none of them use "relative" links.. make sure they start with / and use the whole path, e.g. /images/image.jpg not images/image.jpg
Hope that helps.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Kim,
How are you?
Quote:
Originally Posted by
kburner
I would like to add a new module - the News and Article Manager with side boxes to my site.
Has anyone had problems with it and this module together? Do you know if it will change my pages to match with the uri mappling for new pages?
The News and Articles manager doesn't have any inbuilit support for static URIs. I'm afraid that you are stuck with dynamic URIs for it (with id= etc.).
At least the rest of your site uses static URIs! :)
You can create static URIs for news articles but it means manually entering creating a URI mapping in the database for each new article. I'm afraid I can't help with that here.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Huw,
Quote:
Originally Posted by
celticwebsolutions
Thanks in advance for any help you offer.
It sounds like you haven't fully installed the software.
Reinstall the software FROM SCRATCH.. paying particular attention to the modifications required for the file includes/functions/html_output.php
You've either missed modifying the above file (so you've probably missed others too) or your site uses hard coding for its Add to Cart forms (unlikely)..
Either of these situations causes the software to redirect to the static URI for a site after a post to its old dynamic and therefore lose the contents of the POSTed form (meaning that it can't add the product to the cart).
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Huw,
It sounds like you haven't fully installed the software.
Reinstall the software FROM SCRATCH.. paying particular attention to the modifications required for the file includes/functions/html_output.php
You've either missed modifying the above file (so you've probably missed others too) or your site uses hard coding for its Add to Cart forms (unlikely)..
Either of these situations causes the software to redirect to the static URI for a site after a post to its old dynamic and therefore lose the contents of the POSTed form (meaning that it can't add the product to the cart).
All the best..
Conor
ceon
Thank you for your prompt reply.
So I need to reinstall the software every update? It worked previously to the update, I was on 3.9c so updated to h by going through the file changes on each version and uploading the new files one by one for each version.
If I reinstall the software will I loose the existing seo links? there are over a thousand products in the store which are already listed in google so don't wanna mess up links.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
celticwebsolutions
So I need to reinstall the software every update?
That's not what he said/meant.. What Conor suggested is that based on the conditions you describe that your install of this add-on is incomplete (possibly as a result of something being overwritten when you upgraded Zen Cart). So to correct this you will need to re-install Ceon URI Mapping.
Quote:
Originally Posted by
celticwebsolutions
It worked previously to the update, I was on 3.9c so updated to h by going through the file changes on each version and uploading the new files one by one for each version.
If I had to hazard a guess I'd say your Zen Cart updates overwrote the modifications this add-on makes to some of the core files which would have led to the behavior you have described.
Quote:
Originally Posted by
celticwebsolutions
If I reinstall the software will I loose the existing seo links? there are over a thousand products in the store which are already listed in google so don't wanna mess up links.
As the readme for this add-on explains, the URI's created by this mod are stored in your database. So unless you deleted the tables/fields that support this, updating will not affect your existing URI's..
Re: Ceon URI Mapping (SEO)
Thanks again for the reply.
I answered before I looked into it, jumped the gun a tad I'm afraid, appologies if I sounded as if I were being funny.
I'm just trting to work out what needs to be altered in the files as I assume they now need modyfying rater than just uploading the provided ones.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
celticwebsolutions
Thanks again for the reply.
I answered before I looked into it, jumped the gun a tad I'm afraid, appologies if I sounded as if I were being funny.
I'm just trting to work out what needs to be altered in the files as I assume they now need modyfying rater than just uploading the provided ones.
Whenever you install ANY add-on you should be using a file comparison program to compare the common files and merge any required changes..
Truthfully this is how you should have approached your Zen Cart upgrade to avoid wiping out the places that this mod (and other add-ons you may have installed) modifies core Zen Cart files..