evilbeet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: .htaccess problemHey Maliq,
Do you want to ban them from viewing or just ban them from commenting?
If you just want to ban them from commenting, blacklist their IPs under Options->Discussion. Much easier than messing with .htaccess, plus you can still get their page views.
If you want to ban them even from viewing, read this:
https://lorelle.wordpress.com/2007/09/20/the-easiest-way-to-ban-a-wordpress-spammer/
And use this:
Forum: Fixing WordPress
In reply to: Tag commentsHi mg,
I’m not sure that this is such a basic question — comments are not typically tagged — but it’s possible I’m misunderstanding you.
Can you provide an example of another website that tags comments the way you want to?
Forum: Fixing WordPress
In reply to: troubleshoot text color changeThe text looks black in my browser.
Forum: Fixing WordPress
In reply to: Help! WordPress Expert NeededOkay …
I hard-coded a bunch of stuff in my header.php, footer.php and sidebar.php. I didn’t realize how often WP is querying the database for info that can pretty much be hard-coded. I guess the point is to have a really flexible solution, which works great for most bloggers, but it trades off on efficiency, which gets to be a real problem when you’re seeing over 500K page views daily.
I also disabled pretty much all the plugins except for WP Super Cache, Pagebar and WP-phpMyAdmin.
Hopefully this will make some difference tomorrow during the peak times.
Also: I have quite a few pages where the comment count is well over 2000. They’re popular pages, and I think they’re slowing down the server considerably. I hate to do this to readers, but I may just have to bite the bullet and delete all those comments. Any other thoughts on the comment issue?
Thanks again to everyone for their help!
Forum: Fixing WordPress
In reply to: Help! WordPress Expert NeededIt’s already installed. ?? It doesn’t seem to be helping.
Although, WP Super Cache does give me this warning:
It appears that mod_rewrite is not installed. Sometimes this check isn’t 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use WP-Cache.
I asked my host and they say mod_rewrite is, in fact, installed.
Hmmmmm ….
Any other tips on reducing SQL load?
Forum: Fixing WordPress
In reply to: Help! WordPress Expert NeededI posted on the WP job board per the suggestion, but they haven’t even displayed my job posting yet, and it’s been a couple days.
Anyone out there interested?
Thanks!
Forum: Fixing WordPress
In reply to: Disable CommentsGo to Options->Discussion and uncheck “Allow People to Post Comments on Articles.”
Forum: Fixing WordPress
In reply to: Explaining SQL QueriesHi Pinoy!
Thanks so much, that was extremely helpful!
I’m trying to do some optimization, so I’m wondering about the get_bloginfo() function. It looks like this:
function get_bloginfo($show = ”, $filter = ‘raw’) {
switch($show) {
case ‘url’ :
case ‘home’ : // DEPRECATED
case ‘siteurl’ : // DEPRECATED
$output = get_option(‘home’);
break;
case ‘wpurl’ :
$output = get_option(‘siteurl’);
break;etc….
Could I save some SQL queries if I went in and manually edited it to look like this:
function get_bloginfo($show = ”, $filter = ‘raw’) {
switch($show) {
case ‘url’ :
case ‘home’ : // DEPRECATED
case ‘siteurl’ : // DEPRECATED
$output = ‘https://mysite.name.com’;
break;
case ‘wpurl’ :
$output = ‘https://mysite.name.com’;
break;I could not find the get_settings() function you mentioned.
Again, thank you so much for your help, it is very much appreciated!!!
Forum: Themes and Templates
In reply to: all posts in a category won’t showHey there,
It’s not a Previous Entries link, but, if you look closely at the bottom, you’ll see it’s indexed Pages 1 and 2 of that category.
Page 2 is here and is accessible from Page 1:
https://onlyinsilence.com/category/the-life-of-an-ordinary-earthling/page/2/
Forum: Fixing WordPress
In reply to: functions.php BYE BYEThat’s weird, but if it really is deleted, you could download WordPress again and upload the single functions.php file to your server.
Forum: Fixing WordPress
In reply to: posts_nav_link working in reverse orderEh, I’d just switch the order of the parameters in your call. ??
Forum: Fixing WordPress
In reply to: Difference between post and pageHi Thor,
One way to make your pages visible is to create hyperlinks to them somewhere on your website. I do it in the sidebar.
You can figure out the URL of your pages by going to Manage->Pages and then clicking “View” next to the page you’re interested in.
To list all your pages, you could put something like this line of code in your sidebar:
<?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>
Hope this helps!
Forum: Fixing WordPress
In reply to: Home page doesn’t load upFor what it’s worth, it’s working fine for me. Good luck!
Forum: Installing WordPress
In reply to: Sidebar Missing After Upgrade to 2.3.1Random — I removed the following line from the bottom of index.php and it seemed to fix the problem:
<?php wp_pagebar(array(‘before’=>’Pages: ‘))?>
Anyone know why?
Thanks!
EB
Forum: Installing WordPress
In reply to: Sidebar Missing After Upgrade to 2.3.1Oh and I am using the Default theme with modifications.