neos / redirecthandler-neosadapter
Neos Redirect Handler
Fund package maintenance!
shop.neos.io/neosfunding
Installs: 637 834
Dependents: 11
Suggesters: 4
Security: 0
Stars: 6
Watchers: 4
Forks: 14
Open Issues: 9
Language:Gherkin
Type:neos-package
Requires
- php: >=8.2
- neos/flow: ^9.0
- neos/neos: ^9.0
- neos/redirecthandler: ~6.0 || dev-main
- 5.0.2
- 5.0.1
- 5.0.0
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.x-dev
- dev-main / 4.0.x-dev
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.1.0
- 2.0.x-dev
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.x-dev
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/pip/Documentation/certifi-2024.7.4
- dev-task/checkAgainstLiveWorkspaceNameInsteadOfComparingCSIds
- dev-task/adjust-contentrepositoryid
- dev-task/remove-unused-registry
- dev-travis-test
This package is auto-updated.
Last update: 2024-09-29 07:48:06 UTC
README
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 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.
License
See License.