Category: WordPress
Install Favicon into a WordPress website
1. Upload favicon.ico to the theme directory, e.g wp-content/themes/twentyeleven 2. Open file header.php, add the following code between <head> and </head>
WordPress: Sorry, this file type is not permitted for security reasons.
Add the following code snippet to functions.php. Change ‘filetype’ to the file type that is not permitted for security reasons
The Easy Way to Add Videos to WordPress
All we need to do to add (embed) a video into a post or page is to post the URL to it into the content area via Visual Editor You can set a maximum width and height The White-listed providers YouTube (only public videos – “unlisted” and “private” videos will not embed) Vimeo DailyMotion blip.tv Flickr…
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