Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter tintypes

    (@tintypes)

    OK, found it. Your comment got me thinking. Found another .htaccess inside my wp-admin folder. That had the errant redirect. No longer have any idea why that was in there. But I’m back in business. Thanks.

    Thread Starter tintypes

    (@tintypes)

    .htaccess contents:

    # Block these IP addresses from reaching my site
    order allow,deny
    deny from 158.64.42.135
    deny from 195.7.10.56
    deny from 46.4.50.141
    deny from 188.127.240.61
    deny from 200.122.146.28
    deny from 80.254.66.5
    deny from 194.44.169.156
    deny from 71.237.2.169
    deny from 208.165.55.157
    deny from 46.115.24.27
    deny from 201.191.198.66
    deny from 71.176.101.77
    allow from all
    
    # Block hotlinking of images
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bestrppc.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?roberteckhardtphotographs.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?innocentsabroad.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?perfectlikeness.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
    
    # Protect the wp-login.php file from access
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_URI} wp-login.php
    RewriteCond %{REMOTE_ADDR} !^24\.6\.
    RewriteRule .* http://bestrppc.com/ [R,L]
    </IfModule>
    
    # Protect the wp-register.php file from access
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_URI} wp-register.php
    RewriteCond %{REMOTE_ADDR} !^24\.6\.
    RewriteRule .* http://bestrppc.com/ [R,L]
    </IfModule>
    
    # BEGIN WPSuperCache
    # END WPSuperCache
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    # END WordPress

    Great! I look forward to the update and fix.

    Although I see your comment that this issue has been fixed. I still can’t get the category attribute to work. I am using MarketPress e-commerce plugin, and it creates a custom post type called product. CPT Shortcode can find and list all my products, but when I use a category attribute, it always returns “No Products Found”.

    Is this possibly an issue with MarketPress’s implementation of custom post type taxonomies? (I have noticed that Custom Post Type UI plugin does not “see” either MarketPress’s product custom post type or its categories.) Or has this not yet been fully fixed in CPT Shortcode. I’m using current WP and MarketPress versions, and CPT Shortcode version 1.3.6.

    Thread Starter tintypes

    (@tintypes)

    Yes. User error (surprise!). I had the settings wrong on the Settings>Reading section, so WP thought my home page was a static page, not a page of posts. WordPress is great, but there are so many settings and permutations!

    Thread Starter tintypes

    (@tintypes)

    I’d prefer, in this thread anyway, that we avoid discussing the pros and cons of security through obscurity. I’ve seen lots of discussion on this — so let’s assume I want to do it anyway.

    Unfortunately, as I mentioned, option 2 does not work — not flawlessly, anyway. I my experience, option 2 has resulted in partially broken sites. There are, apparently, some instances of “wp_” in the database that should not be changed. Probably names of some plugins, for example. Possibly other instances. Problem is, I don’t know which instances should not be changed — when I look in the tables, there are quite a few that look debatable to me. I’m looking for some help in determining exactly where “wp_” should be changed, and where it shouldn’t. Or at least, I think that is the problem.

    Thread Starter tintypes

    (@tintypes)

    Russell–

    Many thanks. I used the model on your demo web page, with a few adjustments, and it worked! Here’s what I wrote:

    slickr-flickr id=”8623220@N02″ type=”gallery” search=”sets” set=”72157619452486566″ items=”10″

    See it in the sidebar here: http://www.bestrppc.com

    No idea what I was doing yesterday that didn’t work — I thought I did exactly the same as today. Oh well. The number of images isn’t an issue — I only want 8 or 10, otherwise the sidebar is too distracting.

    Perhaps you could help me on a refinement? I searched your list of Slickr Flickr parameters and couldn’t find a way to make the thumbnails proportional. FlickrPress (which I still can only get to show images from my own photostream or favorites) has an option for proportional thumbnails. These work great for the LOC newspaper pages, which show full-page, rather than cropped. Is there a way to get Slickr Flickr to do this? If so, your plug-in would be *perfect*. Thanks so much.

    The fact that your pages load perfectly well at some times and not all, generating a 500 Internal Server Error, at other times — that is a pretty clear sign that the problem is not an errant plugin or theme.

    I had this exact same problem from the day I signed up with GoDaddy (about a month ago) until last week. Here’s the short answer: It is NOT your fault, your plugins, or your theme. You need to call GoDaddy support and tell them what is happening. AND you need to tell them you want to switch to a different server. You will have to change servers, to new server, not another old one, or this will keep happening. There’s nothing you can do on your end to fix this.

    I worked with their support over a period of several weeks, and talked with a number of good people who may or may not have been totally forthcoming about the problem. I first asked them to add an error log for me (you can do this too, if you like). After seeing that the errors were almost always timeouts, I called again. Another tech told me my server was overloaded with a few sites hogging up all the processing time, that they were aware of the problem, and they were working to move those sites elsewhere. Although I was told the fix would be in “tomorrow”, if anything, things got worse. He suggested I request changing servers at one point, but I was also told I needed to call at least 4 times before they would do that.

    Finally, I got a tech who runs a WP site herself, and she told me quite bluntly that I was on an old server (despite being a new customer) that couldn’t handle WP’s demands, that was overloaded, and that they are in the process of replacing. I mentioned the “call 4 times” rule and she said she could initiate a change at any time — and did right then and there. She switched me to a new grid server; it took several hours to complete. And since then my site has been very fast indeed.

    So call GoDaddy and let them know you are unhappy. It is, as far as I can tell, the only thing that fixes this problem.

    Thread Starter tintypes

    (@tintypes)

    Thanks Andrea! I had done a refresh in Transmit with no luck. So, after your comment, I tried a simple quit and restart of Transmit — and voila, my plugins are all there. Lesson learned.

Viewing 10 replies - 1 through 10 (of 10 total)