## Base Redirects ## RewriteEngine On # Redirect khusus: attraction.php → domain lain RewriteCond %{THE_REQUEST} \s/attraction\.php [NC] RewriteRule ^attraction\.php$ https://www.doverstreetgrill.com/grillpoints [R=301,L] # Remove trailing slash from non-filepath urls RewriteCond %{REQUEST_URI} /(.+)/$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ https://www.hotelkinggarden.com/%1 [R=301,L] # Include trailing slash on directory RewriteCond %{REQUEST_URI} !(.+)/$ RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+)$ https://www.hotelkinggarden.com/$1/ [R=301,L] # Force HTTPS and WWW RewriteCond %{HTTP_HOST} !^www\.(.*)$ [OR,NC] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://www.hotelkinggarden.com/$1 [R=301,L] # php -- BEGIN cPanel-generated handler, do not edit AddHandler application/x-httpd-ea-php74 .php .php7 .phtml # php -- END cPanel-generated handler, do not edit