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

Posted by cloudbooklet on Sep 2, 2021 12:04 PM EDT
Cloudbooklet; By Pappin Vijak
Mail this story
Print this story

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 http://www. Redirect HTTP to HTTPS without http://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

  Nav
» Read more about: Story Type: Tutorial; Groups: Apache

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.