Hot answers tagged

4

Please follow below step: 1) rm -rf var/generation var/view_processed/ var/di/ var/cache/ var/page_cache 2) rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs/ And after that run upgrade and deploy command. Don't forget to give proper permission as below: chmod 777 -R pub/static/ var/ Hope this will helps you.


4

No. So much for Magento Gold Developer partners. I think they just don't care about PSI. Some don't care about performance benchmarks at all. Without giving out names I was approached by a client whose site was migrated to M2 from M1 by some Magento partner. They complained about poor TTFB (time to first byte). Turned out they had an extension that adds ...


3

90 is actually a pretty good score for a Magento 1.x or 2.x Desktop site. With the Pagespeed module working correctly it should remove the css rendering problem. Do you know which version of Pagespeed you are using? It is always ironic with Pagespeed that the external Google javascript for analytics etc ends up affecting the rank due to the cache settings ...


1

It's something in the robots.txt You could just delete it as it will not hurt anything to have it or not have it. People think the robots.txt makes a difference in SEO - only if you have robotted out pages you want indexed. Otherwise it makes no difference on 99.9% of sites. So delete it and fetch in SC - that should go away.


1

I am afraid this has nothing to do with Magento, but with Google itself https://searchengineland.com/google-officially-increases-length-snippets-search-results-287596 Some webmasters and SEOs may consider updating their meta descriptions, but I don’t believe Google would recommend doing so. The snippets are more often dynamically generated based on the ...


1

You can add below code in one file (catalog_product_view handler) and make adjustments accordingly. It will help to add all options of structured data. Hope this helps $_product = $this->getProduct(); $summaryModel = $block->getReviewSummary(); $reviewCount = $summaryModel->getReviewsCount(); if (!$reviewCount) { $reviewCount = 0; } $...


1

In admin Go to: Content -> Design -> Configuration Edit Global settings In Search Engine Robots tab: Select Default Robots value to "Noindex, Nofollow" Flush cache. In addition You can also disallow all bots not to crawl your website by adding robots.txt in your project root directory and pub directory robots.txt will contains following lines User-...


1

I tracked down the exact problem code line. It is inside the function getCollection() from the class Mage_Sitemap_Model_Resource_Catalog_Category: public function getCollection($storeId) { /* @var $store Mage_Core_Model_Store */ $store = Mage::app()->getStore($storeId); if (!$store) { return false; } $this->_select = $...


1

There was an error in your SQL: AND url_rewrite.category_id IS NOT NULLurl_rewrite.id_path LIKE 'category/%' should looks like: AND url_rewrite.category_id IS NOT NULL AND url_rewrite.id_path LIKE 'category/%' Possible there was some kind of modifications made by some third-party observer. Take a look at modules installed in your system and check all its ...


1

If you are currently working in your localhost or under a private network this issue will happen because Gmail uses Google's secure proxy servers to serve images. If your website is publicly accessible you will not face this issue. You can bypass the image url proxy but it is not recommended for security reasons. Refer the below link https://support....


1

as your website is responsive, it is wise to reduce content for mobile view since google page speed testing using different connection between desktop and mobile, it's still okay if in desktop your page is loaded 1-2 mb size, but for mobile view it not too efficient since mobile supposed have poor connection, although in real life some people use same ...


1

Class EntitySpecificHandlesList comes from version 2.2.x and doesn't exist below 2.2.x. So definitely it would be the exception.


1

The Price you have specified is 3,999 where as google accepts it in simple number format. See Usage guidelines: Use the priceCurrency property (with ISO 4217 codes e.g. "USD") instead of including ambiguous symbols such as '$' in the value. Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a ...


1

Here is how it will work. Upload images to google cloud and point your CNAME (gcdn.example.com) to google cloud end point. Go to system > configuration > web > unsecure/secure. Change your media url to gcdn.example.com/media.


1

If you are right and problem is CORS: Use the following directives on your apache: RewriteEngine On RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ $1 [R=200,L] Also add: Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS" While using CORS ...


Only top voted, non community-wiki answers of a minimum length are eligible