Pass mobile friendly check
-
If i block the caching directory via robots.txt the Google mobile friendly check has no chance to reach my .css or .js resources.
But i wrote this code to allow all .css and .js resources and also the ones with ?ver=6.2 (etc) parameters.
User-agent: *
Disallow: /wp-content/cache/cachify/User-agent: *
Allow: /wp-content/cache/cachify/.js$
Allow: /wp-content/cache/cachify/.css$
Allow: /wp-content/cache/cachify/.css?
Allow: /wp-content/cache/cachify/.js?
Allow: /
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pass mobile friendly check’ is closed to new replies.