# AddDefaultCharset Off
DirectoryIndex index.shtml index.php

RewriteEngine On


# http -> https
RewriteCond %{HTTPS} !on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# non-www -> www
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# ----- END CODE -----

# RewriteCond %{REQUEST_URI} "/blog/"
#  RewriteRule (.*) $1 [L]

# Redirect 301 /shop/Cordless_Phone_Batteries.html http://www.watchbattery.co.uk/shop/Cordless_Phone_Batteries.shtml
# Redirect 301 /shop/products/WA-T49664.shtml http://www.watchbattery.co.uk/shop/products/WA-T49.shtml
# Redirect 301 /shop/Watch_Tools_Accessories.html  http://www.watchbattery.co.uk/shop/Watch_Tools_Accessories.shtml
# Redirect 301 /shop/Leather_Watch_Straps.shtml  http://www.watchbattery.co.uk/shop/Leather-Watch-Straps.shtml
# Redirect 301 /contact.htm  http://www.watchbattery.co.uk/shop/contactus.shtml
# Redirect 301 /shop/shop.html http://www.watchbattery.co.uk/index.shtml
# Redirect 301 /shop/Digital_Camera_Batteries.html http://www.watchbattery.co.uk/shop/Digital_Camera_Batteries.shtml
# Redirect 301 /shop/Digital_Camera_Brands.shtml http://www.watchbattery.co.uk/shop/Digital_Camera_Battery_Brands.shtml
# Redirect 301 /photobatteries.htm http://www.watchbattery.co.uk/shop/Camera_Batteries.shtml
# Redirect 301 /shop/Watch_Battery_Cross_Reference_Table.php http://www.watchbattery.co.uk/Watch_Battery_Cross_Reference_Table.php
# Redirect 301 /watchbatterytable.shtml http://www.watchbattery.co.uk/Watch_Battery_Cross_Reference_Table.php
# Redirect 301 /Replace_Watch_Battery.shtml http://www.watchbattery.co.uk/Replace-Watch-Battery.shtml





#  ExpiresActive On
#  ExpiresDefault "access plus 1 hours"
#  ExpiresByType text/html "access plus 1 hours"
#  ExpiresByType image/gif "access plus 1 hours"
#  ExpiresByType image/jpeg "access plus 1 hours"
#  ExpiresByType image/png "access plus 1 hours"
#  ExpiresByType text/css "access plus 2 weeks"
#  ExpiresByType text/javascript "access plus 4 weeks"
#  ExpiresByType application/x-javascript "access plus 4 weeks"
#  ExpiresByType text/xml "access plus 2 weeks"
