This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Fix These 10 Magento Issues That Can Ruin Your Web Store

October 15, 2021

6 Min Read

Magento Issues
When starting out on Magento, a developer comes across many common errors that are easy to tackle if you are aware of the right processes. Some are a bit complicated to solve, however, if you have solutions documented, you can quickly address the most common problems that almost every Magento developer encounters. I am going to share the ten most common Magento problems that a developer can face and how to solve them.

Problem 1: Configuring Magento with a new domain

Let’s assume that your Magento is configured with and you want to change the domain to

There are two ways to configure your Magento store with a new domain:

First, go to MySQL Manager (for many, it is PHPMyAdmin). Select your Database and find the table called core_config_data and click on it.

In core_config_data table, you can seeweb/unsecure/base_url and web/secure/base_url entries.

Change your old domain name with your new domain and click the Go button to save the changes.

Clear Magento Cache

By deleting or clearing your cache, can solve many issues in Magento.

Speed Up Your Magento Store By 3x Times

Experience superior Magento performance with our advance caching and dedicated resources

The cache folder is located in your Magento root directory /var/cache. To clear the cache, just delete the folder and go to your Magento admin System > Cache Management and clear all Cache. There is another way of using Cloudways full page cache extension for Magento.

Problem 2: Magento 2 Reset Admin Password

If you don’t remember your admin password and you are a Magento developer who wants a quick and easy way to reset change Magento admin password then just go to your phpMyAdmin or MySQL Manager, select your Magento database and find admin_user table. Replace your old password with your new password. Make sure you insert the password in MD5 function.

Problem 3: Enable Search Engine Friendly URLs in Magento

Enabling Search Engine Friendly URL in Magento is easy. You just have to login into your Magento admin and go to System > Configuration click on Web in the left panel.

Magento Admin Issue

Click on Search Engines Optimization and turn on the Use Web Server Rewrites (mark as Yes). Click on the Save Config button and your Magento SEF URLs will be enabled.

Problem 4: Speed up Magento

To speed up your Magento store, it is recommended to enable Magento Compilation function. The performance increase is between 25% – 50% on page loads. You can enable Magento Compilation from your Magento admin just go to System > Tools > Compilation. And click on Run Compilation Process.

Magento Admin Issue

You should also remember that your Magento 2 hosting solution provider plays a substantial part in deciding the speed of your store. You should choose a provider which is optimized to run a Magento store with seamless performance. Consider a solution provider like Cloudways, which is not only built to withstand the toughest of hosting problems but can also be relied upon in times of sudden traffic increases as it gives you the option to scale your Magento server whenever you feel the need. You can sign up for a free trial of 3 days and test out the platform for yourself.

Problem 5: Redirect Magento to open through www

For SEO and usability purposes you need to redirect your visitor to open your Magento store only through www (

This is easy to do in Magento. Open your .htaccess file located in your Magento root. In this file search theRewriteEngine and right after this add following code.

RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

Magento Riderect

After this save your .htaccess file and log in to your Magento admin and go to System > Configuration > Web

Magento Admin Issue

Click on the Unsecure tab and change the Base URL option from to After this click on Save Config button and your Magento store will start working through

Problem 6: Disable the Compare products functionality

In Magento, you can disable Compare products functionality easily with these steps.

For compare products functionality, go to your Magento root folder and then app/code/core/Mage/Catalog/Helper/Product/Compare.php and replace following code:

public function getAddUrl($product){return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product));}



public function getAddUrl($product){//return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product)); return false;}


After this go to your /app/design/frontend/base/default/layout/ and open yourcatalog.xml file. If you are using a Magento theme, enter your theme name instead of default E.G : /app/design/frontend/base/yourtheme/layout/ and replace the following code.

<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="" template="catalog/product/compare/sidebar.phtml"/>



<!-- <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="" template="catalog/product/compare/sidebar.phtml"/> →


After this clear your Magento cache.

Problem 7: Set up a blog in Magento

It is not much difficult to set up a blog in Magento. But you would have to do this with the help of a custom extension, as it is not a default function in Magento. I would suggest you add a blog to your business as they help you connect with your customers on a more personal level. You can use the blog to tell the story behind your Magento store.

You can search in Magento Connect for an extension that will entirely suit your needs. You can learn more about the integration of blog on Magento in this blog post.

Problem 8: Add a Contact Us form in Magento

In Magento, contact form functionality is included by default. Link of contact Page is usually shown in the footer of Magento store. You can add a contact form on any page.

Log in to your Magento admin and go to CMS > Pages and click on new page button.


Use the following code in your new page content field show in right side:


{{block type='core/template' name='contactForm' template='contacts/form.phtml'}}


Save changes, and your contact form will look something like the one in this image.


Problem 9: Solve Access Denied issue

To solve the error of access denied or Magento Admin not opening, you should log out from your admin panel and log in again, and reset the Magento admin privileges.

After logging in, just go to System > Permissions > Roles > Administrators.


Click on the Role Resources options shown in left to make sure that Resource Access is set to All. Click on the Save Role button and your Magento permissions will be reset.

Problem 10: Set a Custom Users Group

You can quickly add a new group from your Magento admin just go to Customers > Customer Groups > Add New Customer Group.

When a customer is registered you can change the group ab/xy to those they belong to by going to the Magento  Customers > Manage Customers. Click on the edit link to the customer and change the group from the Account Information > Customer Group. Click Save Customer.

Now set the discount on Promotions > Catalog Price Rules > Add New Rule. In the Customer Group, select the customer’s groups for which the promotion is Valid. Enter other details. Set rule and conditions and click on Save rule button.

Final Thoughts

Nothing is perfect. Not even Google. Every application has its share of glitches and errors that can be easily solved when the right procedures are followed. I have tried my best to list down ten of the most common errors that a Magento developer comes across and how he/she can solve them. These are the most common issues that are encountered on the consistent basis by some developers.

Before proceeding to make any changes in the core code, please make sure you are comfortable with the coding environment in Magento. It is an opensource platform, but you need to be careful when making changes to the code. If you have come across an issue that should be included here, then let me know through the comments section!

Share your opinion in the comment section. COMMENT NOW

Share This Article

Customer Review at

“Great speed, features, knowledgebase, dashboard, UX and fast, expert support. Very happy!”

Stefan [Management Consultant]

Fayyaz Khattak

Fayyaz, a passionate Motorbike tourist, works as a Team Lead — Magento Community at Cloudways - A Managed Magento Hosting Platform. His objective is to learn & share about PHP & Magento Development in Community. You can contact him at [email protected]


Get Our Newsletter
Be the first to get the latest updates and tutorials.

Thankyou for Subscribing Us!


Webinar: How to Get 100% Scores on Core Web Vitals

Join Joe Williams & Aleksandar Savkovic on 29th of March, 2021.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Comments are closed.