.HTACCESS, ASIRRA, PERMALINKS, GODADDY, PERMALINKS MIGRATION, THEME SWITCHER, WORDPRESS, WP SUPER CACHE, AND WP-CACHE

WordPress Permalinks

Changing from default permalinks or standard permalinks to fancy permalinks or pretty permalinks with SEO (Search Engine Optimization) and other things in mind:

Dean's Permalinks Migration Plugin

If you were using default permalinks, leave the "Old Permalink Structure" on Dean's plugin setting page blank and click the update button. It will return a single slash mark.

Then go to WordPress Settings and then Permalinks. Click on any of the other choices besides the default, and the "Custom Structure" box will automatically populate. You can then change that to whatever you want. See the WordPress Codex: Using Permalinks for ideas on tags. You can leave off the trailing slash mark too. I did. I took it a step further. I'm now using /%year%/%monthnum%/%day%/%postname%.html

I like the extension (.html), because saved files are clearly associated with the default program that way. Most browsers will append .htm or .html automatically, but adding it just removes ever having to think about it again. I have had files save without extensions before, probably when I was in a hurry and taking too much for granted. I don't trust opening those, so I end up running scans on them when I go back to them perhaps months later. By adding the extension, it removes wondering later and the added hassle.

Dean's Permalinks Migration Plugin all worked for me the first time, but only because I thought about it for a while and read some of the early comments on the author's plugin page. If it doesn't work for you, there could be many reasons that have to do with your hosting service and whether or not you are on a Microsoft server rather than UNIX/Linux. You'll have to do some reading on it.

.htaccess and Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory

By the way, the change was appended to my .htaccess file rather than overwriting it. I had to copy it to "/" from "//", because I installed wordpress in a subdirectory named wordpress. "Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory."

WP Super Cache and GoDaddy

So, why did I want to do this? For one, supposedly, the words in the title of the post also being in the URL (page address) helps as being another location of keywords. However, that wasn't enough to get me to change. The fact is that WP Super Cache WordPress plugin doesn't work with the default permalinks (?p=1030 for example). The reason I want to use WP Super Cache is because it goes over the top of the WP-Cache plugin I've been using successfully for many months now but takes WP-Cache to the next level. It serves up pages while reducing steps back and forth to and from the server php-engine. I need all the speed I can get and to reduce overhead since I'm on the most affordable web hosting out there I think (GoDaddy).

GoDaddy Hosting

By the way, I've seen GoDaddy rapped left and right in my travels around the Web. Frankly, I've had zero problems, and GoDaddy is my fourth hosting service if memory serves. If you will read their help files, you can usually find the answer you need. Of course, they aren't going to let you nose around root as a super user if you're just on the economy, virtual, shared server, which I am as of the date of this writing.

Freedom of Political and Religious Speech

Let me say something else on GoDaddy's behalf. They appear to be believers in freedom of political and religious speech, which is a good thing. It is up to the individual to exercise self-control and to have a working conscience. It is true that there are people out there who say things that are deliberately designed to lead others off into pain and suffering that awaits, but if all of those people were silenced by coercive and violent means, which human being would be capable of deciding exactly where to draw the line on when to stop silencing people? As Jesus says, only God is good (perfect enough to know), and God judges no man or woman. Did you know that? Most people think God judges and condemns. That's the other spirit.

Back to WP Super Cache

Anyway, back to technology (which is only as good as the unselfish pursuits for which it is employed), I want to use WP Super Cache. However, I had to map out the whole plan before starting down this path, because GoDaddy presents a special case concerning WP-Cache on which WP Super Cache is built. So, I turned to the same place where I turned the second time for WP-Cache and that's givveronline.com.
GoDaddy WP Super Cache. Ramblings of a Bored Geek. February 17, 2008.

As I mentioned As I mentioned in CLEANING UP AND SPEEDING UP WORDPRESS AND MORE, Tuesday, September 16, 2008, I had manually made all the changes to WP-Cache but had that work stepped on. I didn't have a backup back then, and when I went back out onto the Internet in search of the info I had used [Using WP-Cache on GoDaddy (500 Error), by Brad. Online Dating Guide & Blog. September 8th, 2007.], I cane across givveronline.com where everything was all done and served up as a special version of the WP-Cache plugin just for GoDaddy. Well, he ended up doing the same thing for WP Super Cache.

If you're on GoDaddy and tried WP-Cache only to get Internal Server Errors or blank pages every other time you tried to access a page, try GoDaddy WP Super Cache. Read WP Super Cache, by Donncha first though. [UPDATE!] You better finished reading this though to save yourself a lot of trouble.

I downloaded the GoDaddy WP Super Cache. I did everything I was supposed to. It loaded. The settings page came up fine. I set things up and saved. The settings held. I thought everything was fine. However, when I had looked around on the site to see if everything was truly fine, I remembered that being logged in, I wouldn't see the speed-up. So, I opened Safari to go to the site so I could stay logged in on Opera. I was also ready to look at the cache via FTP. Well, the cache stayed empty.

I looked at the code. Sure enough, the GoDaddy fixes were there. I thought that maybe since the version was old, I'd just down load the latest one and make the changes myself. So, I cleaned everything out. I even emptied the .htaccess file after backing it up. I downloaded the latest version of Super Cache. When I went to make the changes, I discovered the GoDaddy fixes were already there as part of the plugin. That's good, because now I don't have to worry about updates overwriting the patches. Now, let's see if it will work.

Supercache Subdirectory Wasn't Automatically Created

Well, after going through everything suggested step-by-step, I finally moved the .htaccess up one directory level because I run WordPress from a subdirectory but there is an old configuration issue that I've never backed into to figure out. It would be too longwinded to explain here now. Then I manually created wp-content/cache/supercache/. The supercache subdirectory wasn't automatically created by the plugin. It works now.

Theme Switcher

However, it isn't compatible with the Theme Switcher. The Theme Switcher though is the old version. The newer one might work. I'm planning to try it out.

I slept on that last idea. I was tired when I wrote it. In thinking about it a little, there isn't a way that the plugins as written will work together. A switched theme would require a cache directory-tree of its own.

Theme Switcher Reloaded

I tried the newer theme switcher just to see. It did work as advertised, but the cache wasn't overwritten by the different theme choice. So, no more public theme switching for a while anyway.

Asirra

Next, I worked on the Asirra plugin, which is an anti-comment spam plugin for WordPress by Microsoft. It's a good idea and worked for a while. Today though, it gave me a bunch of invalids, even though I had selected the proper images for sure. It broke my theme too (too wide at lower screen-resolution settings). I try to avoid horizontal scroll bars appearing for people who use lower resolution. About 10-15% of the site's visitors use low-res.

Donate


The following should appear at the end of every post:

According to the IRS, "Know the law: Avoid political campaign intervention":

Tax-exempt section 501(c)(3) organizations like churches, universities, and hospitals must follow the law regarding political campaigns. Unfortunately, some don't know the law.

Under the Internal Revenue Code, all section 501(c)(3) organizations are prohibited from participating in any political campaign on behalf of (or in opposition to) any candidate for elective public office. The prohibition applies to campaigns at the federal, state and local level.

Violation of this prohibition may result in denial or revocation of tax-exempt status and the imposition of certain excise taxes. Section 501(c)(3) private foundations are subject to additional restrictions.

Political Campaign Intervention

Political campaign intervention includes any activities that favor or oppose one or more candidates for public office. The prohibition extends beyond candidate endorsements.

Contributions to political campaign funds, public statements of support or opposition (verbal or written) made by or on behalf of an organization, and the distribution of materials prepared by others that support or oppose any candidate for public office all violate the prohibition on political campaign intervention.

Factors in determining whether a communication results in political campaign intervention include the following:

  • Whether the statement identifies one or more candidates for a given public office
  • Whether the statement expresses approval or disapproval of one or more candidates' positions and/or actions
  • Whether the statement is delivered close in time to the election
  • Whether the statement makes reference to voting or an election
  • Whether the issue addressed distinguishes candidates for a given office

Many religious organizations believe, as we do, that the above constitutes a violation of the First Amendment of the US Constitution.

Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.

That said, we make the following absolutely clear here:

  • The Real Liberal Christian Church and Christian Commons Project not only do not endorse any candidate for any secular office, we say that Christianity forbids voting in such elections.
  • Furthermore, when we discuss any public-office holder's position, policy, action or inaction, we definitely are not encouraging anyone to vote for that office holder's position.
  • We are not trying to influence secular elections but rather want people to come out from that entire fallen system.
  • When we analyze or discuss what is termed "public policy," we do it entirely from a theological standpoint with an eye to educating professing Christians and those to whom we are openly always proselytizing to convert to authentic Christianity.
  • It is impossible for us to fully evangelize and proselytize without directly discussing the pros and cons of public policy and the positions of secular-office holders, hence the unconstitutionality of the IRS code on the matter.
  • We are not rich and wouldn't be looking for a fight regardless. What we cannot do is compromise our faith (which seeks to harm nobody, quite the contrary).
  • We render unto Caesar what is Caesar's. We render unto God what is God's.
  • When Caesar says to us that unless we shut up about the unrighteousness of Caesar's policies and practices, we will lose the ability of people who donate to us to declare their donations as deductions on their federal and state income-tax returns, we say to Caesar that we cannot shut up while exercising our religion in a very reasonable way.
  • We consider the IRS code on this matter as deliberate economic duress (a form of coercion) and a direct attempt by the federal government to censor dissenting, free political and religious speech.
  • It's not freedom of religion if they tax it.

And when they were come to Capernaum, they that received tribute money came to Peter, and said, Doth not your master pay tribute? He saith, Yes. And when he was come into the house, Jesus prevented him, saying, What thinkest thou, Simon? of whom do the kings of the earth take custom or tribute? of their own children, or of strangers? Peter saith unto him, Of strangers. Jesus saith unto him, Then are the children free. (Matthew 17:24-26)

  • Subscribe


  • Tom Usher

    About Tom Usher

    Employment: 2008 - present, website developer and writer. 2015 - present, insurance broker. Education: Arizona State University, Bachelor of Science in Political Science. City University of Seattle, graduate studies in Public Administration. Volunteerism: 2007 - present, president of the Real Liberal Christian Church and Christian Commons Project.
    This entry was posted in Uncategorized. Bookmark the permalink.