https://github.com/neos/redirecthandler-neosadapter
Neos RedirectHandler adapter for Neos CMS for creating redirects and status codes
https://github.com/neos/redirecthandler-neosadapter
flowframework hacktoberfest neoscms
Last synced: 7 months ago
JSON representation
Neos RedirectHandler adapter for Neos CMS for creating redirects and status codes
- Host: GitHub
- URL: https://github.com/neos/redirecthandler-neosadapter
- Owner: neos
- License: gpl-3.0
- Created: 2016-04-27T14:04:15.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T19:18:28.000Z (11 months ago)
- Last Synced: 2025-05-19T14:55:40.606Z (8 months ago)
- Topics: flowframework, hacktoberfest, neoscms
- Language: Gherkin
- Homepage:
- Size: 300 KB
- Stars: 6
- Watchers: 3
- Forks: 15
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://packagist.org/packages/neos/redirecthandler-neosadapter)
[](https://packagist.org/packages/neos/redirecthandler-neosadapter)
[](LICENSE)
# Neos redirect handler
This package enables automatic redirects for renamed/moved pages. This helps with SEO and user experience by avoiding dead links.
Additionally a `410` (gone) status code will be given for removed pages instead of `404` (not found).
Check the [documentation](https://neos-redirecthandler-adapter.readthedocs.io/en/latest/) for all features and usage.
## Installation
To use the redirect package, you have to install this package.
composer require "neos/redirecthandler-neosadapter"
and additionally a storage package. A default one for storing redirects in the database can be installed using composer with
composer require "neos/redirecthandler-databasestorage"
The backend UI module for managing redirects manually can be installed using composer with
composer require "neos/redirecthandler-ui"
### Adjusting your webserver configuration
**Note**: When using this to handle redirects for persistent resources, you must adjust the default
rewrite rules! By default, any miss for `_Resources/…` stops the request and returns a 404 from the
webserver directly:
# Make sure that not existing resources don't execute Flow
RewriteRule ^_Resources/.* - [L]
For the redirect handler to even see the request, this has to be removed. Usually the performance impact
can be neglected, since Flow is only hit for resources that once existed and to which someone still holds
a link.
## Configuration
You can find the configuration options in the [documentation](https://neos-redirecthandler-adapter.readthedocs.io/en/latest/).
## License
See [License](./LICENSE.txt).