[pmwiki-users] clean urls

James M jamesm1415 at gmail.com
Sun Apr 24 14:21:21 CDT 2011


On Sun, Apr 24, 2011 at 2:28 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> On Saturday 23 April 2011 22:55:42, James M wrote :
>> I use .htaccess to make clean urls.  The odd thing is that  "pmwiki.php"
>> is inserted in the url.
> ...
>> But when I then click on one of the links I get (for example)
>> www.example.com/macc20/pmwiki.php/PmWiki/BasicEditing
>>
>> Any suggestion of where the extra pmwiki.php comes from?
>
> Hello. In your macc20/local/config.php, set the $ScriptUrl variable:
>
>  $ScriptUrl = "http://www.example.com/macc20/";
>
> Your .htaccess file looks ok, it should be placed in the macc20 directory.
>
> Petko
>

That was it!   Thanks Petko.

James



More information about the pmwiki-users mailing list