Having some problems with porting a Kirby 2 site to Kirby 3.
Specifically errors with links to paginated pages.
Paginated page URL’s are given as:
http://domain.test/articles/page:2?%2Farticles=
rather than what they should be:
http://domain.test/articles/page:2
BUT even if I correct the URL to say:
http://domain.test/articles/page:2
and then click on that link, it cannot find the page and 404 errors.
It is like the webserver is not recognising the /page:2
element…
Now I also have the orginal Kirby 2 website on the same server and this works as expected, produces the correct link URL and links to it correctly.
I can use nginx or caddy and both work with K2 but not with Kirby 3
Anyone any ideas? I am a bit stumped.
Kirby 3.3.5
PHP 7.4.5
nginx/1.17.10
Nginx conf relevant bits:
location / {
try_files $uri $uri/ /index.php?$uri&$args;
}
I can also use Caddy and have the same issues.
Caddy file relevant bits:
rewrite {
to {path} {path}/ /index.php?{query}
}
Apart from this ‘error with links to paginated page’, the sites works as expected.