<!-- TITLE: Category redirect Pl --> <!-- SUBTITLE: A quick summary of Category redirect Pl --> # Category redirect ## Features - Adding the possibility of redirecting categories to another url. ## Module compatibility `Magento`: 2.4.3- 2.4.5 `PHP`: 7.4|8.1 ## Configuration ### Catalog/Categories/Category ![1](/uploads/category-redirect/1.png "1") `Redirect to another URL` - enter the redirect url #### We go to the home page, click on the category whose redirecting attribute we have set up ![2](/uploads/category-redirect/2.png "2") #### By selecting "category 1", we are automatically redirected to the address of the attribute previously set, i.e. "category 2". ![3](/uploads/category-redirect/3.png "3") ## Module installation ### Installation via Composer 1. Add the repository to the composer.json file: ```text "repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:aurora-modules/category-redirect.git" } ... ], ``` 2. Modify the composer.json file: ```text "require": { ... "aurora/module-category-redirect": "*" ... }, ``` 3. In the Magento home folder, run the following commands: ```text composer update aurora/module-category-redirect php bin/magento module:enable Aurora_CategoryRedirect php bin/magento setup:upgrade ``` ### Manual installation 1. Unzip the archive. 2. Move the module files to the server location: ```text {Magento root} └── app/ └── code ``` 3. In the Magento root folder, run the following commands: ```text php bin/magento module:enable AuroraCategoryRedirect php bin/magento setup:upgrade ``` ## Change Log ### v1.0.8 * Added tests (phpcs, phpunit, phpmd, phpstan) in pipelines, fixed unit tests ### v1.0.7 * Code refactoring, improved unit tests ### v1.0.6 * Code refactoring, removal of depricated plugin ### v1.0.5 * Added support for external URLs in the top menu ### v1.0.4 * README.md fix ### v1.0.3 * Data patch installation ### v1.0.2 * gitlab-ci.yml fix ### v1.0.1 * Unit tests fix ### v1.0.0 * Module initiation ### Dziękujemy za zainteresowanie naszymi modułami!