How To Resolve Common Magento Issues

Person online shopping for clothes on a Magento e-commerce site

Magento is an e-commerce website platform owned by Adobe, with over 260,000 merchants currently on board. With an expansive feature set and complete customization options, Magento is optimal for merchants who are comfortable developing their website on their own. We are here to highlight some of the common issues within the Magento platform and the desired solutions for the same.

Problem 1: Configuring Magento With A New Domain

Let’s assume that your Magento is configured with www.yourdomain.com and you want to change the domain to www.anotherdomain.com. This may result from using a temporary domain as a way to redirect traffic or if you’re a wholesaler who operates multiple retail domains.

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

  1. 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.
  2. In the core_config_data table, you can seeweb/unsecure/base_url and web/secure/base_url entries.
  3. Change your old domain name with your new domain and click the Go button to save the changes.

Another option is to clear your Magento cache. 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.

Magento is a robust platform that runs on stored cache and tries to display as much as possible. It is within best practices to periodically clear your cache to see any sort of implemented changes within the platform, such as the addition of new extensions, data updates, or content changes. 

Problem 2: Magento 2 Reset Admin Password

If you don’t remember your admin password or want a quick way to update it, then we have the solution for you. Just go to your phpMyAdmin or MySQL Manager, select your Magento database and find the admin_user table. Replace your old password with your new password. Make sure you insert the password in MD5 function – and write it down somewhere secure if you’re in the habit of forgetting your passwords!

Problem 3: Enable Search Engine Friendly URLs in Magento

Search engine friendly URLs show links that are short, but full of keywords. These URLs can help your store site rank higher in search engines, which drives more traffic and builds higher trust. Besides that, visitors find it easier to remember and navigate with a short and concise URL. Hence, enabling search engine friendly URLs is a crucial step to ensuring your e-commerce store is SEO optimized.

Enabling Search Engine friendly URLs 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, as demonstrated below:

Where to identify System > Configuration in Magento
Where to identify System > Configuration in Magento to enable search engine friendly URLs

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.

Your store’s URL is the first thing Google and visitors will see when they visit your website. URLs that are friendly, easy-to-read, and contain keywords describing the content of your website will help users remember your website address easily, and of course, it helps your website rank higher on the SERP.

Problem 4: Speed Up Magento

Website speed optimization can lead to a boost in on-site conversions and SEO because faster sites are more appealing to both users and search engines. Users expect a webpage to load quickly and, if it doesn’t, many will abandon the site.

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.

Screenshot of Magento website to run compilation process
How to run comilation process to increase page load speed.

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.

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 (http://www.yourdomain.com).

A rewrite can ‌manage miscellaneous redirects, such as redirecting a page from your store to an external website. For example, you might have two e-commerce websites, each with their own domain. You can use a custom redirect to reroute requests for a product, category, or page to the other website.

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:

Magento code to redirect through www
Magento code to open through www

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

Screenshot of Magento system > configuration > web order to open site through www
Opening Unsecure tab to change base URL option to open your site through www

Click on the Unsecure tab and change the Base URL option from http://yourdomain.com to http://www.yourdomain.com. After this click on Save Config button and your Magento store will start working through www.yourdomain.com.

Problem 6: 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.

Screenshot of solving for Magento access denied issue
Where to find System > Permission > Roles > Administrations to fix access denied issue

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

Conclusion

Optimal performance is key for any successful e-commerce store. Page speed has a direct and measurable impact on the conversion rate of your website, so having an optimized Magento installation is crucial to the success of your shop and brand. Magento is a resource-heavy e-commerce platform that requires the right set of resources and configurations for optimum performance. By solving some of these common Magento problems, you can help your e-commerce site run at its best and fully engage your customers.

Further Reading

Request Consultation

Search The Blog

Categories

Why NetElixir?

18+

years experience

8+

years as a UPS Digital Connections Partners

1 of 27

agencies (out of 7,000+ U.S. agencies) in Google's Agency Leadership Circle

We love cookies!

Want results?

Let us show you how we can help.