Magento Extension Installation: A Step-by-Step Guide via FTP
Hello Tracy,
I understand that you are new to Magento and eager to learn how to install extensions independently. Don’t worry, I’ll guide you through the process step by step.
Before You Start
Before we begin, ensure you have:
- Access to your server’s FTP credentials (usually provided by your hosting provider).
- An FTP client installed on your computer, such as FileZilla.
- The downloaded extension file unzipped on your local machine.
Step 1: Connect to Your Server via FTP
Open your FTP client and enter the following details:
- Hostname: Your server’s hostname or IP address
- Username: Your FTP username (usually your cPanel username)
- Password: Your FTP password
- Port: 21 (or as specified by your hosting provider)
Click “Connect” to establish a connection.
Step 2: Locate the Magenta Root Folder
Once connected, navigate to the directory containing your Magento installation. It is usually located in public_html or www.
Double-click on the folder named after your domain (e.g., example.com) until you reach the root of your Magento site.
Step 3: Upload the Extension Files via FTP
Now that you are in the Magento root directory, let’s upload the extension files.
App Folder
The app folder contains the core PHP files for the extension. Create a new folder called “code” inside the existing app/code folder on your server.
Then, drag and drop all the files from the zipped extension’s app/code folder into your newly created “code” directory on the server.
JS Folder
If the extension contains JavaScript files, create a new folder called “js” inside the pub/media folder on your server. Drag and drop all the JavaScript files into this new “js” folder.
Skin Folder
The skin folder usually contains CSS files and images for the frontend of your Magento store. Create a new directory named after your extension (e.g., mynamespace_mymodule) inside the existing pub/static/frontend/your-theme/web/css folder on your server.
Then, drag and drop all the CSS and image files from the zipped extension’s skin folder into this new directory you created on the server.
.DS_Store
Ignore or delete any .DS_Store files. These are used by MacOS to remember the layout of folders and can cause issues when uploaded to a Linux-based server.
Step 4: Clear Cache
After uploading all the files, log in to your Magento admin panel (usually accessible at yourdomain.com/admin).
Navigate to “System” -> “Cache Management” in the left-hand menu. Select “Flush Magento Cache” and click “Submit.”
Step 5: Verify Installation
Now, check if the extension has been successfully installed.
- If it’s a frontend extension, refresh your website.
- If it’s an admin extension, go to “My Extensions” under “System” in the left-hand menu. You should see your new extension listed here.
Conclusion and Helpful Resources
Remember that different extensions may have slightly different installation instructions. Always check the specific documentation provided by the extension developer before proceeding.
If you still encounter issues, don’t hesitate to reach out to the extension’s support channels or consult our team at Laravel Company.
We’re here to help! Let me know if you need further assistance.