WAMP XAMPP: Localhost server not working

Problem: I am unable to start the localhost server (wamp / xampp). When I type http://localhost or http://127.0.0.1 in Firefox, I get the following error message:- Unable to connect Firefox can’t establish a connection to the server at localhost. When I type http://localhost or http://127.0.0.1 in Google Chrome, I get the following error message:- This … Read more

PHP MaxMind GeoIP: Get country, city, postal code & much more by IP Address

This article describes how to get country and city information using MaxMind‘s GeoIP technology. You provide the IP address of the visitor and GeoIP can give you country and city information for that IP address. About MaxMind Founded in 2002, MaxMind is an industry-leading provider of geolocation and online fraud detection tools. MaxMind provides its … Read more

WordPress: Archive link not working

Scenario:- My archive link is not working in my WordPress blog. Precisely saying, the date-based archive is not working. I am redirected to 404 page when I try to access Yearly Archive or Monthly Archive. Cause & Solution:- The main cause for this problem (in my case) was “Robots Meta Plugin“. This plugin makes it … Read more

Magento: How to disable / remove Secret Key from Admin URL?

A new secret key is created every time you login to Magento Admin. So, there will be a unique key (32 chars long) for each session of your Magento admin login. This key is appended to the admin URL as http://your-admin-url/key/743c37b1…adf6588/ This is basically added for security reason. In their release note, Magento say that … Read more

Magento: How to change Admin URL Path?

Here is a quick guide on how to change admin url path in Magento. This need to be done for security reason to be safe from hacking/cracking issue. Basically, this is done not to let any general user to access the admin page. Generally, we do have ‘admin‘ as the administrator path for Magento. So, … Read more

Magento: Create Shopping Cart Price Rule Programmatically

This article will show you how to create shopping cart price rule in Magento through code. Shopping Cart Price Rules are applied when the customer reaches the shopping cart. To create a Shopping Cart Price Rule from Admin Panel, we go to Promotions -> Shopping Cart Price Rules and select Add New Rule. Basically, there … Read more

Magento: Create Catalog Price Rule Programmatically

Here, you will see how to create Catalog Price Rule in Magento through code. Catalog Rules are applied on products before they are added to the cart. To create a Catalog Price Rule from Admin Panel, we go to Promotions -> Catalog Price Rules and select Add New Rule. Basically, there are three main parts … Read more