View Single Post

  #2 (permalink)  
Old 04-07-2008
Andreas Prilop
 
Posts: n/a
Default Re: Need Redirection Trick in .htaccesss

On Sun, 6 Apr 2008, Roberto wrote:

> I need to know how to redirect users when they go to certain URLs that
> no longer exist, using a setting in my Apache .htaccess file.


http://httpd.apache.org/docs/1.3/mod/mod_alias.html
http://httpd.apache.org/docs/2.0/mod/mod_alias.html

> For instance, if I used to have a url like http://site.com/abc/directory.php,


You do not mean http://site.com/ , do you?
Please use http://www.example.com/ for examples!

> and /abc/directory.php no longer exists on the server,


Redirect /abc/directory.php http://www.example.com/