Home » Magento tutorial for developer » How to Fix 5 Common Magento Issues?

How to Fix 5 Common Magento Issues?

When working with Magento, there’re common issues that happen to every Magento developers, in this tutorial, I will summarize 5 common issues along with solutions for each of issue.

1.Access denied issue

Many times you will see the error “Access Denied”, this happens due to admin role permossion. To solve this issue, you can log out from the Magento backend and then try to relog.

If this method doesn’t work and you still see error, you can reset the admin privileges. To do this, go to Magento admin area >System > Permissions > Roles > Administrators.

Next, click on the”Role Resources” option on left menu and please recheck if Resource Access is set to All.

Finally, click Save Role and the admin permissions will be reset. Now check if the error has gone.

2. You want to implement 301 redirect in Magento but don’t know how?

301 redirect is the change the URL of a page as it is shown in search engine results. This means redirecting your visitors to open your site only through www (http://www.websitename.com).

We can implement 301 redirect in Magento by changing .htaccess file in the folder where your Magento is installed. Now open your .htaccess  file and now add the following lines right after RewriteEngine on line:

Note: Don’t forget to change your domain name.

After saving your .htaccess file, login your Magento Admin and go to System > Configuration Menu and click Web Button from left corner.

Now unfold unsecured set of options and change the base URL from http://yourdomain.com to http://www.yourdomain.com.

Save the changes and 301 Redirection is implemented.

3. Enable Search Engine Friendly URLs in Magento

SEO for any website is of utmost importance. And when the website is an eCommerce store, then SEO is not important for Rankings but also for enhancing sales. For better rankings in search engines, SEO friendly URLs are very important to be implemented.

For SEO friendly URLs in Magento, login to your Magento Admin Area and click the Configuration Button. In system navigation menu switch to web page.

You will be able to see blue lines dueing page loading 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 Configure Google Analytics in Magento

To set up Google Analytics in Magento, first you need a Google Analtyics Account. If you already have Analytics account then copy the Unique ID from your Google Analytics Account. It should be in this format- UA-XXXXXXX-XX.

In case you dont have Google Analytics Account, you can create one at http://www.google.com/analytics/. After signup add your website, you’ll receive a Google Analytics account number. Now just copy this account number or ID as it is needed for configuring Google Analytics in Magento.

Now, open the Magento Admin area and navigate to System->Configuration->Sales->Google API. Expand the Google Analytics section, as shown below:

Pick the Yes option from the Enable drop-down menu. Enter the Google Analytics account number in the Account number field. Click on the Save Config button.

5How to implement Magento SSL Setup

The private SSL certificate is very important for any ecommerce website for processing sensitive customers data. Website without SSL are generally not preferred by the customers. They don’t feel secure for shopping on such website. The basic purpose of SSL certificate is to encrypt communication between the browser and the server by ensuring that all the data passes via a secure (HTTPS) connection.

You can enable your SSL certificate through the Magento Admin area -> System -> Configuration -> Web. There you can define the insecure (non-SSL) and secure (SSL) URLs:

Note: Keep in mind that the SSL connection over HTTPS is slower than the HTTP. So, secured connection should be applied only to the pages that contain and process sensitive information/ data.

You can also refer this article to learn in detail how to set up SSL secure connection in Magento

Have any questions? Just drop a line here and you will have your answer!

About Gareth

Gareth is an editor at Tutorial Magento. His special hobby is to share magento knowledge and experience with everyone.

Leave a Reply

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


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Scroll To Top