Special mod rewrite 301 issue

Discussion in 'Apache' started by CainIV, Oct 20, 2005.

  1. #1
    Hello everyone:)

    I have noticed that Google has spidered both www and non www version of my site, and am working towards rectifiying any links pointing to me.

    I had a 301 mod rewrite in place in htaccess which worked fine but, soon noticed that it was interfering with the cart I was using (Xcart) which redirects users from www. to https:// secure page before sending them to 2checkout or the gateways.

    I am wondering if there is a way to rewrite the non www at the site root to www (301), but still allow the www.somepage.com/cart/thisproductadd.php to redirect to https:// without disrupting the process.

    Thanks
    Todd
     
    CainIV, Oct 20, 2005 IP