Added htaccess rewrite code.