Results 1 to 5 of 5
  1. #1

    Forwarding domain.com to www.domain.com

    I am having a little issue with my htaccess file. I need to do a few different 301 redirects as I have just changed domain names. I also just realized with my shopping basket that if somebody comes to my site with domain.com and not www.domain.com they cannot purchase items as that is the way the script is setup. So I need to do a 301 redirect for domain.com/* to www.domain.com/*



    Here is my current .htaccess file. It currently forwards any request for *.icedoutwatches.com/* to www.hiphopcapital.com/*

    Code:
     
    
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^(.*)icedoutwatches\.com$ [NC]
    
    RewriteRule ^.*$ http://www.hiphopcapital.com%{REQUEST_URI} [R=301,L]


    Could you please also tell me how to add so that hiphopcapital.com redirects to www.hiphopcapital.com

  2. #2
    Join Date
    Mar 2004
    Location
    USA
    Posts
    4,342
    hmm....

    ur site is working fine when accessing it without the www

  3. #3
    Originally posted by azizny
    hmm....

    ur site is working fine when accessing it without the www
    Not when somebody adds an item to their shopping basket and wants to buy it. The cookie is not transferred from domain.com to www.domain.com

    I need domain.com to forward to www.domain.com

  4. #4
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    4,695
    It already does for me.

  5. #5
    Originally posted by Loon
    It already does for me.
    Yes I just had someone email and help me.

    It is done now.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •