RewriteEngine On RewriteCond %{HTTP_HOST} ^kelulusan.smpn5tanjungselor/\.sch.id [NC] RewriteRule ^(.*)$ https://kelulusan.smpn5tanjungselor.sch.id/gelo/$1 [L,R=301]