How to Configure Robots.txt in Magento 2?

As you know, configuring robot.txt is important to any online store that is working on a site’s SEO.

You can configure the option by following below path in Magento 2.x admin.

Go to Stores -> Configuration -> General (Left side) -> Design (section) -> Search Engine Robots -> Default Robots (Select)-> Select

  • INDEX, FOLLOW Instructs web crawlers to index the site and to check back later for changes.
  • NOINDEX, FOLLOW Instructs web crawlers to avoid indexing the site, but to check back later or changes.
  • INDEX, NOFOLLOW Instructs web crawlers to index the site once, but to not check back later for changes.
  • NOINDEX, NOFOLLOW Instructs web crawlers to avoid indexing the site, and to not check back later for changes.

Now In order to set Custom Instructions.

For e.g:

Allows Full Access

Disallows Access to All Folders

Default Instructions

When complete, click Save Config.

If you have any query related to configure Robots.txt file then please write in comments.

Enjoy Magento 2!

Magento 2 – Dirty COW Linux OS Vulnerability

In Magento 2, you will see notification about Dirty COW Linux OS Vulnerability. So what is this ? What it means ?

Dirty COW (CVE-2016-5195) is a privilege escalation vulnerability in the Linux Kernel that can allow a local user (like a web hosting account) to gain root access to the server. This can also be a huge problem if your Magento store is compromised and the attacker has the ability to upload files to your server or hosting account.

More Information:

If you manage your own server, you will need to update the kernel (and reboot your server) once the security patch is issued by your operating system providers.

If you do not manage your own server or if you are using shared hosting, contact your server administrator or hosting provider to make sure that you are protected against this vulnerability.

Please take news into consideration and secure your online store.


Admin design configuration does not save in Magento 2.1.x


Find the file \vendor\magento\module-email\Model\AbstractTemplate.php and on line number 672 replace the if condition if ($storeId) with if ($storeId !== false)


When you are saving the Global Configuration for the Store, you can see in the url that the current scope id is 0 (admin/theme/design_config/edit/scope/default/scope_id/0/) This is important.

Now, when you save the configuration, Magento will try to validate the Header and Footer templates whether you change them or not, using the class Magento\Theme\Model\Design\Config. While doing so, Magento instantiates an object of class \Magento\Email\Model\Template which actually extends the class \Magento\Email\Model\AbstractTemplate.

Using this template class, Magento tries to emulate the template for the current scope. This is where the issue lies. You can find the code for this at line 670 of \Magento\Email\Model\AbstractTemplate.

Since the scope_id for the Global scope is 0 (Note: scope_id is being passed as storeId here), false is returned and Magento starts to look into adminhtml for the templates. Now all you have to do is change the if condition from if ($storeId) to if ($storeId !== false) and you will be able to save the configuration.


Best Magento 2 SEO Extensions for An E-commerce Website In 2017

Even if you are not familiar with the concept of SEO, there’s no reason to ignore its importance. For today’s post, I have compiled a list of recommended Magento 2 Extensions for SEO. You do not need to use all of these SEO plugins, but each works in a different way, so I would suggest choosing and using the ones that best suit your needs.

Best Magento 2 SEO Extensions

1. Magento 2 SEO Suite Ultimate Extension

SEO Extension for Magento 2

The 1st all-in-one SEO extension for Magento 2. Eliminate duplicate content issues, improve your site indexation and make it search engine & user friendly.

  • Solving duplicate content issues
  • Advanced crawling and indexation settings
  • HTML sitemaps/ Enhanced XML sitemaps
  • Cross links for internal linking structure
  • 11 SEO templates to optimize meta data
  • Hreflang tags support
  • SEO for Layered Navigation pages
  • Extended Rich Snippets
  • SEO Redirects


2. Magento 2 SEO Meta Templates extension

SEO Extension for Magento 2

Easily arrange a massive amount of meta data as well as optimize product and category descriptions. Create up to 11 different template types to savvily apply various attributes and make your store pages informative and search engine friendly.

  • Meta data templates for product pages
  • Meta data templates for category pages
  • Optimizing product and category descriptions
  • Generating SEO templates with Magento Cron
  • Multi Store Views templates
  • Testing templates before application
  • Flexible SEO meta template settings


3. Magento 2 Sitemap Suite Extension

SEO Extension for Magento 2

Create a snapshot of all your website links to let customers get a convenient overview of your website structure. Help search engines better crawl and index your store pages.

  • Advanced Magento 2 HTML sitemap
  • Extra HTML sitemap settings
  • The ability to add 3d party links
  • HTML Sitemap SEO settings
  • Individual product HTML sitemap settings
  • Extending the functionality of the default Magento 2 XML sitemap


4. Magento 2 Cross Links extension

SEO Extension for Magento 2

Optimize your store linking structure. Automatically replace any keywords/ keyword phrases with links to internal pages or relevant external sources.

  • Internal cross links
  • Placing links on product, category, CMS pages
  • Linking keywords by Category ID/ Product SKU
  • Auto-linking to external sources
  • Advanced keyword replacement and priority settings
  • Support of any national characters (with UTF-8 encoding)


5. Advanced SEO Suite for Magento 2

SEO Extension for Magento 2

Powerful Extension for SEO compliance of your online store. Search engines wants your website to be perfectly tuned for users, which may cost a lot for you. Advanced SEO Suite solution allows you to automate most SEO settings and save your time and money for SEO specialists!

  • SEO page analysis at a glance, using SEO Toolbar
  • Get advanced rich snippets for your store
  • Manage SEO settings for pages, categories and layered navigation
  • Create ultimate SEO templates
  • Manage Rewrites for meta tags to prevail other values
  • Automate Meta Tags management for your store
  • Generate advanced Sitemap for Google in HTML/XML format
  • Control all store redirects fast and easy
  • Configure canonical URLs for your online shops
  • Increase your store search engine visibility and grow CTR indicator!


Did we miss a good Magento 2 SEO extension? Let us know in the comments sections.

If you are looking for a robust Magento cloud hosting platform, bring your Magento store to Cloudways and get free trial.

5 Best Product Attachments Magento 2 Extensions For 2017

Enhance your customer experience with maximally informative product pages. Easily attach various types of downloadable files: user manuals, video guides, price lists, any kind of product documentation and more. Let customers get more details about products they purchase.

Well, luckily for you, the world of Magento 2 extensions comes to your rescue yet again.

Today, we will show you the 5 Best Product Attachments Magento 2 Extensions. To help you narrow the search, here is a list of highly rated, popular extensions.

Product Attachments for Magento 2

1. Magento 2 File Downloads and Product Attachments

Product Attachment Magento 2

  • Adding downloadable files of any format
  • Assigning product attachments by a product ID or SKU
  • Convenient file uploads management
  • Setting download limit
  • Basic file download stats
  • Advanced file download user permissions
  • Advanced file upload options and multi-file upload
  • Detailed file download reports


2. Product Attachments for Magento 2

Assign multiple attachments (groups) to multiple products with custom icon & any file extension supported.

It allows upload multiple file types such as pdf, docx, jpg, jpeg, png, ppt, docs, images, etc. Store owner can upload particular file from add product page under attachments tab. Provides maximum upload file option from configuration panel. Show attached files on product detail page in attachments tab or inside product info block. Store owner can upload any number of files and also set restrictions for particular file upload.


3. Product Attachments for Magento 2

Product Attachment Magento 2

Let customers get more details about products they purchase. Provide them with accurate manuals, licenses, warranties and other additional info right on product pages. Upload files of any format and use catchy icons to capture customers’ attention.

  • Upload files with drag and drop option
  • Add an unlimited number of attachments
  • Use various file types
  • Keep track of file downloads
  • Display nice-looking attachment icons


4. Product Attachments for Magento 2

Product attachment extension allows you to upload files to products and CMS pages such as user guides, pricing, tutorials and manuals so that your customers can download them.

You can upload files in various formats, including ppt, docs, PDF, images and audio/visual media. Restrict files to customer groups and store view to avoid unnecessary downloads. Links and videos can be added to make the website more informative.

  • Attach Multiple Files On Product & CMS Pages
  • Separate Files Download Page With Categories
  • Supports Multiple File Formats & Display Icons
  • Restrict By Customer Groups & Store View
  • Add Links & Videos Attachment


5.Magento 2 Product Attachment

The Product Attachment Extension brings an ideal solution to make you become a professional and trustworthy merchant in the eyes of customers. It gives you a chance to provide the shoppers full product information with various types of file. Owing to these useful attachments, the buyers might have more confidence as well as interest in your shop and finally “add more items to their shopping cart”.

  • Attach a wide range of files with diverse file types
  • Help customers gain better understanding about your products
  • Establish advanced file download permissions
  • Manage all uploaded files easily and effectively


These Magento 2 extensions are expected to better your store and enhance your endeavours to a whole new level.

Here you have some options. Maybe you have tried one of these plugins, or maybe you are currently using one not on this list.

Which Product Attachment Extension for Magento 2 is your favorite?