Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: site is 302 redirecting with zen id?

    ha ha of course, thank you so much for bearing with me!!!! and for all of your help!!!!

    All is working perfectly now!

    do you have a page where i can buy you a coffee to say thanks?

  2. #12
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,196
    Plugin Contributions
    63

    Default Re: site is 302 redirecting with zen id?

    Excellent! If you want can buy the Zen Cart team a coffee

    http://www.zen-cart.com/index.php?ma...es&pages_id=14

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #13
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: site is 302 redirecting with zen id?

    done and thanks again!

  4. #14
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: site is 302 redirecting with zen id?

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^www\.livvylou\.co.uk
    RewriteRule (.*) http://www.livvylou.co.uk/$1 [R=301,L]
    Tidied up:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^(www\.livvylou\.co\.uk)?$
    RewriteRule (.*) http://www.livvylou.co.uk/$1 [R=301,L]
    Escape all literal periods, \.uk for example.

    The additional ( ) ? is required to stop HTTP/1.0 requests with blank hostname in the request resulting in an infinite redirect loop.

    The original code would not redirect a www request with appended port number, leading to Duplicate Content issues. Adding the $ fixes that.

    RewriteBase / is the default and is not required to be restated.
    Online since 1995.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. why is my site redirecting with a 302?
    By colin0502 in forum General Questions
    Replies: 10
    Last Post: 10 Oct 2009, 10:10 PM
  2. 302 redirect with languages vs search engines
    By xordox in forum Bug Reports
    Replies: 1
    Last Post: 1 Nov 2008, 01:34 PM
  3. 302 Redirect error with worldpay mod
    By crazycucumber in forum General Questions
    Replies: 1
    Last Post: 23 May 2007, 01:27 PM
  4. Using Zen modules with non Zen site?
    By RPR2020 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Jun 2006, 08:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR