Tag: wp
Hide the Apache Web Server Version number
There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. The ServerTokens directive controls whether Server response header field which is sent back to clients includes a description of the…
How to disable directory browsing?
One of the must do on setting a secure Apache webserver is to disable directory browsing. This could prevent the server from showing a listing of the existing files if there’s no index in one folder. Disable directory browsing via .htaccess Add in the .htaccess file the following
Hide the WordPress version you are running
If you are running an old WordPress version with known vulnerabilities, it is unwise to display this information to the public. Why not simply hide the WordPress version entirely? Add the following to functions.php or
Facebook Share Button
Facebook Share is one of the most powerful and simple ways for users to share articles, pages, video, or Flash content from your site with their friends on Facebook. Over 1 billion pieces of content are shared each week on Facebook, and many of those are links shared using Facebook Share. Right now, Facebook Like…
WordPress: Automatic Feed Links
WP themes usually have the following code in header.php Remove above when you are using the following code This automatically adds the relevant feed links everywhere on the whole site. Standard feed, comments links, category and tag archives, everything as it should be.
WordPress: Click an attachment image to view next image in order
Add the following to the top of attachment.php Find your attachment image code in attachment.php