Critical PHP security release (PHP2Shell): what TYPO3 site owners must do now
Security
Configure TYPO3 routing enhancer for pagination and smart paging's speaking URL to blog TYPO3 extension. Browse more TYPO3 extensions from T3Planet to extend your site further.
Step 1. Open /sites/yoursite/config.yaml
Step 2. Add below routeEnhancers code
# Config.yaml
routeEnhancers:
BlogPosts:
type: Extbase
extension: Blog
plugin: Posts
routes:
-
routePath: '/page-{page}'
_controller: 'Post::listRecentPosts'
_arguments:
page: '/currentPage'
defaultController: 'Post::listRecentPosts'
requirements:
page: \d+
aspects:
page:
type: StaticRangeMapper
start: '1'
end: '1000'
Nilesh Malankiya
TYPO3 Developer at NITSAN and T3Planet, Love TYPO3 :)
More From Author