[pmwiki-users] Clean URLs, backwards compatability

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 9 10:20:52 CDT 2007


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



More information about the pmwiki-users mailing list