Page 1 of 1

use .htaccess to create an alias?

Posted: Mon Aug 22, 2005 11:28 pm
by intellivision
I have shell access to my shared server space.

domain.com/stuff/ <-- real, actual directory
domain.com/documents/ <-- what I need to create as an alias

How can I get the URL domain.com/documents/ go to domain.com/stuff/ ?

Re: use .htaccess to create an alias?

Posted: Thu Sep 01, 2005 8:48 am
by JAM
intellivision wrote:I have shell access to my shared server space.

domain.com/stuff/ <-- real, actual directory
domain.com/documents/ <-- what I need to create as an alias

How can I get the URL domain.com/documents/ go to domain.com/stuff/ ?
Try;

Code: Select all

Redirect /documents/index.php http://domain.com/stuff/index.php