httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Almberg <jalmb...@identry.com>
Subject [users@httpd] redirect using .htaccess file
Date Fri, 28 Feb 2003 17:17:40 GMT
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


Mime
View raw message