I thnk this should belong in the clients helping clients but there is not a clear area to post in.
Jag just a suggestion there should be a html section some where.
Any way heres the problem.
I have a 301 redirect problem.I need to redirect http://domain.com to http://www.domain.com. This is a Search Engine Optimazation issue.
I have tried a lot of different redirects. The only one that actually does
what I need is: ( by the way I need the redirect to show in the headers as well as redirecting to the page. )
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.domain\.com [NC]
RewriteRule ^(.*) http://www.domain.com/$1 [L,R=301]
</IfModule>
The above works great until a visitor places an order.
They arrive at the first page of the shopping cart as they should.
http://www.domain.com/cgi-bin/autocart.pl
There they need to click to the next page for the secure cart to enter CC info.
https://secure.domain.com/cgi-bin/autocart.pl
Using the above redirect when the customer clicks to the next page they are
returned to https://www.domain.com/cgi-bin/autocart.pl which of course is an error page.
Any suggestions will be greatly appreciated.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks