Page is a not externally linkable
lucy24 - 8:48 pm on Jun 14, 2012 (gmt 0)
This is where you need to explain exactly what "does not work" means. If it helps, pretend you are explaining it to a stupid computer that does not understand anything ;)
:: brazenly stealing from jdMorgan ::
What about this code does not work? Does it do something wrong, not do anything at all, or what?
How did you test? What were the expected results? What were the actual results? How did the actual results differ from the expected results? Any error messages in the browser? Any relevant entries in the server error log? Did you completely flush (delete) your browser cache before testing?
Secondary points:
RewriteBase / is not needed, because it is the default.
In general, leave a blank line after each RewriteRule. Include # annotations (separate line!) explaining what each Rule is meant to do.
In the Target, give the complete protocol-plus-domain.
Luckily my first-guess explanation does not apply: Since everything is anchored, there is nothing in the first three patterns that would intercept the 4th pattern.
But, come to think of it: Rules 3 and 4 appear to be identical except for the leading "events/" directory. So why not collapse them into a single rule?
RewriteRule ^(events/)?evenementen/$ http://www.example.com/event-categorie/evenementen/? [L,R=301]