Checking first part of URL HTACCESS

Hi Guys,

With RewriteCond is it possible to check to see if the segment after the domain is longer than 2 chars

So for example I have the following urls

www.mydomain.com/fr/news
www.mydomain.com/nz/news
www.mydomain.com/news

For the top 2 urls I want to rewrite the url without the fr or nz but still show it in the address bar

So both www.mydomain.com/fr/news & www.mydomain.com/nz/news would actually rewrite to www.mydomain.com/news

Withe the bottom url no rewriting should be done as the first segment is greater than 2 chars

Cheers

Hi JC,

Regards,

DK