RewriteOptions inherit
 
RewriteEngine on
 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html
 
# Remove trailing slash from URLs
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [L,R=301]
 
# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
 
RewriteCond %{HTTP_HOST} ^sjgknight\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.sjgknight\.com$
RewriteRule ^finding\-knowledge\/wp\-content\/uploads\/\(\.\*\)\$\/?(.*)$ "http\:\/\/sjgknight\.com\/assets\/uploads\/\$1$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^finding\-knowledge\/cv\/$ "https\:\/\/sjgknight\.com\/about\/cv" [R=301,L]
RewriteCond %{HTTP_HOST} ^sjgknight\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.sjgknight\.com$
RewriteRule ^finding\-knowledge\/feed\/$ "http\:\/\/sjgknight\.com\/finding\-knowledge\.xml" [R=301,L]
RewriteCond %{HTTP_HOST} ^sjgknight\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.sjgknight\.com$
 
RewriteRule ^finding-knowledge/(\d{4})/(\d{2})/?(.*)$ https://sjgknight.com/finding-knowledge/$1-$2-$3 [NC,R=301,L]
 
<IfModule mod_speling.c>
    CheckCaseOnly On
    CheckSpelling On
</IfModule>