Fix direct linking check in .htaccess