Viewing 1 replies (of 1 total)
  • Hi,

    Create a .htacess and paste the following code:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yourdomain\.com$
    RewriteRule (.*) https://www.yourdomain.com/$1 [R=301,L]
    RewriteRule ^$ home [L]

    Or if you are hosting on a cPanel environment, login and search for redirects and work your magic there. You should have a ‘home’ folder created though for the redirect/s to work.

    Understanding .htacess files: link

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect .com to .com/home/’ is closed to new replies.