Skip to content

Instantly share code, notes, and snippets.

View st3phani's full-sized avatar

Stefan Iurasog st3phani

  • Green Art Business
View GitHub Profile
@evgv
evgv / mage_remove_trailing_slash_from_magento_urls.markdown
Last active February 2, 2021 19:11
Magento. Remove Trailing Slash From Magento URLs

Remove Trailing Slash From Magento URLs

Duplicate Content Issue

from http://www.example.com/category.html/ to http://www.example.com/category.html

Step 1

Go to ../app/code/core/Mage/Core/Block/Abstract.php copy this file to ../app/code/local/Mage/Core/Block/Abstract.php

Find the following line of code:

@leek
leek / _Magento2_DeleteTestData.md
Last active July 25, 2024 12:46
Magento 2 - Delete All Test Data

These set of scripts are for Magento 2. For Magento 1, see this Gist.

@st3phani
st3phani / 1step-Install-Deployer-Magento2-BitbucketPipelines.md
Created April 3, 2020 21:37 — forked from rafaelstz/1step-Install-Deployer-Magento2-BitbucketPipelines.md
Preparing the integration between Magento 2 + Bitbucket Pipelines + Deployer

Use both files in your root folder and run:

curl -LO https://deployer.org/deployer.phar && sudo mv deployer.phar /usr/local/bin/dep && sudo chmod +x /usr/local/bin/dep
composer require deployer/recipes --dev
composer require rafaelstz/deployer-magento2 dev-master --dev