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 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Related Articles

Installation of Geotrust True Site Icon

Installation of True Site icon: Per the subscriber agreement, you are required to install the...

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

Create a backup file of a SQL Server database?

Open Enterprise Manager and expand the registered SQL Server Expand Databases Right-click on...

Backing up and restoring a MySQL database from the command line

. Shell into your box as root, then: mysqldump -a -u USERNAME -p DATABASE > FILENAME.mysql...

How does memory overcommit affect PostgreSQL?

In Linux 2.4 and later, the default virtual memory behavior is not optimal for PostgreSQL....