Monday , December 11 2017
Home >> All tutorial >> How to fix the 10 most common Magento problems (Part 1)

How to fix the 10 most common Magento problems (Part 1)

This tutorial will show you solutions to some of the most common Magento issues that users face when managing their online shops. It covers the following topics on the top 10 most common Magento issues:

1.How to configure Magento to work with a new domain

There are two things you should do in order to configure Magento to work with a new domain:

  • Edit the Magento database

Go to your cPanel > phpMyAdmin. Select your Magento database from the  left menu, find the table called core_config_dataand click on it.

Click the Browse tab and edit the first two fields:

web/unsecure/base_url
web/secure/base_url
by clicking the pen icon in front of each of them. Replace your old domain name with your new one and click the Go button to save the change.

  • Clear the Magento cache.

The Magento cache folder is located in your Magento installation directory > /var/cache. To clear the cache, simply delete the folder.

Many Magento issues can be fixed just by deleting the cache.

2. How to reset Magento Admin Password

To change your Magento admin password, go to your cPanel > phpMyAdmin, select your Magento database, click the SQL tab and paste this query:

  1. UPDATE admin_user SET password=CONCAT(MD5(‘sGnewpass’), ‘:sG’) WHERE username=‘AdminUsername’;

Note: You have to change newpass in the MD5(‘sGnewpass‘) with your new password, and change *AdminUsername* to your Magento admin username.

Execute the query by clicking the Go button and your password will be changed.

3. How to enable Search Engine Friendly URLs in Magento

To enable Search Engine Friendly URLs in Magento, you have to log in to the Magento administration area and click on theConfiguration button. Under the System navigation menu, switch to Web page from the sub-navigation panel on the left.

When the page loads, you will see blue lines which represent closed options tablets. Click on the Search Engines Optimization tab 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.

4. How to speed up Magento

Many Magento issues are caused by slow performance. The recommended way to speed up Magento’s performance is to enable its Compilation function.  The performance increase is between 25%-50% on page loads.

You can enable Magento Compilation from your Magento admin panel > System > Tools > Compilation.

5. How to redirect Magento to open through www

For SEO and usability purposes you may want to redirect your visitors to open your site only through www (http://www.yourdomain.com).

To do this in Magento, you should open the .htaccess file in the folder where your Magento is installed. In it locate theRewriteEngine on line and right after it add the following lines:

  1. RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC]
  2. RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

Once you do this, save the .htaccess file and log in to the Magento admin area > System > Configuration menu and from the left panel click the Web button.

Unfold the Unsecured set of options and change the Base URL option from http://yourdomain.com to http://www.yourdomain.com.

Save the changes and your Magento will start working through www.yourdomain.com only!

We also contribute great content of Magento Download for FREE (all versions)

DON'T MISS THE CHANCE!

magento download

About Champ

Leave a Reply

Your email address will not be published. Required fields are marked *

Heap | Mobile and Web Analytics