Added clause which helps when mod-rewrite isn't available