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 Bu mövzunu faydalı görən istifadəçilər:
Bu mövzu kifayət qədər köməkçi oldu?

Related Articles

Copy MySQL database to another server through shell?

Copying MySQL Databases to another server If you are using MySQL 3.23 or later, you can copy the...

Install and configure DNS server in Windows Server 2003

Solution Install DNS 1. Open Windows Components Wizard. To do so, use the following...

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...

Manage Query Cache

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

MySQL will not start, “MySQL File ‘/usr/share/mysql/charsets/?.conf’ not found” in error log.

The most common cause for this error, is a failed downgrade of MySQL from 4.1 to 4.0.  Many...