bnomei / kirby3-redirects

Setup HTTP Status Code Redirects from within the Kirby Panel

Home Page:https://forum.getkirby.com/t/kirby3-redirects-setup-http-status-code-redirects-form-within-the-panel/23581

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

subfolder

bnomei opened this issue · comments

But I created a new variable $sitebase = \Kirby\Http\Url::path($siteurl); containing the installation base. If I prepend this to the from URL everything works as expected: $fromuri = $sitebase . '/' . trim(str_replace($siteurl, '', $fromuri), '/');

ah. sitebase will conflict with non subfolder setup. i will have to test this again...