Skip to content

Redirects 301 to home in case of 404 when switching store views

Notifications You must be signed in to change notification settings

catgento/magento2-switch301redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento Switch 301 Redirect

  • Redirects 301 to custom page in case of 404 when switching store views from category and product pages.
  • Redirects to parent product if a user arrives to a simple product url which is not enabled/visible

Todo

  • Add a feature to generate CMS store languages change links
  • Select default CMS Page for redirection (by default it only redirects to home)

Installation

Composer

    composer require catgento/magento2-switch301redirect

ZIP file

Download the module and unzip it under the folder app/code/Catgento/Switch301Redirect