Re: Ceon URI Mapping and SitemapXML
Hi,
Quote:
Originally Posted by
fakeDecoy
Has anyone already written the code to integrate with the SitemapXML mod? Google Webmaster Tools indexed some of my URLs in the sitemap, but it has now giving an error that it has stopped following my URLs because of the 301 redirects. So I need to create the sitemap with the static URLs.
Many stores are already using this just fine with Ceon URI Mapping. It is fully compatible with any store that only has one language.
If you are getting redirects you need to change "Generate language_id for default language" to false.
You should probably also change "Use Existing Files" to false (to save deleting the files to have them regenerated).
In v4.0.0 these instructions will either be part of the installation procedure, or else I might update Sitemap XML to be compatible with the greatly enhanced language support Ceon URI Mapping adds to a store.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Just to add...I either have space to add
URI Mapping:
(this is only on a handfull of products)
or at the bottom I have space for the following
Products URL:
Any idea why I can't add in URI Mapping on all products?
The EZpages and categories all work fine :smile:
Great Module:bigups: Just want to get this final thing sorted.
Thanks
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pb4
Any idea why I can't add in URI Mapping on all products?
Your products must use different product types but you have only modified the core files in the admin/includes/modules/PRODUCT_TYPE folders for the default product type. You need to modify all the collect_info and preview_info PHP files.
And to think today's supposed to be my day off... :lookaroun
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Oh sorry Conor :blush:
Thank you for your time..I'll check that out..
Re: Ceon URI Mapping and SitemapXML
Quote:
Originally Posted by
conor
Hi,
Many stores are already using this just fine with Ceon URI Mapping. It is fully compatible with any store that only has one language.
If you are getting redirects you need to change "Generate language_id for default language" to false.
You should probably also change "Use Existing Files" to false (to save deleting the files to have them regenerated).
In v4.0.0 these instructions will either be part of the installation procedure, or else I might update Sitemap XML to be compatible with the greatly enhanced language support Ceon URI Mapping adds to a store.
Thanks for the quick reply!
I had Generate language_id for default language" set to false. I just set Use Existing Files" to false as suggested. The new sitemap files still have URLs in the dynamic fomat like this:
http://www.mysite.com/index.php?main...ndex&cPath=195
It sounds like you're saying these should already be created in the static mapped format without need for code modification of the SitemapXML mod?
Perhaps I don't have the URI Mapping mod configured properly in some other way. In case it's a symptom, all the links created by zencart on my store are links to the dynamic URLs and are only redirected to the mapped URL on click. Is that normal?
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
No.
Try putting a slash in front of index.php and see if that works. If not you might have to pay someone to help you sort out your server as that rule should work.
All the best...
Conor
ceon
Thanks Conor, yes putting the slash in front of the index.php has resolved this issue (i.e. I can now view my site!). However, when I click on one of the test URI categories (GIFTS TEST) I get "Unable to Display Page"! All other categories (the ones that don't have URI enabled) work fine. My site is nameyourgift.ie - click on GIFTS TEST (last category on your left) and you will see my problem! Any clues what could be causing this?
Thanks a mill for helping me with this.
Re: Ceon URI Mapping and SitemapXML
Hi,
Quote:
Originally Posted by
fakeDecoy
It sounds like you're saying these should already be created in the static mapped format without need for code modification of the SitemapXML mod?
Yes, that's right.
Quote:
Originally Posted by
fakeDecoy
Perhaps I don't have the URI Mapping mod configured properly in some other way. In case it's a symptom, all the links created by zencart on my store are links to the dynamic URLs and are only redirected to the mapped URL on click. Is that normal?
Nope, and that explains things. You need to modify includes/functions/html_output.php.. you haven't actually finished installing the software! Merge the Ceon URI Mapping code from the sample modified core file in the distribution with the html_output.php file on your site and the sitemap will use the static URIs.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
rebelman
However, when I click on one of the test URI categories (GIFTS TEST) I get "Unable to Display Page"!
Sorry, I don't know what's wrong there... you shouldn't get a 404 with the rewrite rule you posted, at the very least you should get a Zen Cart 404.
All the best...
Conor
ceon
Re: Ceon URI Mapping and SitemapXML
Quote:
Originally Posted by
conor
Nope, and that explains things. You need to modify includes/functions/html_output.php.. you haven't actually finished installing the software! Merge the Ceon URI Mapping code from the sample modified core file in the distribution with the html_output.php file on your site and the sitemap will use the static URIs.
You're a genius! I completely missed the core overrides step of the install. It's interesting that it has worked okay without it, but that's cool that when fully installed it will use entirely static URLs.
Re: Ceon URI Mapping and SitemapXML
Quote:
Originally Posted by
fakeDecoy
You're a genius! I completely missed the core overrides step of the install. It's interesting that it has worked okay without it, but that's cool that when fully installed it will use entirely static URLs.
Oops, I guess I didn't miss all those files after all. Just the few core modified catalog files. Anyway, I just finished it, and that did the trick. Beautiful!