Tag Archives: wp-config

wordpress security

Protect WordPress Config Files From Direct Access

This is a must have snippet for your Live WordPress installations. It protects WordPress configuration and information files. It prevents directory browsing and direct access to Linux hidden files (The files that start with a dot/period).

Snippet: Set maximum number of post revisions to avoid DB overhead

Revisions are stored as separate posts, the more revisions the more space they will take inside database. To avoid this database overhead there is a constant inside config file for maximum revisions.