File: //home/gurkhajustice.org.uk/public_html/.htaccess_file_editor
# invoke rewrite engine
RewriteEngine On
RewriteBase /scraping/files/live/gurkhajustice.org.uk_bensykes_bensykes.co.uk_3o6jvgvvjn/
Options -Indexes
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
# Specific redirections
RewriteRule ^index\.html$ /scraping/files/live/gurkhajustice.org.uk_bensykes_bensykes.co.uk_3o6jvgvvjn/ [L,R=301]
RewriteCond %{QUERY_STRING} ^method=indexlookup&language=welsh&field=siteSearch_searchText&maxrows=15&$
RewriteRule ^SuggestiveSearch\.do$ /scraping/files/live/gurkhajustice.org.uk_bensykes_bensykes.co.uk_3o6jvgvvjn/SuggestiveSearch_method-indexlookup-language-welsh-field-siteSearch_searchText-maxrows-15-.html [L,R=301,QSD]
# Redirect all extensions to html
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.shtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.phtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jhtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.htm$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.php$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.aspx$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.asp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jsp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.apk$ $1.html [L,NC,R=301]
# End: Redirect all extensions to html