Download the PHP package astina/redirect-manager-bundle without Composer
On this page you can find all versions of the php package astina/redirect-manager-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astina/redirect-manager-bundle
More information about astina/redirect-manager-bundle
Files in astina/redirect-manager-bundle
Package redirect-manager-bundle
Short Description User gets ability to specify redirection through web GUI.
License MIT
Homepage http://astina.ch
Informations about the package redirect-manager-bundle
Astina Redirect Manager Bundle
Install
Step 1: Add to composer.json
Step 2: Enable the bundle
Enable the bundle in the kernel:
Step 3: Import routing file
Import routing file of bundle. Change prefix attribute to suit your needs.
In YAML:
Step 4: Translations
If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.
Step 5: Configuration Options
In an application with multiple entity managers please configure a new manager or ensure the default manager can access the schema.
Step 6: Update your DB schema
Usage
Importing urls with command
Bundle knows how to import csv file of url for redirection. CSV has to contain two columns, where the first one contain urlFrom and second urlTo.
Using subDomain listener to redirect to somewhere else
If listener detects that subDomain is used it redirects visitor to url with name route_name
with route_params
and redirect code redirect_code
.
Warning
You have to set parameter router.request_context.host
in parameters.yml file. Otherwise value localhost
will be used as domain name.
All versions of redirect-manager-bundle with dependencies
symfony/symfony Version ^2.8||^3.4
doctrine/orm Version ^2.2.3
doctrine/doctrine-bundle Version ^1.0