Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
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.
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help