[pmwiki-users] Bloge-Shorturl & CleanURL

Stéphane Heckel hsteph at club-internet.fr
Mon Jan 4 10:49:09 CST 2010


Hello list,

I have removed pmwiki.php from the URL with the following .htaccess :

RewriteEngine On
RewriteBase /
RewriteRule ^$ pmwiki.php [L]
RewriteRule ^index\.php$ pmwiki.php [L]
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ /pmwiki.php?n=$1 [QSA,L]

so I can access my site with http://mydomain.com

I have implemented Bloge-Shorturl and would like to know how $ShortUrlPrefix 
should look like ?
I have tried $ShortUrlPrefix = 'http://mydomain.com/s'; but this produces a 
wrong shorturl, something like http://mydomain.com/s/4

I'm very uncomfortable with all those RewriteRule & path stuff, ..

Any clue ?

Thanks

SH 






More information about the pmwiki-users mailing list