Hello,
I installed the add-on today on a site I've been playing with, and I'm having a few problems, so I'm wondering if I missed a step somewhere. The site is http://www.wholesale4realtors.com and zc is installed in /cart.
I had initially gotten a few admin errors due to a few php files having additional blank lines at the end, so I removed those, no biggie... Then followed the instructions Modules>Ceon URI...
Now the frontend site opens with a 404: page not found error, for the define_main_page.php If I add /cart to the end of the url it does not have this error, so I'm assuming it is an issue with the .htaccess file, but don't see anything wrong.
Below is the htaccess file:
Code:
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} !^/cart/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/cart/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} !^/cart/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/cart/realex_remote_3d_secure_iframe.php.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
RewriteCond %{REQUEST_URI} !/cart.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /cart/index.php?%{QUERY_STRING} [L]
RewriteCond %{HTTP_USER_AGENT} Wget [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerSE [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerElite [OR]
RewriteCond %{HTTP_USER_AGENT} EmailCollector [OR]
RewriteCond %{HTTP_USER_AGENT} EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ExtractorPro
RewriteRule ^.*$ deny.html [L]
RewriteCond %{HTTP_HOST} ^4realtors.us$ [OR]
RewriteCond %{HTTP_HOST} ^www.4realtors.us$
RewriteRule ^/?$ "http\:\/\/www\.wholesale4realtors\.com" [R=301,L]
DirectoryIndex cart/index.php index.html index.php
Note: I have a few sites referring to this same htaccess file.
Any thoughts? ...and Thanks.
Bookmarks