[thelist] wild characters & htaccess
Carl Edwards
edwards at vitesse.com
Thu May 27 15:44:09 CDT 2004
Try the RedirectMatch directive:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirectmatch
-Carl Edwards
> -----Original Message-----
> From: Fortune Elkins [mailto:fortune_elkins at summithq.com]
> Sent: Thursday, May 27, 2004 12:43 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] wild characters & htaccess
>
>
> hiya!
>
> i'm thinking of moving my blog and creating a better
> architecture. but cleaning up all those old links even in DW
> with massive search & replace would be a pain. thus, i'm
> thinking of the fabulous .htaccess file.
>
> blogger writes to just a generic archives directory. when i
> started the blog, i wasn't smart enough to create a yearly
> folder and stuff my archives for each year into it. so now i
> have tons of archive files that need to be redirected into
> neat nice annualized folders: archive2000, archive2001, etc.
>
> this process will be totally easy if in the htaccess file i
> can use wildcards, so people can get to these files
> transparently in their new locations. something like:
> Redirect permanent /archives/2002_*.html
> http://newsite.com/archive2002/2002_*.html
> i've seen lots of tutorials on the redirect,
> (http://www.javascriptkit.com/howto/htaccess.shtml) but
> nothing seems to address the wild character issue. . .
>
> it would just save me from re-doing thousands of
> interdocument links. i hope.
>
> please advise,
>
> f
>
>
More information about the thelist
mailing list