Page Rules Wildcard

pagerules

#1

Hi there,

I have a question about the page rule’s wildcard settings.
We’re using Magento 2, the static file path will be assigned a different static version (i.e. version1525936950) in URL when re-deploy every time.

Example:
www.domain.com/pub/static/version1525936950/adminhtml/Magento/backend/en_US/Mirasvit_CacheWarmer/template/grid/column/status.html

Is it possible to replace the “versionxxxxxxxxx” by a ‘*’, the pattern like this?

www.domain.com/pub/static/*/adminhtml/Magento/backend/en_US/Mirasvit_CacheWarmer/template/grid/column/status.html

Thanks,
Perry


#2

Yes that should work.


#3

Thank you. I just set the rule but it’s not work.


#4

This topic was automatically closed after 14 days. New replies are no longer allowed.