This is excellent stuff for unix newbies like myself. That  
mod_rewrite cheat sheet is really helpful.

I addition, many web hosts provide a web based interface where you  
can create your redirects. I use http://site5.com and I was searching  
for a solution to the redirect problem. I had misspelled the title of  
a page, and spread the link before I realised my mistake, and I  
wanted the old link to redirect to the correct page.

I found that I could create the redirect easily using the site  
administration tools provided. It's not as flexible as writing your  
own mod_rewrite rules, but for simple redirects it is really easy and  
simple to use.

I can't write specific instructions for other hosts, but I found the  
URL Redirect interface under "Site tools" in the Site5 admin console.

Regards,
Martin Olsson
http://smpl.se




On 28 jan 2007, at 19.50, Sean Cribbs wrote:

> Anton J Aylward wrote:
>> Is there a way to set up a page so that it silently redirects to  
>> another one
>>
>> Something that results in what one might conceive of as
>> <r:redirect dest="/about/faq" />
>> with appropriate 404 handling?
>>
>>
> Anton,
>
> I started to do that for some pages on kckcc.edu, but found it was  
> much
> easier to just write a rewrite rule instead.  Here's an example --  
> this
> should work on Apache and Litespeed.
>
> RewriteCond %{REQUEST_URI} ^/some/old/page
> RewriteRule ^/some/old/page(.*) /about/faq$1 [L,R]
>
> If you want it to return a different redirect code (other than  
> 301), you
> can append that to the R inside the square brackets.  You might also
> find this helpful:
> http://www.ilovejackdaniels.com/apache/mod_rewrite-cheat-sheet/
>
> Hope that helps!
>
> Sean
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to