RewriteEngine on

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$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/www\.vancouvercosmeticdental\.com" [R=301,L]

RewriteCond %{SERVER_PORT} 80 
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://www.vancouvercosmeticdental.com/$1 [R=301,L]

# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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

<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>

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

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

Redirect permanent /summer/ https://www.vancouvercosmeticdental.com/expired-promotion/
Redirect permanent /smile/ https://www.vancouvercosmeticdental.com/expired-promotion/
Redirect permanent /share/ https://www.vancouvercosmeticdental.com/expired-promotion/

# BEGIN WP Performance Score Booster Settings
# The directives (lines) between `BEGIN WP Performance Score Booster Settings` and `END WP Performance Score Booster Settings` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
# END WP Performance Score Booster Settings