How to Fix Common Magento Issues?

Many times it happens that you get an error “Access Denied”. To solve this issue, firstly you should log out from the Magento admin area and then try to log in again.

If the above does not work, then reset the admin privileges. You can do this through Magento admin area >System > Permissions > Roles > Administrators.

Now click the”Role Resources” option on left menu and please make sure that Resource Access is set to All.

Afterwards, click on the Save Role button and the admin permissions will be reset.

2. How to implement 301 redirect in Magento

301 redirect is one of the techniques of SEO. This means redirecting your visitors to open your site only through www (http://www.websitename.com).

To implement 301 redirect in Magento, you need to make some changes in your .htaccess file which is lying in the folder where your Magento is installed. Now open your .htaccess file and locate the RewriteEngine on line and right after it add the following lines:

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

For Configuring Google Analytics in Magento, you must have 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.

If you don’t have Google Analytics Account, then you need to sign up at http://www.google.com/analytics/sign_up.html. After signup add your website. Once you have added your website, you’ll receive a Google Analytics account number. 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.

5.How 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 MagentoAdmin 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.