I contacted PageSpeed and received this response:
Thank you for trying PageSpeed Service and for reporting the issue.
To implement X-forwarded-for on your domain we suggest you some steps to follow as below:
1.You need to edit the wp-config.php file located in the root of your site. At the top of the file (? And after the <php), add this code snippet:
// ** WordPress x-forwarded-for ip fix ** // if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $xffaddrs = explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']); $_SERVER['REMOTE_ADDR'] = $xffaddrs[0];
}
2. Now, disable the rewriters as per the first screenshot attached.
3. Then, flush caches as per the second screenshot and then turn rewriter again.
It will take 24 to 48 hours to propagate successfully.
http://www.seeyar.fr/pss-proxy-publisher-failure/ - for screenshots
Please let us know if you face any other issues.
I just added the code to my wp-config a few minutes ago so I'm waiting to see if this helps.
I don't know what exactly x-forwarded is. ??? If it might have been an upgrade my hosting did or what but I've got my fingers crossed this helps.