Hi all:
I'm trying to modify my rewrite rule to meet a few new conditions.
Currently I have:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

New rules that need to be matched:

Requests to main url (www.domain.com, domain.com, www.domain.com/index.php,
domain.com/index.php) need to be redirected to

domain.com/browse/locations

The following request URLs (with or without www) are OK:
    domain.com/browse/locations (plus all URLs below browse/locations.
E.g. 
/browse/locations/detailPage/browse_locations/process_action/search/lp_id/2090)
    domain.com/account (plus all URLs below)
    domain.com/authentication (plus all URLs below)

Every other request should be redirected to newdomain.com

Any help would be appreciated!
Thanks,

Gunter

Reply via email to