# .htaccess mod_rewrite and access control

RewriteEngine On    #Turn on the rewriting engine

RewriteCond %{REQUEST_FILENAME} !-d


RewriteRule ^home$ index.php [NC,L]
RewriteRule ^about$ about.php [NC,L]
RewriteRule ^credit-cards$ credit-cards.php [NC,L]
RewriteRule ^current-accounts$ current-accounts.php [NC,L]
RewriteRule ^savings-accounts$ savings-accounts.php [NC,L]
RewriteRule ^personal-loans$ personal-loans.php [NC,L]
RewriteRule ^mortgages$ mortgages.php [NC,L]
RewriteRule ^personal-insurance$ personal-insurance.php [NC,L]
RewriteRule ^bank-cards$ bank-cards.php [NC,L]
RewriteRule ^deposit$ deposit.php [NC,L]
RewriteRule ^foreign-drafts$ foreign-drafts.php [NC,L]
RewriteRule ^interest-checking$ interest-checking.php [NC,L]
RewriteRule ^electronic-banking$ electronic-banking.php [NC,L]
RewriteRule ^investment$ investment.php [NC,L]
RewriteRule ^money-market$ money-market.php [NC,L]
RewriteRule ^small-business$ small-business.php [NC,L]
RewriteRule ^banking-services$ banking-services.php [NC,L]
RewriteRule ^insurance$ insurance.php [NC,L]
RewriteRule ^offshore-and-migrant$ offshore-and-migrant.php [NC,L]
RewriteRule ^career$ career.php [NC,L]
RewriteRule ^faqs$ faqs.php [NC,L]
RewriteRule ^contact$ contact.php [NC,L]
