washingtonstateuniversity / WSUWP-Platform

Central publishing platform built on WordPress at Washington State University
Other
34 stars 1 forks source link

[PR] Log invalid domain requests in sunrise.php before redirecting #336

Closed jeremyfelt closed 8 years ago

jeremyfelt commented 8 years ago

It's nice to know what invalid domains are hitting WordPress on the platform so that we can adjust DNS or Nginx config accordingly. An invalid domain doesn't cause much trouble, but handling it involves a php-fpm thread and a couple MySQL queries.

jeremyfelt commented 8 years ago

@philcable I accidentally hit merge before commenting with #reviewmerge... Can you take a look at the diff when you get a chance to make sure nothing's off? Thanks! :)

philcable commented 8 years ago

@jeremyfelt Sure thing!

philcable commented 8 years ago

@jeremyfelt Looks good to me 👍