Welcome to WebmasterWorld Guest from 188.8.131.52
I even took out the "L" in the first one, but that didn't help.
The first internal redirect below worked fine but the 2nd one caused a 500 error. I even took out the "L" in the first one, but that didn't help.
Can anyone see what I did wrong?
Check your error log for the specifics of the error.
not an "internal redirect"
before your canonicalization rewrite
If that specific rule triggered a 500 error then it implies there is a syntax error with that directive and you would get that 500 error regardless of the requested URL.It is possible to make a RewriteRule that only creates a 500 error if the requested URL is one that triggers the rule. (As always: 8,000 guesses how I know.) A useful difference is that a brings-down-the-whole-site 500 error leads to the generic Apache error page, while the URL-specific 500 error still permits display of your custom 500 page if you’ve got one, because the internal request for this page doesn’t trigger a fresh 500 error.
not an "internal redirect"Sad but true: Apache itself uses this confusing locution to mean what we generally call a rewrite. (We won’t talk about their typical suggested Regular Expressions.) But that doesn’t mean we have to. Distinguishing between “internal rewrite” and “external redirect” is what is known in linguistics as Double Markedness (often a more useful term than “redundancy”).