Stellt die alte Funktionalität wieder her bei der die Seiten auf ".html" und nicht auf "/" enden.
Last active
April 23, 2021 09:30
-
-
Save omphteliba/96d49f6b57f0e5e91b20db54962f7a4b to your computer and use it in GitHub Desktop.
A plugin for the Redaxo5 addon yrewrite. With it the pages end with .html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
rex_yrewrite::setScheme(new rex_yrewrite_scheme_html()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: oliver.hoerold | |
* Date: 24.10.2016 | |
* Time: 14:45 | |
*/ | |
class rex_yrewrite_scheme_html extends rex_yrewrite_scheme { | |
protected $suffix = '.html'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package: yrewrite/html-suffix | |
version: '1.1' | |
author: Oliver Hörold | |
supportpage: https://gist.github.com/omphteliba/96d49f6b57f0e5e91b20db54962f7a4b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment