Hi,
? Thank you for what?
All the best...
Conor
ceon
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Fixed by deleting RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
Thank you very much!!!
Hi,
Thought that's what you meant but wasn't sure.. not a miond reader! ;)
Glad you're sorted.
All the best...
Conor
ceon
Hi Crystal,
Hope you're having a nice day!
I sent you the zip of v4.0.0rc1 on Tuesday but haven't received acknowledgement of its receipt?
I take it it got lost in your spam filters?
Let me know and I can resend to your e-mail address.
All the best...
Conor
ceon
Hey Conor!!! **waves**
Sorry for the non-acknowledgment.. Been a little off the grid.. Had house-guests leftover from the holiday weekend, and finally got rid of the last of them yesterday!!!
I got it, and I have the PERFECT store I'm working on to test it out on.. Clean vanilla install.. It's a Zen Cart implementation with WordPress theme wrapper..(My own version of Zen Cart on WordPress -- the exact opposite of WordPress on Zen Cart) Should be a good place to really give your new version a workout!!
![]()
But just for good measure I will test it on my generic vanilla test store too..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi,
waves back :)
Fair enough.. I just thought it might have got stuck in a spam filter.
No rush, I've since tested the software on other servers. There's more to life than computers, hope you had a good weekend! :)
I've just sent you RC2.. just use it obviously instead of RC1.
Good stuff.. just installed it on a site with Wordpress and the auto-exclusion functionality worked perfectly.. copying the example rewrite rule from the new Installation Check page to the .htaccess file had Ceon URI Mapping and wordpress working in harmony with no configuration needed. Good stuff!
Never actually used WP myself but glad to see that using v4 means that no messing about has to be done with list of excluded files etc.
Software works fine with FEC and other such modules now as well without any config.
Of course, please do let me know how you get on.. probably via e-mail rather than here is best.
All the best...
Conor
ceon
Perhaps someone can let me know what I am missing.
This site was recently upgraded to 1.3.9h. It has the zen cart install in a directory /shop/ . This is for historical reasons and can't really be changed.
Here's the problem. Everything works fine until I try and add a htaccess line to rewrite to www. The entire htaccess in the /shop/ directory is :
Evidently I am trying to uncomment two of those lines.Code:# php_value session.auto_start 0 RewriteEngine On # RewriteCond %{HTTP_HOST} !^www\.##########\.com$ [NC] # RewriteRule ^(.*)$ http://www.##########.com/$1 [L,R=301] # ONLY rewrite URIs beginning with /shop/ RewriteCond %{REQUEST_URI} ^/shop/ [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} !^/shop/eleanor [NC] # Don't rewrite editors directory RewriteCond %{REQUEST_URI} !^/shop/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]
However when I do this everything continues to work fine except:
www.domain.com/shop/lamps - this works fine
domain.com/shop/lamps - this does not work
what happens with the second example is that the URL is rewritten to www.domain.com/lamps ( without the /shop/ ) which gives a 404 error.
Here is the section of configure.php ( with some stuff hashed out)
Got to say I am confused but maybe I have made an error in the installation. Without the www rule for htaccess the results are this:Code:// Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.##########.com'); define('HTTPS_SERVER', 'https://www.##########.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/');
www.domain.com/shop/lamps - this works fine
domain.com/shop/lamps - this works fine
Nick
iszent.com
Hi Nick
Try moving the .htaccess file to the root of the store and then change the Ceon URI Mapping rule appropriately (shop/index.php instead of index.php).
If that doesn't work then I'm afraid you'll have to post a new thread.. the problem you are having is nothing to do with Ceon URI Mapping.
Hope that helps.
All the best..
Conor
ceon
Bookmarks