Simplified Nginx Proxy for Google URLs in WordPress

In Nginx proxy for Google URLs in WordPress, I wrote lots of lines configuring proxies and subs_filter rules.
Here is the newer simplified one:

Updated(2014-09-19):

Simplified Nginx Proxy for Google URLs in WordPress by @sskaje: https://sskaje.me/2014/01/simplified-nginx-proxy-google-urls-wordpress/

Incoming search terms:

Add Tags, Categories, Incoming Search Terms to 404 Page for WordPress

I have ‘SEO Search Terms 2’ and ‘WP Super Cache’ installed.
So:
in wp-config.php at the end

in 404.php under your theme:

Code resource:
http://codex.wordpress.org/Function_Reference/the_widget
http://codex.wordpress.org/Widgets_API#Displaying_Widgets
http://codex.wordpress.org/Widgetizing_Themes

Add Tags, Categories, Incoming Search Terms to 404 Page for WordPress by @sskaje: https://sskaje.me/2014/01/add-tags-categories-incoming-search-terms-404-page/

Nginx proxy for Google URLs in WordPress

I wrote a script how to make fonts.googleapis.com not bring down the load speed of WordPress for visitors from China.
Here is the link: Google Font Api Proxy for WordPress
To use this proxy, I have to edit themes’ files even the script-loader.php by WordPress, that’s a disaster for upgrading.

Another problem is, I have SSL enabled on my blog. Every time I visit my blog, Chrome notices me that

The page at ‘https://sskaje.me/’ was loaded over HTTPS, but displayed insecure content from ‘/p/themes.googleusercontent.com/static/fonts/opensans/v6/xxxxxxxx.woff’: this content should also be loaded over HTTPS.

The SSL green lock icon in the address bar is always be ‘warned’.

Continue reading “Nginx proxy for Google URLs in WordPress” »

Nginx proxy for Google URLs in WordPress by @sskaje: https://sskaje.me/2014/01/nginx-proxy-google-urls-wordpress/

Google Font Api Proxy for WordPress

The https://fonts.googleapis.com/css used by WordPress’s theme is buggy for visitors in China. So I wrote a simple proxy.

Code as:

URI: https://sskaje.me/sskaje/googlefont.php

Here’s where the resource locates.

Change ‘fonts.googleapis.com/css‘ to ‘sskaje.me/sskaje/googlefont.php

Google Font Api Proxy for WordPress by @sskaje: https://sskaje.me/2013/11/google-font-api-proxy-for-wordpress/