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 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

Related Articles

Fix nameservers not working for Linux servers

If you have your own namerservers or you are using nameservers provided by host, and these...

Create PostgreSQL user account

It is advisable to run PostgreSQL under a separate user account. This user account should only...

Reset the SQL Server ‘sa’ user password?

Open Enterprise Manager and expand the registered SQL server. Expand Security. Click on...

Manage Tablespaces

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

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