Cornwell
Forum Replies Created
-
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] Hide wp-adminI am having a problem with repeated attempts to login. Even though the Rename Login Page feature has been installed and implemented, the bot is still trying /blog/wp-login.php several times a second. As my standard 404 code is almost 20k I was running out of bandwidth.
I have blocked the IP via the 404 firewall feature which is fine till they try a different IP address.
While the setting you are thinking about will be quite useful for humans who make a mistake, for repeat offenders, i.e. bots, then a redirect to 127.0.0.0 would be much more useful as it will eat up much less bandwidth.
I’m trying to view events and it is very similar, just substitute /events/ for /groups/ above, and it could be what I am trying to do. I hope any resolution can take this on board.
Forum: Fixing WordPress
In reply to: Error to wp-settingsI hit this problem — but I managed to solve it.
On looking in the wp-includes folder I noticed a large number of files with zero length. Fortunately I have six installations of WordPress and had already successfully upgraded two of them. I was able to overwrite the zero length files with copies of the correct versions from one of those successful installations.What caused this to happen I do not know, I blame Fantastico.
Forum: Everything else WordPress
In reply to: Comments turned off, but comments coming through!As well as running the MySQL update as recommended by DougCastell (above), I renamed wp-backtrack.php then scanned the whole of the WP code looking for references to it. Only two other files were affected, both in the wp-includes directory: comment-template.php (2 instances) and template-loader.php (3 instances). I edited these to match my new name. Since then I have not had any backtrack spam.
Forum: Fixing WordPress
In reply to: possibility of renaming wp-trackback.phpI renamed wp-backtrack.php then scanned the whole of the WP code looking for references to it. Only two other files were affected, both in the wp-includes directory: comment-template.php (2 instances) and template-loader.php (3 instances). I edited these to match my new name. Since then I have not had any backtrack spam.
Forum: Fixing WordPress
In reply to: Images don’t show in FirefoxIs it possible you are using backslashes \ when Firefox expects forward slashes / ?
Internet Explorer has a bug, in that the correct format of a URL separates directories with forward slashes but IE tolerates backslashes, which are not strictly correct.
Forum: Plugins
In reply to: Reverse order postingWell, a lack of responses to my post (above) led me to investigate further. And it seems to be surprisingly simple. In the example above, instead of
if ('11' == $cat) {
$order='ASC';
}
you need to code
if ('11' == $q['cat']) {
$q['order']='DESC';
}
Roger
Forum: Plugins
In reply to: Reverse order postingIn version 1.5 (just installed) the code isn’t in wp-blog-header.php but I found it in wp-includes/classes.php on line 460.
I can get it to change the order on all categories, simply by changing ‘DESC’ to ‘ASC’ but the change to some categories doesn’t seem to work, presumably because the variable isn’t called $cat any more?
Roger Cornwell