Skip to content

Instantly share code, notes, and snippets.

@omphteliba
Last active April 23, 2021 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omphteliba/96d49f6b57f0e5e91b20db54962f7a4b to your computer and use it in GitHub Desktop.
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
<?php
rex_yrewrite::setScheme(new rex_yrewrite_scheme_html());
<?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';
}
package: yrewrite/html-suffix
version: '1.1'
author: Oliver Hörold
supportpage: https://gist.github.com/omphteliba/96d49f6b57f0e5e91b20db54962f7a4b

yrewrite-plugin: html-suffix

Stellt die alte Funktionalität wieder her bei der die Seiten auf ".html" und nicht auf "/" enden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment