As the Luma and Default Magento theme are showing invalid Snippets we recommend to disable these and use the JSON snippet markup from our Rich Snippet Magento 2 extension. Download the extension package here.
1. Upload extension Files
Disable the cache under System >> Cache Management. Extract the extension package ZIP-file (using Winzip, WinRar, etc) and upload the app folder to the root directory of the Magento installation.
All folders should match the existing folder structure. If one of our extensions is already installed and you're updating it, make sure to overwrite the existing files of the extension.
1 A. Merge Extension files
For Mac OS users using Transmit. If you are installing the extension in a local environment or you are using Transmit, make sure to merge and not to replace the existing folder's contents. Otherwise, your app and skin folder will be gone.
2. Connect to your magento webserver using SSH
Run the following command in the terminal and enter user password (please skip this step if you're installing expansion on the local machine):
B. Locate The Root
Change your current directory to Magento 2 web root directory running this command:
C. Start Setup
Start the setup of the Hreflang extension by running this command:
php bin/magento module:enable Magmodules_RemoveThemeRichSnippets
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
3. Installation and Deployment running
Now you've entered the right commands into the SSH client the extension will be installed and deployed.
It can take a few minutes untill all the files are succesfully transfered and deployed in your Magento® 2 Store.
4. Flush Cache
Go to System > Configuration > Cache Management and click both the 'Flush Magento Cache' as well as the 'Flush Cache Storage' button.
Congratulations, the extension is now succesfully installed in your Magento® 2 Store and ready to use.