New Zenner
- Join Date:
- Aug 2008
- Posts:
- 32
- Plugin Contributions:
- 0
Checkout by Amazon + Ultimate SEO URLs
Zen-Cart 1.3.9 h
Customers checking out using Checkout by Amazon 1.0 upon "placing order" on amazon are redirected to:
www.oursite.com/checkout_by_amazon.php?string...
Ultimate SEO is adding .html after .php which goes to page not found.
example:
https://www.site.com/checkout_by_amazon.php.html?action=ResetCart&amznPmtsOrderIds=xxxxxxx&amznPmtsReqId=cartId%3A49014&amznPageSource=CartPage&showAmznPmtsTYPopup=1&merchName=ACMElectronics&amznPmtsYALink=https%3A%2F%2Fpayments.amazon.com%2Fsdui%2Fsdui%2Foverview
If i remove .html the URL works correctly.
I am not good with mod rewrites, so any advice is appreciated.
Here is my suspect:
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]