beebmx / kirby-blade

Enable Blade for Kirby 3 & 4
MIT License
15 stars 3 forks source link

sitelinks opened with extenison .php return source code instead of 404 #2

Closed Draluak closed 4 years ago

Draluak commented 5 years ago

By installing this plugin, all sitelinks can be immediately accessed by appending the extension php and will return html source code instead of a 404 response. This affects plain php templates as well as blade templates and will probably cause serious SEO issues.

image

It can be simply reproduced by setting up the starterkit, add the extension an open url-to-starterkit/notes.php

As Kirby uses its own redirect magic through index.php, it seems that this issue can't be solved by simply adding .htaccess rule for php extension.

beebmx commented 4 years ago

This is fixed in the last update (2.0.0)