GithubHelp home page GithubHelp logo

dlubitz / redirecthandler-neosadapter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neos/redirecthandler-neosadapter

0.0 3.0 0.0 176 KB

Neos RedirectHandler adapter for Neos CMS for creating redirects and status codes

License: GNU General Public License v3.0

PHP 81.64% Gherkin 18.36%

redirecthandler-neosadapter's Introduction

Latest Stable Version Total Downloads 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 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.

redirecthandler-neosadapter's People

Contributors

gerhard-boden avatar sebobo avatar kdambekalns avatar dfeyer avatar aertmann avatar regniets avatar bwaidelich avatar mficzel avatar daniellienert avatar mgoldbeck avatar zaveryukha avatar hlubek avatar albe avatar kitsunet avatar davidspiola avatar dlubitz avatar klfman avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.