File: /var/www/vhosts/creativefellows.nl/test.creativefellows.nl/vanlierop/.htaccess
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript
RewriteEngine on
Header unset Pragma
FileETag None
Header unset ETag
<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf|pdf|flv|mp3)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 14 days"
Header set Cache-Control "public"
</IfModule>
</FilesMatch>
<FilesMatch "\.(html|htm|xml|txt|xsl)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>
RewriteBase /vanlierop/
#RewriteCond %{HTTP_HOST} ^vanlierop.nl [NC]
#RewriteRule ^(.*)$ https://www.vanlierop.nl/$1 [L,R=301]
#RewriteCond %{SERVER_PORT} 80
#RewriteRule ^(.*)$ https://www.vanlierop.nl/$1 [R,L]
RewriteRule ^Van-Lierop/FAQ$ /faq [R=301,NC,L]
RewriteRule ^submissions/inspectie$ pages/handlers/handle.inspectieaanvraag.php?%{QUERY_STRING} [L]
RewriteRule ^handle-form$ pages/handlers/handle.form_default.php?%{QUERY_STRING} [L]
RewriteRule ^uploadfiles$ pages/handlers/handle.uploadfiles.php?%{QUERY_STRING} [L]
RewriteRule ^accept-cookies$ pages/handlers/cookies_accept.php [L]
RewriteRule ^postcode$ pages/handlers/get-postcode.php [L]
RewriteRule ^van-lierop/vacatures-van-lierop$ /van-lierop/Vacatures [R=301,NC,L]
#permalink
RewriteRule ^([0-9]+)-([^\.]+)$ index.php?section=&permalink=1&name=$2&uid=$1&meta_title=$2&%{QUERY_STRING} [NC,L]
RewriteRule ^([^\.]+)/([^\.]+)/([^\.]+)$ index.php?section=$1&category=$2&name=$3&meta_title=$3&%{QUERY_STRING} [NC,L]
RewriteRule ^([^\.]+)/([^\.]+)$ index.php?section=$1&name=$2&meta_title=$2&%{QUERY_STRING} [NC,L]
RewriteRule ^([^\.]+)$ index.php?section=$1&meta_title=$1&%{QUERY_STRING} [NC,L]
#image creation
RewriteRule ^image.php?(.*)$ pages/handlers/handle.create_thumb.php?%{QUERY_STRING} [L]