# Merriman IT — 301 redirects, old WordPress site -> new static site
# This replaces the site's entire .htaccess file. WordPress is being
# retired in favor of the static site in merriman-site.zip, so the old
# WordPress rewrite rules that used to live in this file are no longer
# needed — this file is the complete replacement, not a snippet to merge in.
#
# Before deploying: if the hosting company or a security plugin added any
# non-WordPress rules to the old .htaccess (forcing HTTPS, blocking bad
# requests, etc.), fold those specific lines in here too before uploading.

RewriteEngine On

RewriteRule ^home-2/?$ / [R=301,L]
RewriteRule ^rates/?$ /services/ [R=301,L]
RewriteRule ^about-us/?$ /about/ [R=301,L]
RewriteRule ^contact-us/?$ /contact/ [R=301,L]
RewriteRule ^webdesign-and-marketing/?$ /services/web-design/ [R=301,L]
RewriteRule ^repairs-gallery/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/web-maintenance/?$ /services/web-design/ [R=301,L]
RewriteRule ^services/online-marketing/?$ /services/web-design/ [R=301,L]
RewriteRule ^services/nas-setup/?$ /services/data-recovery/ [R=301,L]
RewriteRule ^services/general-tech-support/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/custom-pcs-hardware-upgrades/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/remote-desktop-support/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/old-pc-to-new-pc-migration-os-upgrades-and-switches/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/physical-repair-parts-replacement/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/virus-spyware-removal-pc-speed-optimization/?$ /services/computer-repair/ [R=301,L]
RewriteRule ^services/network-configuration-troubleshooting/?$ /services/networking/ [R=301,L]
RewriteRule ^services/printer-networked-printer-configuration-troubleshooting/?$ /services/networking/ [R=301,L]

# /services/web-design/ and /services/data-recovery/ keep the same slug on the
# new site, so no redirect is needed for those two.
