[pmwiki-users] Clean URLs, backwards compatability

Sandy sandy at onebit.ca
Thu Jun 14 11:12:49 CDT 2007


Patrick R. Michaud wrote:
> On Fri, Jun 08, 2007 at 03:17:46PM -0400, Sandy wrote:
>> I'm using one of the CleanURL recipes for my farm. (Not sure which one, 
>> but it works.) Combination of URL rewriting and using CPanel to set the 
>> subdomain.
>>
>> The address www.cricket.onebit.ca works fine, and has been for ages.
>>
>> But I was looking at some old profiles on other sites. One still had
>> www.onebit.ca/cricket
>> When I go to that URL it gives me Error 404 Not Found.
>>
>> Is there an easy way I can get both to work?
> 
> Easiest may be to force a redirect to the correct location.  
> Perhaps something like the following in 
> www.onebit.ca/cricket/.htaccess:
> 
>   RedirectMatch permanent /cricket http://www.cricket.onebit.ca/
> 
> Pm

Success exactly as suggested. Many thanks!

Sandy




More information about the pmwiki-users mailing list