Hilo90mhz

Webdev

Apache server-status – Allow localhost only

To prevent wordpress from trying to serve the server-status page local .htaccess file : # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # rewrite rule for server-status to prevent 404 error RewriteCond %{REQUEST_URI} !=/server-status RewriteRule . /index.php [L] # END WordPress To enable local access in…

Missing WordPress Icons on two domain website caused by Cross-Origin Resource Sharing policy

Ahh missing fonts and icons and such caused by two domain names on one site.. This particular instance involved using Polylang plugin and one domain for each language accomplished by a second domain alias, which confused the server into denying access from the secondary language site to the font files. “has been blocked from loading…

Hostgator(shared) vs DigitalOcean vs Linode – with PHP benchmark

Hostgator shared hosting plan – what I am moving away form: Putting Host Gator in here is not a very fair comparison because I was on their shared hosting plan, not their VPS plan which would be $40 a month.. ————————————– | PHP BENCHMARK SCRIPT | ————————————– Start : 2014-08-21 01:38:29 Server : ~~~~~~~~~ PHP…

Webserver Hints :)

  Virtualmin Specific Fixing file permissions for virtual servers on virtualmin:¬†go into Limits and Validation(bottom of virtualmin section) -> Validate Virtual Servers -> Fix Permissions File manager is located under Webmin > Others > File Manager Redirect Settings:¬†Server Configuration > Website Redirects – set the source url for / for entire domain redirect – for…

PRTG Network monitor

– You can use PRTG to monitor SNMP capable access points and many other web enabled devices remotely. Creates a local install on windows which can be logged into remotely or even send you email alerts if something goes wrong. http://www.paessler.com/prtg You can also get 30 sensors for free vs only 10 for the normal…

wp-admin cant login issue with google chrome

If I click on the “Site Admin” link in the Meta widget on this wordpress install in chrome on this laptop it goes to a redirect loop and never actually logs in as explained here: http://productforums.google.com/forum/#!topic/chrome/kzYekzU1pMk I was able to identify the issue. ¬†When visiting¬†site.com/wp-admin¬†the url is opening the following. http://www.site.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.site.com%2Fsite%2Fwp-admin%2F&reauth=1 Which in effect is…