fritzmg / contao-simple-news-urls
Simple Contao extension to allow news URLs without its reader page fragment
Fund package maintenance!
fritzmg
Installs: 1 631
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 2
Type:contao-module
Requires
- php: >=7.4
- contao/core-bundle: ^5.3
- contao/news-bundle: ^5.3
- doctrine/dbal: ^3.0
- symfony-cmf/routing: ^3.0
- symfony/config: ^6.4 || ^7.1
- symfony/dependency-injection: ^6.4 || ^7.1
- symfony/http-foundation: ^6.4 || ^7.1
- symfony/http-kernel: ^6.4 || ^7.1
- symfony/routing: ^6.4 || ^7.1
Requires (Dev)
README
Contao Simple News URLs
This Contao extension allows news URLs without its reader page fragment. Instead of having an URL like
example.org/reader-page/news-entry
all news entries will instead be reachable via their alias directly, e.g.
example.org/news-entry
when enabled in the respective news archive. There will also be a 301 redirect from the old URL to the new one.
Note: the extension enforces these URLs, i.e. the URL prefix and suffix settings of the website root will be disregarded.