Geek insider, geekinsider, geekinsider. Com,, magento 2 extension development: commonly faced issues, internet

Magento 2 Extension Development: Commonly Faced Issues

As a highly popular and open-source e-commerce platform, Magento needs no introduction to those who want to run a successful online store. But even after learning about the platform, the process of Magento extension development and management can often slow you down from achieving your goals.

To help you avoid these hurdles and breeze through your store’s ongoing enhancements, here is a lowdown on 8 of the most common extension development and management issues for Magento.

1. Setting Up a New Domain

In Magento, setting up new parameters for a different domain name can seem a bit confusing. 

You can breeze through the process through the following steps. 

  • Go to MySQL Manager. 
  • Select your database. 
  • Click on core_config_data.
  • Find your old domain name across: 
    • web/secure/base_url 
    • web/unsecure/base_url
  • Replace your old domain with the new domain name.

2. Experiencing a Slow Website

In order to improve a slow Magento website, you can follow the steps outlined below. 

  • Update your Magento 2. 
  • Activate Full Page Cache (Varnish Cache).
  • Optimize your CSS and JavaScript files.

3. Resetting Your Admin Password

Changing your password every so often is a good security practice. You can stay true to this habit by following these steps. 

  • Go to MySQL Manager.
  • Select your database.
  • Choose the admin_user table.
  • Replace your password. 

4. Facing the Access Denied Error

The “Access Denied” error can be the bane of your existence. But you can easily counter it by going through the steps below. 

Check role privileges for new extensions

New Magento extensions do not automatically assign or update roles from previous extensions. In order for this to happen, you need to complete the steps outlined below.

 

  • Go to the Admin Sidebar. 
  • Choose System.
  • Select Permissions.
  • Go to Roles.
  • Choose Administrator Role.
  • Navigate to Role Resources. 
  • Change to All.
  • Click Save.

Determine role assignments for new users

Whether you are creating new user profiles or want to revise the access level for certain profiles, you can do so through these steps. 

  • Navigate to the Admin Sidebar. 
  • Click on System.
  • Select Permissions.
  • Choose User. 
  • Go to User Roles.
  • Revise the Role.

Confirm the use of the right login credentials

If you keep receiving the same error, it would be time to change your login credentials. You may do so through the following command.

  • UPDATE admin_user SET password = MD5(‘PASSWORD’) WHERE username = ‘USERNAME’;

5. Facing Issues in Getting Search Engine Friendly URLs

A long string of URLs can get in the way of your search engine exposure. In order to appeal to the search engines, it is important that you generate search engine friendly URLs. 

This is how you can achieve this crucial requirement for search engine optimization (SEO).

Enable Web Server Rewrites

By enabling web server rewrites, you can eliminate the “index.php” part from your URLS. 

  • Go to the Admin Sidebar. 
  • Click on Stores. 
  • Select Settings. 
  • Click on Configuration.
  • Navigate to General. 
  • Go to Web.
  • Choose Use Web Server Rewrites. 
  • Click on Save Config. 

6. Not Being Able to Generate 301 Redirects

If you want to move a page permanently to another URL, it is important that you implement 301 redirects. This prevents broken links, improves SEO, and gives your users a remarkable navigation experience.

  • Navigate to the Admin Sidebar. 
  • Choose Marketing.
  • Select SEO & Search.
  • Choose URL Rewrites.
  • Click Add URL Rewrites. 
  • Add new URLS.
  • Click Save.

7. Not Being Able to Generate Magento Customer Groups

Magento customer groups are an excellent way to customize the experience of your website’s users. If you are not able to generate these customer groups, following these suggestions can help. 

Generate New Groups

  • Navigate to the main menu. 
  • Go to Customers.
  • Choose Customer Groups. 
  • Select Add New Customer Group.
  • Enter Group Name.
  • Choose the applicable Tax Class.
  • Confirm by clicking Save Customer Group.

Filter Customer Groups

  • Go to the Admin Sidebar. 
  • Navigate to Customers. 
  • Select Customer Groups. 
  • Click on Filters. 
  • Enter the criteria for your groups. 

8. Receiving the 503 Error

If you are getting a 503 error, it means that the service you are trying to access is temporarily unavailable. This could be due to a server error that is resolved by your hosting company. Otherwise, it could be an issue with your store being in maintenance mode. 

In case it is the latter, look into the following steps.

  • Go to Magento root installation. 
  • Find maintenance.flag.
  • Remove it through your FTP.

This would get your Magento up and running again.

.

Leave a Reply

Your email address will not be published.