• +91 9806724185,+91 9685733903
  • +91 9806724185

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

Steps to Improve Performance of Node Servers

  In the past, Node.js Development was often not an option when building applications that require CPU intensive computation. This is due to its non-blocking, event-driven I/O architecture. With the advent of thread workers in Read more…

Technical Solutions

Get Benefits with Angularjs and React Combination

  If you’re a JavaScript developer and know a little bit about the current state of JS development, then you’re probably well aware that there seems to be a new JS framework popping up every Read more…

Technical Solutions

Top 5 Risks of Utilizing Outdated Technology for Websites

Modern Websites and Apps need to be implemented on new technologies because of various reasons. In current days, lots of technologies are outdated which are not providing quality services in this competitive world. You have Read more…