[thelist] .htaccess redirect

James O'Donnell jimmyropes at gmail.com
Thu Sep 10 17:31:45 CDT 2009

If something like this doesn't work post your code in a reply and I will
look at it.

Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yoursite.com [NC] 
RewriteRule ^(.*)$ http://www.redirect_location.com/

You will have to modify this to make it work on your website.

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Susan Payne
Sent: Thursday, 10 September, 2009 13:40
To: thelist at lists.evolt.org
Subject: [thelist] .htaccess redirect

Thanks for the replies.


I want apply this redirect to one directory only.  Users are sent a
weekly e-mail newsletter which also gives a link to web-version if they
can't view the email. We need to keep a month's worth of the web
versions. But if someone goes back in her inbox to one of the
newsletters sent a couple of months ago, I don't want them accessing an
expired newsletter or an error page, even a custom one. I want them to
go to the directory index.


I tried putting the override in this directory's .htaccess but it didn't
work. When I put it in the root directory it overrode the error pages
for the entire site.


Susan Payne







* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.83/2353 - Release Date: 09/10/09

More information about the thelist mailing list