Re: Ceon URI Mapping (SEO)
Okay - not as victorious as I had thought. It looks great in Firefox but in IE the template is not kicking in. Anyone know where to look?
This is what my .htaccess looks like:
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3
RewriteEngine On
RewriteCond %{HTTP_HOST} ^rondajane.com$ [NC]
RewriteCond %{REQUEST_URI} !^/myadmin [NC]
RewriteCond %{REQUEST_URI} !^/editors [NC]
RewriteRule ^(.*)$ http://www.rondajane.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/myadmin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [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]
Thanks.
Ronda
www.rondajane.com
Re: Ceon URI Mapping (SEO)
It was a template issue. Resolved by reloading the template files.
Wishing you all much luck. This is a great module! :clap:
Ronda
www.rondajane.com
Re: Ceon URI Mapping (SEO)
I never figured on an htaccess problem but here it is. This is the first time I've not had a cart in the root and I have never had a problem with this before.
Here is the folder htaccess:
Code:
RewriteEngine On
# ONLY rewrite URIs beginning with /shop/
RewriteCond %{REQUEST_URI} ^/store/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store/editors [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]
The root also has an htaccess file and besides the 301 redirects, it reads (with xxxx subbing for domain name):
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^.:]+\.)*xxxx\.net\.?(:[0-9]*)?$ [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^([^.:]+\.)*engis\.org\.?(:[0-9]*)?$ [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^xxxx.com
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
Anybody see a problem with this? I can't even get into the store directory with this htaccess setup
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
delia
I never figured on an htaccess problem but here it is. This is the first time I've not had a cart in the root and I have never had a problem with this before.
Here is the folder htaccess:
Code:
RewriteEngine On
# ONLY rewrite URIs beginning with /shop/
RewriteCond %{REQUEST_URI} ^/store/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store/editors [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]
The root also has an htaccess file and besides the 301 redirects, it reads (with xxxx subbing for domain name):
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^.:]+\.)*xxxx\.net\.?(:[0-9]*)?$ [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^([^.:]+\.)*engis\.org\.?(:[0-9]*)?$ [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^xxxx.com
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L]
Anybody see a problem with this? I can't even get into the store directory with this htaccess setup
Hi you need to create a htaccess, and it must be in the file placed in the same directory as the Zen Cart installation's
index.php file.
For example wherever your zencart files are put the .htaccess file there.
admin
cache
docs
download
editors
Remove the one in your root, and you should be OK if your .htaccess file is something like this. Back this one up before removing it just in case.
Quote:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^
example.com$ [NC]
RewriteCond %{REQUEST_URI} !^/ADMINFOLDERNAME [NC]
RewriteCond %{REQUEST_URI} !^/editors [NC]
RewriteRule ^(.*)$
http://www.example.com/$1 [R=301,L]
RewriteEngine On
# ONLY rewrite URIs beginning with /shop/
RewriteCond %{REQUEST_URI} ^/store/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store/editors [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]
Re: Ceon URI Mapping (SEO)
I can't remove the one in root permanently but I did try it as a test and the directory is still not accessible so the problem has nothing to do with the other file.
As I have done this before I know where to put the redirect url for the cart. That's not the problem.
I'm using the redirect as written by Conor - checked it three times so far so it should be right.
Anybody else got a guess why this isn't working?
Re: Ceon URI Mapping (SEO)
Has any one got this working with Amazon Checkout?
If I turn URI mapping off it works great, turn it on you can complete the order but fails when amazon tries to return to your site.
Keith
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Mustang394
Has any one got this working with Amazon Checkout?
If I turn URI mapping off it works great, turn it on you can complete the order but fails when amazon tries to return to your site.
Keith
Without knowing how the Amazon module works is it possible that it is returning you to a URL that is no longer valid (with the implementation of this module). Is it possible to update that URL to one that works with this add-on??
If this is not possible, there are really good instructions in the Ceon URI Mapping module readme for how to add modules that cannot work with this one to the "exclusions" list.
Re: Ceon URI Mapping (SEO)
Hi Keith,
Quote:
Originally Posted by
Mustang394
Has any one got this working with Amazon Checkout?
If I turn URI mapping off it works great, turn it on you can complete the order but fails when amazon tries to return to your site.
The Amazon Checkout module must load in the Zen Cart system to respond to a callback.
Read the section in the docs "Ensuring 100% Compatibility with Third Party Zen Cart Modules - Specifying Individual Files to be Excluded from URI Mapping". You just need to add the path to the callback file to the list of excluded files.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Delia,
Quote:
Originally Posted by
delia
Anybody else got a guess why this isn't working?
Can't really tell, it all looks fine. I think this is one of those things that would require online debugging/testing.
If you want I can have a quick look/test. Just send me FTP details for the site (and admin details if the software is disabled temporarily).
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Keith,
The Amazon Checkout module must load in the Zen Cart system to respond to a callback.
Read the section in the docs "Ensuring 100% Compatibility with Third Party Zen Cart Modules - Specifying Individual Files to be Excluded from URI Mapping". You just need to add the path to the callback file to the list of excluded files.
All the best..
Conor
ceon
Ahh thats the problem I can't seem to figure out what file it is calling