Triyugi Narayan Mani
  • Member for 7 years, 6 months
  • Last seen more than 3 years ago
  • Uttar Pradesh, India
How to Restrict magento admin panel access via particular IP addresses/ranges
3 votes

You can place following in .htaccess file: RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Or you ...

View answer
How can I apply error reporting in Magento 2?
1 votes

You can set the developer mode on by using following command: php bin/magento deploy:mode:set developer It should enable error reporting. When your purpose is done return back to default mode. If ...

View answer
Console errors after installing Magento-CE-2.0.2
Accepted answer
1 votes

You can try following: step 1. php bin/magento setup:static-content:deploy step 2. php bin/magento indexer:reindex step 3. make sure apache "rewrite_module" is enable and then restart the server step ...

View answer
How to hide a div on Checkout Page but show on other pages using header.phtml?
0 votes

You can get checkout page url by: $url1=Mage::getURL('checkout/onepage') And current url by: $url2=Mage::helper('core/url')->getCurrentUrl() Now you can compare if these two are same like: if($...

View answer
Issue Removing Sitemap Footer Link
0 votes

Go to System-->Configuration-->Catalog-->Search Engine Optimization and then disable Autogenerated Site map.

View answer