Redirects send visitors and Google to the right address. They are added to the .htaccess file inside public_html. Edit it with the File Manager and keep a copy of the original first.
Send everyone to https://www.
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.yourdomain.com%{REQUEST_URI} [L,R=301]Send everyone to https:// without www
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://yourdomain.com%{REQUEST_URI} [L,R=301]Redirect one old page
Redirect 301 /old-page.html https://yourdomain.com/new-page/
Replace yourdomain.com with your own domain. If the site shows an error after saving, restore your copy of the file.
Need help?
Open a support ticket from your FariHost Client Area or message us on WhatsApp and our team will help you.