Re: Ceon URI Mapping (SEO)
Hi Jeremy,
Quote:
Originally Posted by
edizioninautilus
They have the cpath reference included like this:
I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.
Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.
I'll release the new version when I get a chance to package it up.
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Jeremy,
I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.
Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.
I'll release the new version when I get a chance to package it up.
All the best...
Conor
Ceon
Conor,
Thanks for looking into this. Hmmm... The only thing I've done - or at least that I think I've done - to the EZ-Pages is add a language module. Actually, I've moved over to an entirely Italian language site and admin eliminating all of the English. Maybe there was something left in the database over on the English side that is causing this "Chapter flare up"? I'll have a look...
Thanks for fixing the upcoming products bit in the new code. I'll be on the lookout for the new version...
Jeremy
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
That's easy enough. You'll have to insert a new record in the database:
Ceon
Dang! Works perfectly!
Thought I'd tried that way but I guess not.
This mod is so cool!
Thank you !!!
Re: Ceon URI Mapping (SEO)
i am getting this dreadful error when trying to access admin,i have reinstall 6 times using different ftp programmes. "Warning: require_once(/home/*****/****/admin/includes/classes/class.String.php) [function.require-once]: failed to open stream: No such file or directory in /home/*********/******/********/includes/functions/extra_functions/ceon_uri_mapping.php on line 21"
Re: Ceon URI Mapping (SEO)
Hi,
That "dreadful error" simply means that you haven't uploaded all the files properly.
Please try again. If you still get the error, manually upload the files one by one and check the size of the uploaded files against the size of the original files from the archive.
You are at the very least missing this file:
admin/includes/classes/class.String.php
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Hello again Conor,
I am having a problem with a mod I have installed to upload products to Google Base, Google Base Feeder. The upload is being denied since installing the URI mapping. I am wondering if it could be something with the htaccess.
This is the error message as the data is attempting upload:
Quote:
Google Base Feeder v.1.7.0 09.019.2008 17:38:59 started 2009/05/14 13:50:31
Feed file - /home/myusername/public_html/feed/domain_products.xml
Processing: Feed - No, Upload - Yes
Upload started...
Connection failed: uploads.google.com
Upload failed...
My htaccess rules:
Quote:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/myadminname.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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} !^mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]
Any input wouldbe greatly appreciated.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Any input would be greatly appreciated.
I'm afraid I don't have time to look into any third party mods at the minute.
Your rewrite rule shouldn't block anything will a file extension (like .xml). It would block anything else in the /feed directory though so, as a guess, you may want to try adding the following condition to the rewrite rule:
Code:
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !/feed.* [NC]
Hope that helps/works. If not, please look through the module and see if there are any other URIs it needs. Please let us know via this forum what worked (if anything).
I'm leaving for the weekend now, I won't be able to reply to any posts until Monday.
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Thank you Conor,
Sorry, I didn't mean to imply that I was asking you to look at the other mod, I just thought you may see something in the rewrite rules that would do this. As you have said before, you have unexpectedly become an expert at htaccess.
I did something I should have tried before posting, I removed all of the rewrite rules and it still wouldn't upload. So, it has nothing to do with the htaccess. I will trouble shoot this and post here if there is any tie to the Ceon URI mapping, which I now think has nothing to do with the problem.
Once again, thank you for your help.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Sorry, I didn't mean to imply that I was asking you to look at the other mod
Don't worry, I didn't think you were asking anything much, I was just saying time is short at the minute! :)
I'm sorry to hear that you are still having trouble but glad to confirm that it's not a problem with the URI mapping module.
I wish you luck in finding and fixing your problem!
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Hi Conor,
(Zen 1.3.8a / ceon_uri_mapping_3.2.2_for_zc)
I've installed your mod and everything seems to work fine - no error messages and all mapping looks successful. Just a couple of newbie questions to make sure:
I am working on a new (basic) zencart site to replace an old (basic) html site and use EZpages, some of which have Internal link URL's to pages created in Define Pages - Home, Site Map, T&C, Privacy ...(hope this makes sense)
I have successfully added url mapping to the dbase for "Specifying a Static URI for any other Zen Cart page" for these Define Pages, however the link showing in the status bar is still showing the zen id whereas the navigation bar correctly shows the 'simplified' mapped id. As I say all other links are fine it's just those for 'define pages' that exhibit this behaviour. Is this normal? (I've tried changing the Internal Link url in the EZpage to the mapped id but this results in a 404)
Related point - I thought I would regenerate my Sitemap again to see the effect this mod had on it. As the above suggests the url's in sitemapezpages.xml still show the zen links for those Define Pages. I'm concerned that this might distort Google's perception of my site.
My site is here if it's of any use
Thankyou for this mod and all the support you give. You are on my list for Coffee and Doughnuts.
Cheers
Simon