background img

The New Stuff

Six Common Magento 2 Issues with their Specific Solutions

Magento has emerged as the number one commerce platform in the world. The leading brands love Magento as it offers the flexibility to customize your platform to suit your unique business needs. It also allows you to create unique experiences for your customers and adapt fast to their changing buying patterns.
In November 2015, Magento 2 was released to the world which was an improvement over its beta release. The company had taken great care to resolve the issues developers were confronting with the beta version. In spite of that few issues were left as discussed below:

1. Installation issues

Before you begin your Magento installation, refer tutorial. If you want to install Magento via the command-line interface (CLI) then it’s recommended that you go through the Magento installation guide. In the document step by step procedure has been clearly mentioned to help you install Magento software via CLI. In case, you come across any Magento issues its better to refer a Magento certified solution specialist.

2. Clearing CSS cache

Sometimes the effect of CSS updates is not reflected on the front page. However, you can sort this out by running the following commands in the Magento 2 root directory:
rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/*
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
php bin/magento cache:flush 

3. Re-indexing

Have you encountered messages like,“One or more indexes are fully invalid”? Do not worry; this issue can be easily resolved. In the root directory of Magento 2 run the below mentioned command:
php bin/magento indexer:reindex 

4. Ecommerce site is slow

If the speed of your site is slow, the most probable reason could be JavaScript and CSS. If you minimize their amount the issue will be resolved.
Under the Advanced tab, click on Developer; then under settings section – Enable JavaScript Bundling. Put yes, in the field of Minify JavaScript files. Similarly, Minify CSS files and put ‘yes’ in the field of merge CSS files.

5. Forgot admin password

Forgot Magento 2 admin password? Nothing to worry as you can easily recover it by following these instructions. Locate admin_user table in your Magento 2 database and replace the existing password with a new one. Keep in mind to insert your password in MD5 function.

6. Redirect in order to open through WWW

Go to your Magento 2 directory and open .htaccess file located inside the same. There figure out the “RewriteEngine on” line and paste the below mentioned code right after that line:
RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
After completing this remember to save the .htaccess file. Now log in to the administrative end of your Magento store. There go to Stores > Configuration > General and then click on the Web button. There under the General tab unfold the “Base URLs (secure)” set of options and change the “Secure Base URL” option from https://domain.com to https://www.domain.com.
Save the changes and now on your Magento 2 web shop will run with https://www.domain.com only.
Magento 2 stores issues often demand some technical knowledge, but nothing to ponder about as help is just a few clicks away. You can consult experts adept at delivering Magento development solutions and get your issues resolved.

Wrapping up

Are you confronting any Magento issues at your e-Store? Do let us know by leaving your comments below. Our Magento experts would love to help you out.

0 comments:

Post a Comment

Popular Posts