redirect using .htaccess

1) Temporary Redirect :

Redirect temp / http://www.test.com

This will redirect http://test.com — to — http://www.test.com

Redirect temp /folder http://www.test.com/folder

This will redirect http://test.com/folder — to — http://www.test.com/folder

2) Permanant Redirect :

Redirect permanent / http://www.test.com

This will redirect http://test.com — to — http://www.test.com

Redirect permanent /folder http://www.test.com/folder

This will redirect http://test.com/folder — to — http://www.test.com/folder

  • Email, SSL
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Related Articles

Manage Query Cache

You can check whether the query cache is present in your MySQL server using the following...

How is Linux Licensed?

Linus has placed the Linux kernel under the GNU General Public License, which basically means...

Change the DNS servers for the network interfaces on my Windows server

In Network Connections, right-click the local area connection, and then click Properties. In...

Install Microsoft SQL Server

The installation of Microsoft SQL Server, like that of various modern products is fairly easy,...

Manage Database Roles

Solution Database roles are conceptually completely separate from operating system users....