How to Redirect using Htaccess – Common Rules for 301, 302, HTTPS

Posted by cloudbooklet on Sep 2, 2021 10:04 AM
By Cloudbooklet
Mail this story
Web version

How to configure redirection using .htaccess file. Htaccess is file which is used to make changes to your web server configuration without editing the server configuration file. This .htaccess file will be placed in your website root directory.

In this guide you are going to learn to how to configure some list of redirections which is mostly needed for your SEO and ranking in search engines. Redirect HTTP to HTTPS with www. Redirect HTTP to HTTPS without www. Redirect one page to another page. Redirect old domain to new domain. Redirect old domain to new domain while preserving the path. Redirect files location to new domain with same path. Redirect except certain path. Redirect subdomain to subfolder.

Full Story

Printed at http://lxer.com/module/newswire/view/304791/index.html