ONLY EDIT THIS IF YOU KNOW WHAT YOU ARE DOING
INCORRECT ENTRIES WILL BREAK YOUR SITE
.htaccess:
#php_value upload_max_filesize 40M #php_value post_max_size 40M RewriteEngine On RewriteRule ^reading/([0-9]+)/category/.* /reading/category.html?id=$1 [L,NS] RewriteRule ^reading/([0-9]+)/.* /reading/read.html?id=$1 [L,NS] RewriteRule ^articles/([0-9]+)/category/.* /reading/category.html?id=$1 [L,NS] RewriteRule ^articles/([0-9]+)/.* /reading/read.html?id=$1 [L,NS] RewriteRule ^news/([0-9]+)/.* /news/article.html?id=$1 [L,NS] RewriteRule ^blog/([0-9]+)/category/.* /blog/category.html?id=$1 [L,NS] RewriteRule ^blog/([0-9]+)/.* /blog/read.html?id=$1 [L,NS] RewriteRule ^services/([0-9]+)/category/.* /services/category.html?id=$1 [L,NS] RewriteRule ^services/([0-9]+)/.* /services/read.html?id=$1 [L,NS] RewriteRule ^what-we-do/([0-9]+)/category/.* /what-we-do/category.html?id=$1 [L,NS] RewriteRule ^what-we-do/([0-9]+)/.* /what-we-do/read.html?id=$1 [L,NS] RewriteRule ^gallery/([0-9]+)/.* /gallery/category.html?id=$1 [L,NS] RewriteRule ^landingpage/([0-9]+)/.* /landingpage/index.html?id=$1 [L,NS] RewriteRule ^casestudies/([0-9]+)/.* /casestudies/read.html?id=$1 [L,NS] ## EXPIRES CACHING ##
ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days"
## EXPIRES CACHING ##
Header set Cache-Control "public"