Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Edit php child themeYes that’s it. To the best of my recollection (a bit dubious at the best of times) I’ve never had an issue with an updated parent theme affecting a child. Nevertheless, I always run a diff tool, just to see what changed anyway.
Forum: Fixing WordPress
In reply to: Massive bandwidth usage, after restoring to previous backupThose few examples you’ve linked to show requests from China. It could be that they are trawling your site for potential weaknesses and maybe attempting to access your site by brute force login attempts. It looks like your site runs Nginx on a VPS so you should be able to abstract your security up to a server level instead of relying on WordPress plugins.
A combination of tools like Fail2ban, req-limiting and geo-ip restricting will slam the door in the face of the attackers. Here’s some reading material:
WordPress login security with fail2ban
Rate limiting with Nginx
Nginx – How to block visitors by countryForum: Fixing WordPress
In reply to: Spam. WordPress, please stop emails from wordpress@home.etcThe WordPress end is your site/server. There is nothing anyone here can do to stop your site sending you emails.
First thing to do is gain access to your site’s server and mail logs. You need to establish where these phantom comments originate and the log files is the very first place to start looking. You may have access to them through your hosting panel.
Forum: Fixing WordPress
In reply to: Ever since 3.9.1, WordPress has become unusableDoing a manual update means overwriting core files with new copies. You can read about how to do it here:
Forum: Fixing WordPress
In reply to: Edit php child themeIf you make any edits to the theme’s php templates, these should never be done in the parent theme and always done in the child. If the parent theme is updated, run a diff tool (GUI or CLI) over the two directories, parent and child, to see what changes have been made. You will see your edits as well as any new parent changes. You can then re-create your edits in the new parent template or mirror the parent edits in your child.
Theme files generally aren’t updated with the same frequency as plugin files so the task of checking for changes shouldn’t be too arduous.
Forum: Fixing WordPress
In reply to: Ever since 3.9.1, WordPress has become unusableThat URL produced this:
Forbidden – You are not permitted to browse this site.
Have you tried manually updating your WordPress core files to see if there as an error when you upgraded to 3.9.1?
Forum: Fixing WordPress
In reply to: Ever since 3.9.1, WordPress has become unusableCan you provide a URL to your site, in particular one that fails to show added media files?
Forum: Fixing WordPress
In reply to: WordPress site is breaking framesIsn’t this post a duplicate of this one:
http://wordpress.org/support/topic/breaking-frames?replies=2
Forum: Fixing WordPress
In reply to: WordPress Site Redirects To Porn On iPadI replaced any files I found with clean originals. I also replaced every WordPress core file and re-did the wp-config files.
As for the “.. ” files, note the space at the third character.
Forum: Fixing WordPress
In reply to: WordPress Site Redirects To Porn On iPadI deloused a system last week that had this particular infection. It seemed to restrict itself to files inside wp-content/ other than the wp-config.php file. It was attracted to many files named index.php as well as several theme and plugin files
I noticed that the infected files were all over 24K in size so I ran the linux find command to find files over that size and piped the resulting files to less, ignoring image files:
find . -type f -name "*.php" \( ! -name "*.png" -a ! -name "*.jpg" -a ! -name "*.mo" \) -size +24k -exec less {} \;I ran a few variations on the file extension just to be sure.
I also found the files with the name “.. ” which you could easily miss. Again I used find to find them 🙂
find . -type f -name ".. "I also ran diff checks over themes, plugins and core files to see if there were any changes anywhere else.
Forum: Fixing WordPress
In reply to: Messed up wp.config file and now my posts and pages are goneSorry my mistake, I meant wp-config.php.
Forum: Fixing WordPress
In reply to: Messed up wp.config file and now my posts and pages are goneIf you’re sure that you’ve used the correct database credentials, maybe you used a different table prefix in the new wp-config.php file. If that’s the case, your database will have two separate sets of tables and effectively two installations.
Check the file and compare it to what you see in Phpmyadmin.
Edit: typo corrected
Forum: Fixing WordPress
In reply to: blog posts- only showing 1 on home pageYou spelt the URL incorrectly.
It’s possible that your theme shows a certain number of default widgets in the absence of any user configured ones. I would check the code for you but I think your theme is commercial in nature. Maybe ask in your theme’s support forums.
Forum: Fixing WordPress
In reply to: ImagesWhilst not providing a solution for you yet, this plugin looks promising and search by filename is on the ToDo list: