Dear All,
One of my worst parts in webprogramming is url rewriting. Now I am looking at a rewrite which I cannot think of how to get going. What I would like it to rewrite every URL which after the domain has:
Either one of the words: university, category, programme, followed by one of more sub-directories. So something like this:
rewrite_rule /university || category || programme/(.)/((.)(/))?* index.php?find=$1&$1=$2&rest=$3 [L]
All other strings should just go to
index.php?rest=$1
Anybody who can put this together the right way?
J.