Preferred Domain Setting Module for OXID eShop Community Edition

v1.0.0-alpha 2019-11-15 08:30 UTC

This package is auto-updated.

Last update: 2020-06-15 10:13:14 UTC


This module ensures that only the preferred domain callable. The other domain variants are forwarded.


Set your preferred Domain in and save your preferred Domain in Module Settings.


I recommended to use SSL Protocol. In consequence this Module only provided SSL Protocol.

Possible Domains Variants

This Module set your preferred Domain and for the other three Domains set a permanently Redirection with 301 HTTP-Status.


  • OXID eShop Community Edition Version 6 or higher
  • Access via Console possible
  • Composer is installed on your Server

Preparation Configuration

Set your preferred Domain in for both config variables.

Hint remember to change the file permissions to edit the file.

chmod 666
$this->sShopURL     = ''; // eShop base url, required
$this->sSSLShopURL  = ''; // eShop SSL url, optional
chmod 444

Clear your tmp Directory.

Module Installation via Composer

  1. Login via SSH and change to Shop Root Directory
  2. Register the Module via Composer
  3. Login into Shop Admin Backend
  4. Activate Preferred Domain Module
  5. See your preferred Domain in the Module Setting Tab
  6. Select the shown preferred Domain and use Save Button (required)

Composer Install Command

composer require bisweb/preferreddomain