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 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

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...

Finding what packages are installed on a Linux system

For distributions that use RPM format packages, use the command: $ rpm -qa You may want to...

Change the root password for a *nix server

In order to change the root password login to the server as root and type the following, then...

Manage Tablespaces

Tablespaces in PostgreSQL allow database administrators to define locations in the file system...

Export the data from different tables in our shared SQL environment?

Using Enterprise Manager Expand SQL Server group Expand the server name Expand Databases...