Why WordPress Asks for Connection Info
You can also add this to wp-config.php to get rid of the FTP prompt in case you have write permissions but WordPress does not understand it correctly:
1 |
define('FS_METHOD', 'direct'); |
Why WordPress Asks for Connection Info
You can also add this to wp-config.php to get rid of the FTP prompt in case you have write permissions but WordPress does not understand it correctly:
1 |
define('FS_METHOD', 'direct'); |
The stock mod_auth_mysql package in Ubuntu is not able to authenticate against the phpass password hashes stored in the WordPress database.
There seems to be a patch lying around to enable phpass authentication in mod_auth_mysql. Its inclusion in mod_auth_mysql has been requested a long time ago, and again more recently, but for one reason or another it has been declined. Inclusion of the patch into the Debian package has also been requested.
Thanks to Peter Lamberg, there are good instructions around on how to apply the patch and enable it. I’ve made available a pre-compiled 64-bit package here: Continue reading Apache HTTP authentication against WordPress password database
I wanted to make the indivitual post pages 100% wide, and also the headings a bit bigger. Here’s the CSS to do it:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
/* Make individual posts full-width */ .singular.page .hentry {padding:1em;} .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title { width: 100%; } /* Fix the edit button placement */ .singular .entry-meta .edit-link a { bottom: auto; left: 0px; right: auto; top: 30px; } /* Make headings a bit bigger */ .singular .entry-content h1 { font-size: 28px; margin-top: 44px; } .singular .entry-content h2 { font-size: 18px; margin-top: 28px; } |
Example text 1
Example text 2
I used the Add to All plugin to do it. Seems to work fine. Thanks go to:
As a first excercise in creating WordPress plugins, I decided to write an extremely simple widget which can be used to lure spammers’ address harvester bots to honeypots, for example ones set up using the Project Honey Pot web site. If you want to help fight spam, just sign up for free at their page and follow the instructions. You can add your honeypot to your WordPress site using the Hunajapurkki widget. Continue reading Hunajapurkki: A honeypot link widget for WordPress
To force SSL logins and the administration interface, edit wp-config.php and add these before the “/* That’s all, stop editing! Happy blogging. */” line:
1 2 3 4 |
define('FORCE_SSL_LOGIN', true); define('FORCE_SSL_ADMIN', true); /* That's all, stop editing! Happy blogging. */ |
You must set up Apache to use SSL of course.
A lot more info can be found here: