Removed .htaccess. Fixed current url detection.