File size: 701B
RewriteEngine On # Turn on the rewriting engine
# not rewrite css, js and images
RewriteCond %{REQUEST_URI} !\.(?:css|js|jpg|gif|png)$ [NC]
RewriteRule ^category/(.*)$/?$ category.php?slug=$1 [NC,L]
RewriteRule ^page/(.*)$/?$ page.php?slug=$1 [NC,L]
RewriteRule ^news/(.*)$/?$ news.php?slug=$1 [NC,L]
RewriteRule ^service/(.*)$/?$ service.php?slug=$1 [NC,L]
RewriteRule ^team-member/(.*)$/?$ team-member.php?slug=$1 [NC,L]
RewriteRule ^search search.php [NC,L]
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>