AuthUserFile /home/epdtestm/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName epd
AuthType Basic
require user epd
RewriteEngine On
#RewriteCond %{REMOTE_ADDR} !=80.243.147.131
#RewriteCond %{REQUEST_FILENAME} !maintenance
#RewriteRule ^(.*) http://epd-test.mncar.org/maintenance.html [L]
RewriteCond %{HTTP_HOST} ^mncar\.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://epd-test.mncar.org/$1 [L,R=301]
RewriteRule ^association/find-a-realtor http://epd-test.mncar.org/association/find-a-broker [R=301,L]
RewriteRule ^search/download_property_pics.cfm http://epd-test.mncar.org/data_feed/download_property_pics [R=301,L]
RewriteRule ^search/statistics_download_verifiedsale.cfm http://epd-test.mncar.org/data_feed/statistics_download_verifiedsale [R=301,L]
RewriteRule ^search/up_download_land_parcel.cfm http://epd-test.mncar.org/data_feed/up_download_land_parcel [R=301,L]
RewriteRule ^search/up_download_lease.cfm http://epd-test.mncar.org/data_feed/up_download_lease [R=301,L]
RewriteRule ^search/up_download_property.cfm http://epd-test.mncar.org/data_feed/up_download_property [R=301,L]
RewriteRule ^search/up_download_property_specialuse.cfm http://epd-test.mncar.org/data_feed/up_download_property_specialuse [R=301,L]
RewriteRule ^search/up_download_sale.cfm http://epd-test.mncar.org/data_feed/up_download_sale [R=301,L]
RewriteRule ^search/up_download_suite.cfm http://epd-test.mncar.org/data_feed/up_download_suite [R=301,L]
RewriteRule ^search/up_download_suite_contiguous.cfm http://epd-test.mncar.org/data_feed/up_download_suite_contiguous [R=301,L]
RewriteRule ^search/up_download_suite_notext.cfm http://epd-test.mncar.org/data_feed/up_download_suite_notext [R=301,L]
RewriteRule ^search/up_extract_mockup.cfm http://epd-test.mncar.org/data_feed/up_extract_mockup [R=301,L]
RewriteRule ^search/welsh_download.cfm http://epd-test.mncar.org/data_feed/welsh_download [R=301,L]
RewriteRule ^search/welsh_lease.cfm http://epd-test.mncar.org/data_feed/welsh_lease [R=301,L]
RewriteRule ^search/welsh_property.cfm http://epd-test.mncar.org/data_feed/welsh_property [R=301,L]
RewriteRule ^search/welsh_sale.cfm http://epd-test.mncar.org/data_feed/welsh_sale [R=301,L]
RewriteRule ^search/welsh_suites.cfm http://epd-test.mncar.org/data_feed/welsh_suites [R=301,L]
####### Redirects for MEMBER PROFILES ###########
RewriteCond %{QUERY_STRING} ^agent_id\=([0-9]+)$ [NC]
RewriteRule ^broker_profile.cfm http://epd-test.mncar.org/member-profile?id=%1 [R=301,L]
####### Redirects for MENU ###########
#Home
RewriteCond %{QUERY_STRING} menu\=1 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/? [R=301,L]
#MNCAR Association
RewriteCond %{QUERY_STRING} menu\=2 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association? [R=301,L]
#Exchange Commercial Property Database
RewriteCond %{QUERY_STRING} menu\=3 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange? [R=301,L]
#Resources
RewriteCond %{QUERY_STRING} menu\=4 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource? [R=301,L]
#Membership
RewriteCond %{QUERY_STRING} menu\=5 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/membership? [R=301,L]
#Contact Us
RewriteCond %{QUERY_STRING} menu\=7 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/contact? [R=301,L]
#Sponsors
RewriteCond %{QUERY_STRING} menu\=8 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/sponsors? [R=301,L]
#Member Roster
RewriteCond %{QUERY_STRING} menu\=38 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association/member-roster? [R=301,L]
#Membership
RewriteCond %{QUERY_STRING} menu\=10 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/membership? [R=301,L]
#Leadership
RewriteCond %{QUERY_STRING} menu\=11 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association/leadership? [R=301,L]
#MNCAR Association Bylaws
RewriteCond %{QUERY_STRING} menu\=40 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association/bylaws? [R=301,L]
#Focus E-Newsletter
RewriteCond %{QUERY_STRING} menu\=14 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/account/focus-monthly-e-newsletter-settings.html? [R=301,L]
#Calendar of Events
RewriteCond %{QUERY_STRING} menu\=15\&calendar\=1 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/event/calendar? [R=301,L]
#Membership
RewriteCond %{QUERY_STRING} menu\=18 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/membership? [R=301,L]
#Leadership
RewriteCond %{QUERY_STRING} menu\=19 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/exchange.html? [R=301,L]
#Listing Input Forms
RewriteCond %{QUERY_STRING} menu\=20 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/listing-input-forms-for-non-members.html? [R=301,L]
#Exchange Rules and Regulations
RewriteCond %{QUERY_STRING} menu\=21 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/rules-and-regulations.html? [R=301,L]
#How To Guides
RewriteCond %{QUERY_STRING} menu\=22 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/training-materials/how-to-guide.html? [R=301,L]
#E-Tips
RewriteCond %{QUERY_STRING} menu\=23 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/training-materials/exchange-e-tips.html? [R=301,L]
#Exchange Technical Requirements
RewriteCond %{QUERY_STRING} menu\=24 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/training-materials/technical-requirements.html? [R=301,L]
#Real Estate Associations
RewriteCond %{QUERY_STRING} menu\=26 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/real-estate-associations.html? [R=301,L]
#County Web Sites
RewriteCond %{QUERY_STRING} menu\=27 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/govt-info-overview/county-web-sites.html? [R=301,L]
#City Information and Zoning
RewriteCond %{QUERY_STRING} menu\=28 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/govt-info-overview/city-information-and-zoning.html? [R=301,L]
#Exchange Training Schedule
RewriteCond %{QUERY_STRING} menu\=42 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/schedule? [R=301,L]
#MNCAR Association
RewriteCond %{QUERY_STRING} menu\=34 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association? [R=301,L]
#Commonly Asked Membership Questions
RewriteCond %{QUERY_STRING} menu\=44 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/membership/faqs.html? [R=301,L]
#MNCAR Market Report
RewriteCond %{QUERY_STRING} menu\=47 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/annual-market-reports.html? [R=301,L]
#Saint Cloud Market Map
RewriteCond %{QUERY_STRING} menu\=64 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/maps/stcloud.html? [R=301,L]
#Mapping Tools
RewriteCond %{QUERY_STRING} menu\=68 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/mapping-tools.html? [R=301,L]
#Industry Terms
RewriteCond %{QUERY_STRING} menu\=69 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/industry-terms.html? [R=301,L]
#County Property Tax Information
RewriteCond %{QUERY_STRING} menu\=37 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/govt-info-overview/county-property-tax-information.html? [R=301,L]
#Affiliate Member Roster
RewriteCond %{QUERY_STRING} menu\=39 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/association/member-roster/affiliate-members.html? [R=301,L]
#Exchange Bylaws
RewriteCond %{QUERY_STRING} menu\=41 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/exchange/exchange_bylaws.html? [R=301,L]
#Media Kit
RewriteCond %{QUERY_STRING} menu\=70 [NC]
RewriteRule ^index.cfm http://epd-test.mncar.org/resource/media? [R=301,L]
RewriteRule ^email_message.cfm http://epd-test.mncar.org/send [R=301,L]
# http://epd-test.mncar.org/email_message.cfm.
## Redirect All to Home Page
RewriteRule ^index.cfm http://epd-test.mncar.org/? [R=301,L]
### not found in new site
# Education meeting_registration.cfm?menu=6
# Recommended Business Practices index.cfm?menu=16
# Procuring Cause And Arbitration index.cfm?menu=17
# MNAR/NAR index.cfm?menu=25
# Commercial Forms index.cfm?menu=85
# Sponsorship index.cfm?menu=43
# Exchange Commercial Property Database index.cfm?menu=35
# New Member Orientation index.cfm?menu=49
# Brokerage Basics index.cfm?menu=51
# Next Meeting meeting_registration.cfm?menu=6
# 2007 Award Winners index.cfm?menu=60
# 2008 Dates index.cfm?menu=87
# Privacy Policy index.cfm?menu=88
# Wufoo Form index.cfm?menu=89
# Write for MNCAR index.cfm?menu=91
# Past Program Recaps index.cfm?menu=48
# Exchange Training index.cfm?menu=50
# Ethics Training Requirement index.cfm?menu=61
# Media Resources index.cfm?menu=74
# Handouts index.cfm?menu=86
####### END Redirects for MENU ###########
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?_path=$1 [QSA]
DirectoryIndex index.php
Options FollowSymLinks