Redirector rules (https://einaregilsson.com/redirector/)
fonts.gstatic.com
Description: Replace google fonts with self hosted version
Example URL: https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2
Include pattern: ^https://fonts\.gstatic\.com/(.*)
Redirect to: https://[YOUR DOMAIN HERE]/$1
Pattern type: Regular Expression
fonts.googleapis.com
Description: Replace google fonts with self hosted version
Example URL: https://fonts.googleapis.com/css?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swap
Include pattern: ^https?://fonts\.googleapis\.com/css(\?.*)$
Redirect to: https://[YOUR DOMAIN HERE]/css/$1
Pattern type: Regular Expression
Description: Replace google fonts with self hosted version
Example URL: https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swap
Include pattern: ^https?://fonts\.googleapis\.com/css2(\?.*)$
Redirect to: https://[YOUR DOMAIN HERE]/css/$1
Pattern type: Regular Expression
in advanced options, apply to all, and set process matches to No Processing
(optional example image below)

Redirector rules (https://einaregilsson.com/redirector/)
fonts.gstatic.com
Description:
Replace google fonts with self hosted versionExample URL:
https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2Include pattern:
^https://fonts\.gstatic\.com/(.*)Redirect to:
https://[YOUR DOMAIN HERE]/$1Pattern type:
Regular Expressionfonts.googleapis.com
Description:
Replace google fonts with self hosted versionExample URL:
https://fonts.googleapis.com/css?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swapInclude pattern:
^https?://fonts\.googleapis\.com/css(\?.*)$Redirect to:
https://[YOUR DOMAIN HERE]/css/$1Pattern type:
Regular ExpressionDescription:
Replace google fonts with self hosted versionExample URL:
https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swapInclude pattern:
^https?://fonts\.googleapis\.com/css2(\?.*)$Redirect to:
https://[YOUR DOMAIN HERE]/css/$1Pattern type:
Regular Expressionin advanced options, apply to all, and set process matches to
No Processing(optional example image below)