[pmwiki-users] Handling canonical URLs (ie don't allow variable case in urls)

Ed W lists at wildgooses.com
Tue Feb 9 14:40:57 CST 2010


On 09/02/2010 14:34, pmwiki at 911networks.com wrote:
> On Mon, 08 Feb 2010 22:12:01 +0000
> Ed W<lists at wildgooses.com>  wrote:
>
>    
>> Thanks - I had guessed this was part of it (actually I have this
>> function heavily customised).  However, I can't see how it's used on
>> the incoming page request?
>>
>> My thought was to compare the output of MakePageName with the
>> incoming request and if they don't match to do a redirect to keep it
>> canonical? Grateful for further pointers on how to dig deeper into
>> the request handling code?
>>      
> See: http://www.pmwiki.org/wiki/Cookbook/CaseCorrection
>
>    

OK, read it... Not sure how it is relevant? (Did you see that my two 
examples didn't go near a 404 page?)

Thanks for answering though

Ed W



More information about the pmwiki-users mailing list