htaccess
or html refresh
.htaccess
Redirect 301 / https://example.com/
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteRule (.*)$ https://www.dreamhostexample.com/$1 [R=301,L]
## Redirect to a local site file
## Redirect /path/to/old/file/old.html /path/to/new/file/new.html
## Redirect to an external site file
## Redirect /path/to/old/file/old.html https://www.example.com/new/file/new.html
Redirecting a Single URL
ErrorDocument 404 https://example.com/
Redirecting a Single Folder
RedirectMatch 301 /oldpage/ /newpage/
RewriteRule ^/?folder/(.\*)$ /location/$1 [R,L]