kwdavids
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Separators disappeared after switching to Twenty Ten themeThank you again! It turns out that the line is essentially invisible on my older monitor, so rather than trying to make it thicker, I was trying to figure out how to make it not missing.
At least for the <hr />, knowing what I was looking for made it easy to find the solution in existing forum topics.
I added:
hr {
height: 2px;
background: black;
}to the Appearance > Customize > Additional CSS option. I knew to put it there because of your excellent answer to my other issue.
Forum: Fixing WordPress
In reply to: Images spill over into sidebar with Twenty Ten themeThank you for the elegant and effective solution to my problem.
Thank you for your advice. I had not realized that a faulty theme (one that was working OK to display the site) could prevent wp-admin from working, but that was indeed the case with my site.
Since the site is old and no longer being updated, I decided that rather than fighting the theme, I would just replace it with my old favorite Twenty Ten.
The particular steps I took were to backup the site, and then do a manual WordPress upgrade from 6.0.3 to 6.2. (That didn’t fix anything, but I had to try it). Then I renamed the inove theme, and after that I was able to access the wp-admin functions where I could select a new theme.
And really, the the Twenty Ten theme with its default image of someone walking away down the road, is a good one for a site that has served its purpose and is now only a historical reminder.
Thanks for your attention. I’ll try to get this in the right place.
Forum: Fixing WordPress
In reply to: Background shows through on Canvas Theme after WP 5.9WooThemes dropped support for Canvas years ago.
Forum: Fixing WordPress
In reply to: Problem embedding PDF – no pluginNevermind. I wasn’t embedding a PDF but a link to a viewer. OOPS.
No, when I moved, I just de-activated the plug-in. I had no idea that something else was needed.
Disabling the firewall doesn’t work.
I tried that. I disabled the firewall and then moved the files. The site worked. Then I activated WordFence and it crashed.
When I migrated sites with a migration tool it was OK, I presume because the tool didn’t copy .htaccess. I had to go through the process of reinitializing WordFence and it wrote the new .htaccess file.
In the failing case, the site was copied by the host to a new directory, including user.ini and .htaccess.
Perhaps the solution is for WordFence to re-do those configuration files every time it is activated, not just when .htaccess lacks the WordFence section.
Forum: Fixing WordPress
In reply to: Finding and removing hotlinksOK, Cache Images is working in almost all cases. It’s throwing a handful of false positives, and it won’t automatically fix a couple.
Forum: Fixing WordPress
In reply to: Finding and removing hotlinksI am looking for all the images linked in my site’s content.
I thought “cache images” was working, but at least it is finding URLs of hotlinked images and putting some of them in the Media library.
Thanks for the suggestions:
My initial problem was that I was running out of bandwidth and didn’t know why. WordFence real time traffic showed nothing. I then tried an old access log analysis tool I had written and it showed nothing either. Only after I went into the code did I find that it was excluding .jpg files. Once I fixed that, I found out what was really happening. Once I knew what was going on:
1) I did rename the file first thing.
2) Unless I missed something, I don’t think WordFence ever sees accesses to .jpg files, so it can’t count the number of accesses to block them.
3) There was no country pattern. I looked at the top 3 IP addresses, each with more than 15,000 accesses. The top one was from Oregon, #2 was from Brazil and #3 from India.
4) I contacted my web hosting company, VPS.NET. They were unwilling to help me set up an .htaccess file or block my long list of IP addresses. All they were willing to do was charge me lots of money for more bandwidth. I have since canceled my account there.
5) I totally stumbled upon an option in cPanel to block hotlinking altogether. I had found an article to block by referrer with .htaccess, but what I came up with didn’t work.
6) I contacted Bitballoon, and they never replied back. But I can’t really blame them. All they are doing is hosting a web page with a lot of pictures on it. It’s those thousands of computers accessing the page that are the problem.In any case, I have moved to a new host, one that happens to give me unlimited bandwidth. They have a dashboard option to block hotlinking, which I have implemented. Things appear stable at the moment.
- This reply was modified 7 years, 2 months ago by kwdavids.
Forum: Fixing WordPress
In reply to: wp-comments-post.php very slow (problematic function identified)I had a similar problem where there was a delay up to 20 seconds after adding a comment before the page fully rendered. In my case removing the “Subscribe to Double-Opt-In Comments” plug in fixed it.
Forum: Fixing WordPress
In reply to: MIgrated WordPress site has collation problemsOK, I fixed it. I had to remove a
define(‘DB_CHARSET’, ‘utf8mb4’);
directive from wp-config.php
Forum: Fixing WordPress
In reply to: MIgrated WordPress site has collation problemsI have found the same problem in both posts and comments, so the different database collation isn’t the problem.
Forum: Fixing WordPress
In reply to: Errors involving class-phpmailer.php and pluggable.phpYou’re correct that a file file was missing (actually there were at least 2 both related to sending mail). I haven’t done any recent site maintenance and I am concerned that the files went missing.
What I did, before I saw your response, was to run the WordPress re-install. That seems to have cleared the problem.