[pmwiki-users] 404 errors when following action link

Petko Yotov 5ko at 5ko.fr
Fri Nov 21 20:40:09 PST 2025


There looks like a problem with the $ScriptUrl variable.

It should point to the browser-reachable URL of your index.php or 
pmwiki.php file, for example:

$ScriptUrl = 'https://www.example.com/wiki/index.php';
$ScriptUrl = 'http://192.168.1.55/wiki/index.php';

Or a path without the domain name or IP address:
$ScriptUrl = '/wiki/index.php';

Normally PmWiki should autodetect this and you wouldn't need to define 
it. I'd check if your local/config.php has a value that is wrong, or 
points to the old server URL.

If you were using CleanURLs or $EnablePathInfo - see Cookbook - there 
may be additional configuration on the server to direct such requests to 
PmWiki. For Apache servers it is often a .htaccess file, and it may be a 
"hidden" file, in a file manager you may need to enable "Show hidden 
files" to see it. Check if you need to migrate this file too.

Petko

On 22/11/2025 05:19, David Annett wrote:
> Hi,
>   I have tried to move and upgrade my existing PmWiki instance on to a
> new system.  The existing instance runs version 2.2.54 in docker on an
> x64 system.  The new instance is running version 2.5.3 on a RPi 5.  It
> has gone well with existing pages rendering as expect. How whenever I
> try to do an action on a page, such as 'Edit' or 'History', I get a
> "404 Not Found" response.  Not sure where to start on resolving the
> issue and what information would be useful to include in my question.



More information about the pmwiki-users mailing list