Contact Menu

Search results for "exclude-wp-admin-cache"

wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…we’re in admin area – i.e. commenters stay logged out if( beresp.http.Set-Cookie && req.url !~ “^/wp-(login|admin)” ){ unset beresp.http.Set-Cookie; } # # don’t cache response to posted requests or those… (Search hits: 23 in body, 1 in title, 0 in categories, 3 in tags, 0 in other taxonomies, 0 in comments. Score: 1164.39)

Continue Reading 25

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…create a cached RSS xml file. #!/bin/bash # Preload WordPress Feeds for Website # UTC News wget http://blog.utc.edu/news/headlines.xml/ -O /data/web/prod/www/_resources/rss/wp-news.tmp >/dev/null 2>&1 TMP_LASTBUILD=”$(xml_grep ‘/rss/channel/lastBuildDate’ –text_only /data/web/prod/www/_resources/rss/wp-news.tmp)” XML_LASTBUILD=”$(xml_grep ‘/rss/channel/lastBuildDate’ –text_only /data/web/prod/www/_resources/rss/wp-news.xml)”… (Search hits: 3 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 128.19)

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading