Sometimes when we install the WordPress themes or WordPress plugins we may failed, just because there are some small problems with the server settings. If you meet the following error, just read this post to find the solutions.
Downloading install package from http://downloads.wordpress.org/plugin/zip.
Unpacking the package.
Installing the plugin.
Could not create directory.
Plugin Install Failed.
There are two main reasons, the folder write permission and the folder with different owner.
Change permissions on the /wp-content directory to 0775
if not work Change permissions on the /wp-content directory to 0777.
uploading the plugin manually via FTP
If you using Linux VPS or Hosting, you can change the folders owner.
Usually, change the root or some other owners to www
Use putty to login your site, change the ownership.
More and more people using mobile and pad to surfer the internet these days, for most of the websites, 60-80% visitors using mobile now, so make your site responsive is accessory.
For some of the “old” WordPress themes, they’re responsive, but the images you insert with captions don’t behave responsive, I have found some solutions, but most of them are not easy to use, here is a simple way to make your images with captions responsive.
WordPress responsive images with captions
What you do is just change some of the file style.css
Removing a string in a PHP file with Start and End
I found my WordPress sites were infected by an exploit and and I’m trying to clean the codes, all php files on the server were added a line like this:
at the beginning of it :
<?php if(!isset($GLOBALS[“\x61\156\x75\156\x61”])) and ends with -1; ?>.
These codes were added at the begin of all the php files.
Yes, your website was hacked! I searched for a long time, and finally find the solution!
You can follow this guide. You can copy the code and run on your server.
If the code can’t work, and get the error like this:
/bin/sh^M: bad interpreter: No such file or directory
you need to change the code from DOS to UNIX with the tool UltraEdit
In order to make sure you have removed all the codes, you can use this tool – Web Shell Detector.
Web Shell Detector – is a php script that helps you find and identify php/cgi(perl)/asp/aspx shells. Web Shell Detector has a “web shells” signature database that helps to identify “web shell” up to 99%.