# invoke rewrite engine
RewriteEngine On
RewriteBase /

Options -Indexes
<IfModule mod_negotiation.c>
	Options -MultiViews
</IfModule>

# Create pretty URLs
DirectorySlash Off

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]
# End: Create pretty URLs

# Specific redirections
RewriteRule ^index\.html$ / [L,R=301]
RewriteCond %{QUERY_STRING} ^ac=2&slt=8&slr=1&lpt=1$
RewriteRule ^$ ac-2-slt-8-slr-1-lpt-1.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^title=Saving\+Bikini\+Bottom\%3A\+The\+Sandy\+Cheeks\+Movie$
RewriteRule ^load/movie/831815$ load/movie/831815_title-Saving-Bikini-Bottom--The-Sandy-Cheeks-Movie.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^service=Putlocker$
RewriteRule ^register$ register_service-Putlocker.html [L,R=301,QSD]
RewriteRule ^2012/12/watch-jack-reacher-putlocker-online-free\.html&quot;$ 2012/12/watch-jack-reacher-putlocker-online-free.html-.html [L,R=301,QSD]
RewriteRule ^2013/04/watch-scary-movie-5-putlocker-online\.html&quot;$ 2013/04/watch-scary-movie-5-putlocker-online.html-.html [L,R=301,QSD]
RewriteRule ^2013/06/watch-world-war-z-putlocker-online-free\.html&quot;$ 2013/06/watch-world-war-z-putlocker-online-free.html-.html [L,R=301,QSD]
RewriteRule ^search/label/United\sArab\sEmirates$ search/label/UnitedArabEmirates.html [L,R=301,QSD]
RewriteRule ^search&amp;blogLocale\=en&amp;homepageUrl\=http\://www\.putlockermov\.com/&amp;targetPostID\=4148257746872013459&amp;vt\=2485420986376461779$ -targetPostID-4148257746872013459-vt-2485420986376461779_ext_iframe.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
