View Single Post
  #92  
Old 07-12-2006, 02:41 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default

After further testing whilst havin the htaccess file supplied with the SEO mod active on the site it knocks out the coupon module, when a customer enters a coupon code the site just redirects back to home.php

address also shows .../javascript%20document.couponform.submit();
instead of the usual .../cart.php

Changing the htaccess file for me just results in a non functional site at various stages.

ive posted the htaccess details in the hope someone might be able to modify it & keep the site working which is outta my realm.


Code:
DirectoryIndex home.php index.html index.php RewriteEngine On #RewriteBase /shop # Don't rewrite requests for any files, directories, or symbolic # links (shortcuts) that exist on the filesystem. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^.*_p([0-9]+)\.html product.php?productid=$1 [last] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^.*_i([0-9]+)\.jpg$ image.php?productid=$1 [last] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)\.html $1.php [qsappend,last] # if not a real file and if not matched as product or image # then assume category, and map to home.php # this section might cause issues with other urls in x-cart... needs work RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^.*$ home.php [last]
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote