Magento Common Questions and Answers

Magento popular questions
It's only fair to share...Share on Google+Pin on PinterestTweet about this on TwitterShare on LinkedIn

Where Can I find Magento log files:

Sometimes you find that your Server storage is increasing without any major traffic or changes to the site. This can be due to swelling Magento error logs file which are used to log and record errors related to database or files.

You can find them in /var/log within your root Magento installation. The log files are usually two files by default, exception.log and system.log. if you do not see the error log, you can create these from the admin by going to System > Configuration > Developer > Log Settings > Enabled = Yes

How to create XML Sitemap in Magento?

A sitemap is an important piece of information which helps Google and other search crawl and find your web pages. Magento has an built-in function to generate an XML format sitemap containing the URLs for Category pages, Product pages and CMS pages. To create the sitemap, simply go to Catalog > Google Sitemap and add a new sitemap. You can also use third part extensions for better sitemaps such XML Google Sitemap from Amasty or Creare HTML Sitemap

How do I remove index.php from Magento?

If you website is displaying the address in the browser as www.example.com/index.php, you need to get rid of index.php  and it should only display www.example.com as Google treats this as 2 separate pages which same content.  You can write a code in the .htaccess file to fix this problem.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

How can I change the Magento Admin password?

If you simply want to change your admin password, do the following:

Login to the Magento admin, go to System > My account and change the password:

If you forgot your admin password, you can simply recover it using forgot the password option. For advanced users, go to phpMyAdmin via cPanel, click on the Database for your site, Click on the SQL tab and type the following in to the text box:

UPDATE `admin_user` SET `password` = MD5('PASSWORD') WHERE `username` = 'USERNAME';

Here usename is the user for whom you will be changing the password and Password field is the new password.

For complete support on Magento, contact our team. We are an experienced team of Magento developers in Canada and have developed hundreds of Effective e-Commerce solutions for all business needs.