8 Most Common Magento Issues and Their Solutions

Drive 20-40% of your revenue with
email, SMS marketing
avada email marketing

When starting on Magento, developers may jump into various problems that are easy to handle if they know the right processes. Some are quite complex to address; nevertheless, if you have solutions documented, you can timely solve the most common issues.

This post will illustrate some of the most popular Magento issues and how you can solve them effectively.

Are you ready to start?

Table of contents

Magento issue 1: Configuring Magento with a new domain

Suppose that your Magento is configured with www.yourdomain.com and you desire to edit the domain to www.anotherdomain.com.

Solution

Firstly, navigate to MySQL Manager, choose your database, find the core_config_data table called core_config_data and click on it.

In the core_config_data table, you can find web/secure/base_url and web/unsecure/base_url entries. Then replace your old domain name with a new one and click on the Go button to save the changes.

Magento issue 2: Your Magento website is running low

Many problems in the Magento store are due to the poor performance of the site. To clarify, you can improve the performance of the site to tide over these problems.

Solution

  • Upgrade to the newest version of Magento

This is one of the simplest ways to speed up Magento 2 yet drives good results. Whenever Magento launches a new version, the performance and other tweaks (like security patches and bug fixes) will be enhanced dramatically.

  • Activate Varnish Cache

Varnish Cache or Full Page Cache is an incredible built-in feature of Magento 2 that lets you simplify the process of sending requests to the server from your website. Therefore, activating Varnish Cache will help decrease your website’s response time, contributing to a quicker loading time.

  • Optimize Javascript and CSS

You can decrease the number of separate CSS and Javascript files by merging them into a single and condensed file. This function will help to generate a constant stream of text, with line breaks removed.

Magento issue 3: Reset admin password

Normally, you sometimes forget your admin password. However, don’t worry; you can reset your admin password anytime you want.

Solution

As a Magento developer, if you want to have a quick and simple way to reset or change your Magento admin password, go to your phpMyAdmin or MySQL Manager, then pick your Magento database and go to the admin_user table. Replace your old password with a new one. Remember that you enter the password in the MD5 function.

Magento issue 4: Access denied

Magento “Access Denied” problem occurs as you don’t get permission to access the web pages or applications. Some common explanation for these problems are:

  • Wrong role assignment when generating a new user
  • Wrong admin login credentials
  • Privileges required for new extensions

It’s important for you to log out, log in to your Magento account, and reset the admin privileges. If you still cannot get it, try these solutions.

Solution

  • Wrong role assignment as generating a new user

When including a new user from the admin panel, it’s possible to forget to assign a role. In this case, you need to navigate to System > Permissions > User > Click on user > User roles and correct the access right.

User roles
User roles
  • Wrong admin login information

The most popular reason for “Access Denied” is incorrect information when logging in to the admin panel. If you attempt to sign out and log in again but still cannot access it, apply the command below to reset the password:

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

  • Privileges required for new extensions

It happens that when store admins include a new Magento extension via the downloader and go to the configuration settings of this extension, they will likely meet the “Access Denied” problem. As Magento doesn’t automatically update the privileges of new extensions, you had better reset your admin privileges.

From the Magento dashboard, navigate to System > Permissions > Roles > Click Administrator Role > Role Resources > Set it to All > Save Role.

Save Role
Save Role

Magento issue 5: Support Search Engine Friendly URLs

Using Magento 2, you have the ability to enable the URL rewrites and Web Server Apache Rewrites that let you remove the file name “index.php” in your URL.

For example:

  • URL without Web Server Rewrite: http://www.yourdomain.com/magento/index.php/
  • URL with Web Server Rewrite: http://www.yourdomain.com/magento/storeview/url-dentifier

As you see, this excellent built-in feature eliminates words that impart nothing of value to search engines or customers. Consequently, all URLs will become more friendly with both search engines and users.

Solution

Step 1: Within the Admin sidebar, navigate to Stores > Settings > Configuration.

Step 2: In the left panel where General is expanded, select Web.

URL options
URL options

Step 3: Set Use Web Server Rewrites, and click on Save Config.

Magento issue 6: Generate 301 Redirects

301 Redirect means permanently leading the IP to the new address. Besides, this function also allows you to rewrite the URL. Consequently, it makes your web store more web-structured and SEO-optimized.

Solution

There are often two ways to generate a 301 redirect for your website.

Generate 301 redirect using .htacess: Search for the code in your .htaccess.

  • If Module mod_rewrite.c>
  • Enable rewrites
  • Options + FollowSymlinks
  • RewriteEngine on

Then add:

  • redirect 301 old_url new_url
  • urls use relative paths
  • For example: redirect 301 /old.html / new.html

Then check the old URL to see the result.

  • Generate 301 redirects using Magento redirect function

Step 1: Within the sidebar, navigate to Marketing > SEO & Search > URL Rewrites

URL Rewrites
URL Rewrites

Step 2: Choose Add URL Rewrites. Here, you can generate URLs for your products, categories, CMS pages, or even custom URLs.

Step 3: Enter the required information and click on Save.

Add new URL Rewrites
Add new URL Rewrites

Magento issue 7: Generate Magento customer groups

Magento allows you to categorize customers into a group and manage store behavior based on which group a customer belongs to. Specifically, you can assign tax or status (General, Not Logged In, and Wholesale) for a group to achieve better control of your customers.

Solution

  • Filter customer groups:

Step 1: From the Admin sidebar, navigate to Customers > Customer Groups

Customer groups
Customer groups

Step 2: Choose Filters > Enter criteria for your groups like ranges of IDs, groups, or tax classes.

  • Generate a new customer group:

Step 1: On the main menu, go to Customers > Customer Groups > Add New Customer Group.

Step 2: Enter your group name.

Step 3: Choose the Tax Class that applies to the group.

Step 4: Choose the site you want to exclude.

Step 5: Then click on Save Customer Group.

Save Customer Group
Save Customer Group

Magento issue 8: The 503 Error

The 503 Error on Magento is of the most common Magento issues, which means an online service is temporarily unavailable to users. This is particularly common whenever you try to install Magento 2 extensions

There are two common reasons why you might have this error:

  • Problem with site server

Solution: If you’re having problems with your server, then reach out to your hosting company.

  • Your e-commerce store is stuck in maintenance mode

Solution: To keep your Magento site out of Maintenance mode, navigate to the Magento root installation, find the “maintenance.flag” document, and remove it with FTP or Filemanager. When you’re done, Magento will no longer show the maintenance mode message.

If that doesn’t work, remove your sessions and cache before doing the above steps.

Conclusion

It’s undeniable that nothing is perfect. Every application has its share of glitches and issues that can be addressed when the right procedures are applied. Before you decide to make any changes in the core code, please ensure that you’re familiar with the coding environment in Magento.

We hope that this article will somehow help you run your Magento store more seamlessly and efficiently. Thank you for reading!

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Explore Our Products:

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up