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. If you a choose right Magento Development Company, everythging will be easy for you.

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.

Magento

Magento

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).

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.

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

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.

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.

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.

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.

You should also remember that your hosting solution provider plays a substantial part in deciding the speed of your Magento 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 server whenever you feel the need. You can sign up for a free trial of 3 days and test out the platform for yourself.

Redirect Magento:

For SEO and usability purposes you need to redirect your visitor to open your Magento store only through www (http://www.yourdomain.com).

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

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

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.

Enable the Products Compare 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:

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

With

  1. 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.

To

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

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 the 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:

  1. <!– CONTACT FORM CODE BEGIN–>
  2. {{block type='core/template' name='contactForm' template='contacts/form.phtml'}}
  3. <!– CONTACT FORM CODE END–>
Save changes, and your contact form will look something Great !!!

Contact us for More Information.

Related Posts

Technical Solutions

How CDN Boost Web Performance in WordPress

In the opinion of your website visitors, what’s the most important factor capable of influencing their decision to trust your site? Is it the quality of content offered? How about the unique design elements and Read more…

Technical Solutions

How WordPress Maintenance Services Benefit Your Business

After the Wordpress design and development work is done, you need to know how to maintain your website, just like every other property. Because your website is your property, and because without maintenance, you risk Read more…

Technical Solutions

Get Billing Services Simple with Laravel Cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle Read more…