There has been a lot of discussion on how to safely redirect an Elgg address when the “www” part of the url is omitted. There is a lot of documentation on how to do this directly in the .htaccess file. However, any wrong modification could hurt your Elgg site and make it unaccessible. In this article, I will give you step by step guide on how to redirect your Elgg site from mydomain.com to www.mydomain.com
I am writing this post as I recently had a security hole in one of my scripts, which, fortunately, nothing bad happened. There are basic things you must always add to your PHP code when handling forms. I will tell you some very essentials that can’t be ignored to avoid SQL Injection attacks.
Tags: basic, essential, Form, handling, holes, html, injections, intruders, php, security, sql, tips, when
Posted under Security/Vulnerability