AddHandler application/x-httpd-php5 .php Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # captcha's referrer check RewriteCond %{HTTP_REFERER} ^$ RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.* RewriteRule images/captcha/.*\.png - [NC,F] RewriteRule ^disposal$ https://www.blpole.com/products/disposal [R=301,L] RewriteRule ^(.*)sitemap\/index.html$ https://www.blpole.com/site-map.html [R=301,L] RewriteRule ^(.*)contact\/index.html$ https://www.blpole.com/contact [R=301,L] RewriteRule ^(.*)privacy\/index.html$ https://www.blpole.com/ [R=301,L] RewriteRule ^(.*)about\/index.html$ https://www.blpole.com/our-company/the-bell-family [R=301,L] RewriteRule ^(.*)index.html$ https://www.blpole.com/ [R=301,L] RewriteRule ^(.*)about\/history.html$ https://www.blpole.com/our-company/bell-history [R=301,L] RewriteRule ^(.*)about\/affiliations.html$ https://www.blpole.com/our-company/associations-and-affiliations [R=301,L] RewriteRule ^(.*)about\/operations.html$ https://www.blpole.com/our-company/territory-map [R=301,L] RewriteRule ^(.*)products_services\/index.html$ https://www.blpole.com/products [R=301,L] RewriteRule ^(.*)woodlands\/index.html$ https://www.blpole.com/ [R=301,L] RewriteRule ^(.*)woodlands\/production_services.html$ https://www.blpole.com/ [R=301,L] RewriteRule ^(.*)woodlands\/private_landowner_assistance.html$ https://www.blpole.com/ [R=301,L] RewriteRule ^(.*)products_services\/western_red_cedar_poles.html$ https://www.blpole.com/products/3 [R=301,L] RewriteRule ^(.*)products_services\/douglas_fir_poles.html$ https://www.blpole.com/products/5 [R=301,L] RewriteRule ^(.*)products_services\/red_pine_poles.html$ https://www.blpole.com/products/1 [R=301,L] RewriteRule ^(.*)products_services\/southern_yellow_pine_poles.html$ https://www.blpole.com/products/4 [R=301,L] RewriteRule ^(.*)products_services\/western_red_cedar_poles_dimensions.html https://www.blpole.com/products/3/dimension [R=301,L] RewriteRule ^(.*)products_services\/douglas_fir_poles_dimensions.html https://www.blpole.com/products/5/dimension [R=301,L] RewriteRule ^(.*)products_services\/red_pine_poles_dimensions.html https://www.blpole.com/products/1/dimension [R=301,L] RewriteRule ^(.*)products_services\/southern_yellow_pine_poles_dimensions.html https://www.blpole.com/products/4/dimension [R=301,L] RewriteRule ^(.*)products_services\/log_home_components.html$ https://www.blpole.com/products/8 [R=301,L] RewriteRule ^(.*)products_services\/fence_posts.html$ https://www.blpole.com/products/6 [R=301,L] RewriteRule ^(.*)products_services\/(.*).html$ https://www.blpole.com/products? [R=301,L] RewriteRule ^js\/fckeditor\/fckconfig\.js$ js/fckconfig.js [L] RewriteRule ^js\/fckeditor\/fckconfig-flash\.js$ js/fckconfig-flash.js [L] RewriteRule ^js\/fckeditor\/fckstyles\.xml$ js/fckstyles.xml [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)\.merge\.(css|js)$ _lib/merge.php?file=$1.merge.$2 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [QSA] DirectoryIndex index.php