# customgento/module-default-store-code-remover-m2-mageworx-compatibility

> Magento 2 module to remove default store code from URLs - MageWorx compatibility

`composer require customgento/module-default-store-code-remover-m2-mageworx-compatibility`

Canonical URL: https://packagento.com/customgento/module-default-store-code-remover-m2-mageworx-compatibility

## At a glance

- **Vendor**: CustomGento (https://packagento.com/customgento.md)
- **Latest version**: v1.1.0 — released 2026-05-05
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/customgento/module-default-store-code-remover-m2-mageworx-compatibility and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require customgento/module-default-store-code-remover-m2-mageworx-compatibility:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Magento 2 module to remove default store code from URLs - MageWorx compatibility

## README

This module is an extension of the Default Store Code Remover M2 module, specifically designed to ensure compatibility with MageWorx extensions. It removes the default store code from URLs while maintaining full functionality of MageWorx features.

### Features
- Ensures compatibility with MageWorx extensions, allowing them to function seamlessly without any disruptions

### Installation
* <code>composer require customgento/module-default-store-code-remover-m2-mageworx-compatibility</code>
* <code>bin/magento module:enable CustomGento_DefaultStoreCodeRemoverMageworxCompatibility</code>
* <code>bin/magento setup:upgrade</code>
* <code>bin/magento cache:flush</code>
* <code>bin/magento setup:di:compile</code>

### License
[OSL - Open Software Licence 3.0](https://opensource.org/licenses/osl-3.0.php)

### Copyright
&copy; 2025 - present CustomGento GmbH

## Recent Versions

| Version | Released |
|---|---|
| v1.1.0 | 2026-05-05 |
| 1.0.0 | 2025-09-09 |

## Dependencies

### Require

| Package | Constraint |
|---|---|
| customgento/module-default-store-code-remover-m2 | ^2.0 |
| magento/module-store | ~101.0 |
| mageworx/module-seobase | ^2.13 |
| php | ~7.3.0\|\|~7.4.0\|\|~8.1.0\|\|~8.2.0\|\|~8.3.0\|\|~8.4.0\|\|~8.5.0 |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["customgento/module-default-store-code-remover-m2-mageworx-compatibility"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

CustomGento is a Magento 2 vendor on Packagento. See https://packagento.com/customgento.md for their full catalogue.

