Fix htaccess and links