RewriteEngine on
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteCond %{HTTP_HOST} ^georgiadentalgroup\.ca$ [OR]
RewriteCond %{HTTP_HOST} ^www\.georgiadentalgroup\.ca$ [OR]
RewriteCond %{HTTP_HOST} ^georgiadental\.ca$ [OR]
RewriteCond %{HTTP_HOST} ^vancouvercosmeticdental\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.georgiadental\.ca$
RewriteRule ^/?$ "http\:\/\/www\.vancouvercosmeticdental\.com" [R=301,L]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# BEGIN Ahead of the Web Security
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-login.php$
RewriteCond %{HTTP_COOKIE} !^.*IamCool.*$ [NC]
RewriteRule . /forbidden.php [NC,L]
<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>
# END Ahead of the Web Security

Redirect permanent /georgiadentalgroup/ http://www.vancouvercosmeticdental.com/
Redirect permanent /georgiadentalgroup/news/ http://www.vancouvercosmeticdental.com/news-education/
Redirect permanent /book-a-dentist-now.php http://www.vancouvercosmeticdental.com/contact-us/book-appointment-online/
Redirect permanent /our-office.php http://www.vancouvercosmeticdental.com/our-dental-office/
Redirect permanent /services.php http://www.vancouvercosmeticdental.com/our-services/
Redirect permanent /smile-gallery.php http://www.vancouvercosmeticdental.com/smile-gallery/
Redirect permanent /testimonials.php http://www.vancouvercosmeticdental.com/testimonials/
Redirect permanent /news/ http://www.vancouvercosmeticdental.com/news-education/
Redirect permanent /contact-us.php http://www.vancouvercosmeticdental.com/contact-us/
Redirect permanent /Meet-Dentist.html http://www.vancouvercosmeticdental.com/our-dental-office/meet-dr-baird/
Redirect permanent /meet-dr-baird.php http://www.vancouvercosmeticdental.com/our-dental-office/meet-dr-baird/
Redirect permanent /meet-dr-scammell.php http://www.vancouvercosmeticdental.com/our-dental-office/meet-dr-scammell/
Redirect permanent /general-dentistry.php http://www.vancouvercosmeticdental.com/our-services/general-dentistry/
Redirect permanent /cosmetic-dentistry.php http://www.vancouvercosmeticdental.com/our-services/cosmetic-dentistry/
Redirect permanent /invisalign.php http://www.vancouvercosmeticdental.com/our-services/invisalign-orthodontics/
Redirect permanent /botox-treatments.php http://www.vancouvercosmeticdental.com/our-services/botox-treatments/
Redirect permanent /book-an-appointment.php http://www.vancouvercosmeticdental.com/contact-us/request-an-appointment/
Redirect permanent /appointment-popup.htm http://www.vancouvercosmeticdental.com/contact-us/request-an-appointment/
Redirect permanent /our-location.php http://www.vancouvercosmeticdental.com/our-dental-office/our-location/
Redirect permanent /our-team.php http://www.vancouvercosmeticdental.com/our-dental-office/our-team/
Redirect permanent /office-forms.php http://www.vancouvercosmeticdental.com/our-dental-office/office-forms/
Redirect permanent /financial-policy.php http://www.vancouvercosmeticdental.com/our-dental-office/financial-policy/
Redirect permanent /privacy-policy.php http://www.vancouvercosmeticdental.com/our-dental-office/privacy-policy/
Redirect permanent /dental-implants.php http://www.vancouvercosmeticdental.com/our-services/implant-dentistry/
Redirect permanent /Testimonials.html http://www.vancouvercosmeticdental.com/testimonials/
Redirect permanent /Brochure-1.htm http://www.vancouvercosmeticdental.com/our-dental-office/
Redirect permanent /Dental-Info-Implants.html http://www.vancouvercosmeticdental.com/our-services/implant-dentistry/
Redirect permanent /CEREC.html http://www.vancouvercosmeticdental.com/our-services/general-dentistry/#cerec
Redirect permanent /documents/new-patient-information.pdf http://www.vancouvercosmeticdental.com/wp-content/uploads/2013/11/new-patient-information.pdf
Redirect permanent /documents/photo-release-form.pdf http://www.vancouvercosmeticdental.com/wp-content/uploads/2013/11/photo-release-form.pdf
Redirect permanent /documents/patient-privacy-consent-form.pdf http://www.vancouvercosmeticdental.com/wp-content/uploads/2013/11/patient-privacy-consent-form.pdf

Redirect permanent /implants http://promo.georgiadental.ca/lp/dental-implants/
Redirect permanent /invisalign http://promo.georgiadental.ca/lp/invisalign/
