[pmwiki-users] clean URLs for wikifarm in subdirectory

Bronwyn Boltwood arndis at gmail.com
Tue Mar 15 18:47:54 CST 2005


On Tue, 15 Mar 2005 17:34:25 -0600, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> In the webserver root directory, create .htaccess with:
> 
>   RewriteEngine on
>   RewriteRule ^bliki/([A-Z].*) /pmwiki/bliki/field.php?n=$1 [L,qsappend]
>   RewriteRule ^bliki/?$ /pmwiki/bliki/field.php [L,qsappend]
> 
>   RewriteRule ^portfolio/([A-Z].*) /pmwiki/portfolio/field.php?n=$1 [L,qsappend]
>   RewriteRule ^portfolio/?$ /pmwiki/portfolio/field.php [L,qsappend]
> 
> and let me know if that does anything useful.

This works; thanks. I think I even understand roughly what's going on in them!

It feels slow compared to without clean urls, though. It's a free
webhost, so I'm not sure if it's the server, the time, or some other
factor.  I may also experiment with Han's method.

Bronwyn



More information about the pmwiki-users mailing list