You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Almberg <ja...@identry.com> on 2003/02/28 18:17:40 UTC

[users@httpd] redirect using .htaccess file

I have an odd problem . . .

A customer wanted to use a splash page as the entry into his site 
(www.domain.com/index.html). The first 'real' page is in a subdirectory 
(www.domain.dom/catalog/index.html). Now he's decided he doesn't want 
the splash page. What I'd like to do is redirect requests from 
www.domain.com/index.html to www.domain.com/catalog.index.html. However, 
I want to do this in a way that is search engine friendly as possible.

I'm thinking about using .htaccess redirect, but can't seem to make it 
work. Is it any more complicated that putting something like following 
line into a .htaccess file:

Redirect permanent /index.html http://www.domain.com/catalog/index.html

I've studied the docs and tried a number of variations on this theme, 
but none seem to work. Any help much appreciated.

Thanks!

-- John

-- 
Identry, LLC
Northport, NY 11768

Ph: 631.754.8440
Fx: 631.980.4262
Em: jalmberg@identry.com

Member: Long Island Web Developers Guild

<><><><><><><><><><><><><><><><><><><><><><><><>
    Visit us at: www.identry.com
    Take control of your Web site
<><><><><><><><><><><><><><><><><><><><><><><><>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org