RewriteEngine On #RewriteRule ^([^.]+)$ $1.php?%{QUERY_STRING} RewriteRule ZCDNURL/ZREPLACETHISWITHVERSION/(.*) $1 [L] RewriteRule ZCDNURL/(.*) $1 [L] RewriteRule ZREPLACETHISWITHVERSION/(.*) $1 [L] RewriteRule publink2016/show php/dl-show.php [L] RewriteRule publink/show php/dl-show.php [L] RewriteRule oauth2/authorize php/authorize.php [L] RewriteRule appleloginmobile php/appleloginmobile.php [L] RewriteRule applelogin php/applelogin.php [L] RewriteRule tests/applelogin tests/applelogin.html [L]