The Home for
Magento Excellence

Explore. Discover. Elevate. #magento

162
Modules Tested
98
Ready for Magento 2.4
64
Need Your Help
Potentially Abandoned vv1.0.0-alpha

IntegerNet_RewriteMap Magento Module

integer-net/magento2-rewritemap

Generate RewriteMap files for Apache from custom Magento URL rewrites (redirects).

1
Downloads
Below average
3
GitHub Stars
Below average
5y ago
Last Release
1
Open Issues
Build Issues
0/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

vv1.0.0-alpha on Magento 2.4.8-p3
Dec 15, 2025
vv1.0.0-alpha on Magento 2.4.8-p2
Aug 14, 2025
vv1.0.0-alpha on Magento 2.4.8
May 18, 2025
vv1.0.0-alpha on Magento 2.4.7-p4
Feb 15, 2025
vv1.0.0-alpha on Magento 2.4.7-p3
Oct 15, 2024
vv1.0.0-alpha on Magento 2.4.7-p2
Sep 8, 2024

+4 older tests

GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

Looking for Contributors

Composer installation fails. Your contribution could help the entire Magento community!

Contribute

Share This Module's Status

IntegerNet_RewriteMap Magento Module Magento compatibility status badge

README

Loaded from GitHub

IntegerNet_RewriteMap Magento Module

Latest Version on Packagist Software License Build Status Supported Magento Versions

Coverage Status Quality Score Maintainability


Generate RewriteMap files for Apache from custom Magento URL rewrites (redirects). This can be useful to re-use the rewrites in a different frontend.

For example, to use the redirects in Vue Storefront, a reverse proxy that uses the generated rewrite maps can be configured.

Installation

  1. Install it into your Magento 2 project with composer:

    composer require integer-net/magento2-rewritemap
    
  2. Enable module

    bin/magento setup:upgrade
    

Configuration

In your store configuration navigate to Catalog > SEO:

  • Enable Rewrite Maps Generation: set to "yes" to enable (Default: no)
  • Rewrite Maps Generation Cron Schedule: configure, when rewrite maps are regenerated (Default: every hour)

Usage

Rewrite maps are stored in var/rewrite_maps as one text file per store and redirect type (301, 302).

See http://httpd.apache.org/docs/current/rewrite/rewritemap.html for details how to use those files.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Testing

Unit Tests

vendor/bin/phpunit tests/unit

Magento Integration Tests

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy tests/integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In that directory, run

    ../../../vendor/bin/phpunit
    

Security

If you discover any security related issues, please email bd@integer-net.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules