Tag: wordpress
Fatal Error : Out of Memory in WordPress
WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of xxxxxx bytes exhausted”. This setting increases PHP Memory only for WordPress, not other applications WordPress will automatically check if PHP has…
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