Write

htaccess Help

This issue has been resolved -thanks to Eric Reagan and Fred Boyle for the help. 

Essentially I replaced this style of redirect:

redirect 301 /splaat/ssdutch http://www.boyink.com/cj6/ 

with this style:

RewriteRule ^splaat/ssdutch/(.*)$ /cj6/$1 [R=301,L] 

I’m sure I tested the former and had them working - why they stopped I don’t know.  It’s one of those things I don’t have the time to figure out—they seem to be working again and I’m moving on.

5 people have started a comment party - join it!

  1. Fred Boyle on January 12, 2010

    This rule should take anything that starts with /splaat/ssdutch-comments/ will be rewritten/redirected to /cj6/.

    Since you already have the www removal rules in place those will get used as well.

    RewriteRule ^/splaat/ssdutch-comments/(.*)$ /cj6/$1 [R=301,L]

    Give it a shot and see if it works out for you.

  2. Erik Reagan on January 12, 2010

    Mike, this will depend on your server settings but it’s worth giving a try and then un-doing if you discover it doesn’t work.

    Try changing the rewrite under LG’s area where it say this:
    RewriteRule ^(.*)$ /index.php?$1&%{QUERY_STRING}
    to this:
    RewriteRule ^(.*)$ /index.php/$1&%{QUERY_STRING}

    I replaced the question mark with a forward slash

    Also, why do you have so many domains at the top of the file? Are they all pointing to the same hosting account?

  3. Rick Lecoat on January 14, 2010

    Mike, would you care to share what the final solution was? I’ve been experiencing similar difficulties and never got to the bottom of it (details of my issues can be found on the EE forums at http://bit.ly/6Edovy ) so I’d be interested to learn what worked for you.

    Many thanks.

Back to Article

Share a thought