Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
PetleyJ
The blog seems to run on and off, it's more the /competitions and /community that isn't working.
Apply the same fix to the RewriteCond I posted for the blog. I'd actually apply the change to any external directory you want to exclude to handle the case where an incoming link (or hand typed URI) is missing the trailing slash.
Code:
# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]
# Don't rewrite community directory
RewriteCond %{REQUEST_URI} !^/community($|/) [NC]
# Don't rewrite competitions directory
RewriteCond %{REQUEST_URI} !^/competitions($|/) [NC]
While there are other methods to simplify the RewriteConds (such as excluding all real folders and files from rewriting), I have an inkling of why the original author of this mod may have decided to not go this route.
If you did not obscure your admin folder when you posted your .htaccess file, I would recommend changing the admin folder asap :)
Re: Ceon URI Mapping v4.x
How do I keep http://mydomain.com in the address?
All my products show /category as the start of the URL
The problem Im having is I want to export the products as a csv for a product feed for nextag, nextag doesnt like my urls without the domain in front of course. I dont want to manually edit the excel file as I have a lot of products and some do and some dont have this issue depending on wether Ive edited them of course.
Ive tried a search but couldnt find the answer to this although Im sure it has come up before...
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Chargin
How do I keep
http://mydomain.com in the address?
All my products show /category as the start of the URL
The problem Im having is I want to export the products as a csv for a product feed for nextag, nextag doesnt like my urls without the domain in front of course. I dont want to manually edit the excel file as I have a lot of products and some do and some dont have this issue depending on wether Ive edited them of course.
Ive tried a search but couldnt find the answer to this although Im sure it has come up before...
This thread is not the right thread to address your question.. This add-on does not export URLs from your store..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
This thread is not the right thread to address your question.. This add-on does not export URLs from your store..
No I have a mod that does that, Easy populate.
But the URLs it now exports for any products that have a Ceon URI all start with /category.
Surely theres a setting or something to sort this out, like the way the htaccess file is setup?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Chargin
No I have a mod that does that, Easy populate.
But the URLs it now exports for any products that have a Ceon URI all start with /category.
Surely theres a setting or something to sort this out, like the way the htaccess file is setup?
You need to ask the folks on the EZ Populate thread.. (and BTW, if Conor was around he'd re-direct you there as well..:smile:)
Re: Ceon URI Mapping v4.x
I have a small problem with URI that are displayed in the sitemapXML module for ezpages. All other site maps are created with the correct ceon uri mappings however the ezpages are not, they are displayed as the standard zencart string.
Just to clarify general navigation round the site is a ok. All the URI's match the mapped ones from the ceon module, it is only when the sitemapxml module creates a sitemap for ezpages it does not displaye the correct mappings.
I posted on the sitemapxml support forum but with no sugestios for a fix, I was recommended to try here. :wacko:
Here is a link to the sitemap index, just incase it would be of any use to you;
www.wefixitonline.co.uk/sitemap.xml
Has anyone else experienced this problem or do you know of a way to rectify it?
Thanks in advance for any help you can provide :blush:
Tech Info:
Zencart Version - 1.5.1
Ceon URI Version - 4.4.1
SitemapXML Version - 2.1
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DH010010
I have a small problem with URI that are displayed in the
sitemapXML module for ezpages. All other site maps are created with the correct ceon uri mappings however the ezpages are not, they are displayed as the standard zencart string.
Just to clarify general navigation round the site is a ok. All the URI's match the mapped ones from the ceon module, it is only when the sitemapxml module creates a sitemap for ezpages it does not displaye the correct mappings.
I posted on the
sitemapxml support forum but with no sugestios for a fix, I was recommended to try here. :wacko:
Here is a link to the sitemap index, just incase it would be of any use to you;
www.wefixitonline.co.uk/sitemap.xml
Has anyone else experienced this problem or do you know of a way to rectify it?
Thanks in advance for any help you can provide :blush:
Tech Info:
Zencart Version - 1.5.1
Ceon URI Version - 4.4.1
SitemapXML Version - 2.1
A search in this thread for "XML sitemap" turns up these threads:
http://www.zen-cart.com/showthread.p...79#post1139779
http://www.zen-cart.com/showthread.p...92#post1155092
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1190481#post1190481
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
I confirmed that this is not a ceon bug it was with sitemap xml - I found and posted a fix:
http://www.zen-cart.com/showthread.p...ML-v-2/page127
Hope this helps someone :p
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DH010010
You rock, and THANKS for sharing your solution.. for the record last night I took a look at the XML sitemap files and made a pretty good GUESS as to where the problem was:laugh:. Though that's all I had because I certainly did NOT know how to fix it.. This is an old niggling issue and thanks to you it's FIXED!! Gonna repost your fix here in full..
Using Ceon URI Mapping v4.x with the XML Sitemap add-on
Quote:
Originally Posted by
DH010010
Though you provided a link, I thought that I would take the liberty of posting the fix here as well..
To correct this you need to edit the following file:
/includes/modules/pages/sitemapxml/sitemapxml_ezpages.php
Find this on line 115:
Code:
$link = FILENAME_EZPAGES;
Replace with this:
Code:
$link = zen_href_link(FILENAME_EZPAGES, 'id=' . $page_query->fields['pages_id'] . ($page_query->fields['toc_chapter'] > 0 ? '&chapter=' . $page_query->fields['toc_chapter'] : ''), ($page_query->fields['page_is_ssl']=='0' ? 'NONSSL' : 'SSL'));
This will as Conor pointed out use the zen_href_link function to generate the EZ Pages URLs in the XML sitemap.
And so it's clear I have verified that as of today this fix applies to the following version of the XML Sitemap module.
Quote:
SitemapXML
Version Date
==============
v 3.2.6 17.06.2012
BIG thanks again to DH010010 for getting to the bottom of a very old issue.. Kudos to you!