Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: htaccess rewrite question

    Quote Originally Posted by Website Rob View Post
    RewriteCond %{HTTP_HOST} ^www.customcreationsunltd.com
    RewriteRule (.*) http://customcreationsunltd.com/$1 [R=301]

    Don't understand why you are using the above but can see where it would cause problems.
    I was using that to redirect all traffic to www.customcreationsunltd.com to customcreationsunltd.com I did remove the L because I thought that told Apache it was the last rule.

    But thanks so much for all your help. I've got it redirecting correctly now.

  2. #12
    Join Date
    Apr 2007
    Posts
    105
    Plugin Contributions
    4

    Default Re: htaccess rewrite question

    Just out curiosity why rewrite anything?
    Have you tried just the plain old 301 redirect?
    something like:
    Redirect 301 http://www.xxxxxxxxxxxx.com/large.php http://www.xxxxxxxxxxxx.com/index.ph...dex&cPath=1_19
    obviously keep everything on the same line. But this method worked fine for me when I switched from static pages to ZC.
    just a thought.

  3. #13
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: htaccess rewrite question

    Quote Originally Posted by heimskr75 View Post
    Just out curiosity why rewrite anything?
    Have you tried just the plain old 301 redirect?
    something like:
    Redirect 301 http://www.xxxxxxxxxxxx.com/large.php http://www.xxxxxxxxxxxx.com/index.ph...dex&cPath=1_19
    obviously keep everything on the same line. But this method worked fine for me when I switched from static pages to ZC.
    just a thought.
    Fair question. The old sites (and there are three of them) each have 200-300 pages (not Zen, straight html). I haven't really promoted them in few years and the traffic has dwindled along with the orders. They still get traffic, so I don't want to lose it but it doesn't justify the time to create some 200 301 redirects.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How do I use htaccess to not rewrite a subdomain?
    By Danielle in forum General Questions
    Replies: 3
    Last Post: 15 Feb 2012, 05:04 AM
  2. .htaccess rewrite with folders and Private SSL?
    By littlehawk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Sep 2009, 07:10 PM

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