You do not have sufficient permissions to access this page

Updated a friends blog (new Akismet) and then wanted to add a plugin.

Adding the plugin went ok, but trying to activate it I got the following error

“You do not have sufficient permissions to access this page”

Looked in the database and at permissions, googled all over the place. Loads of 5 years old answers.

Hey, Google, you need to update your databases!!!

Wanted to check if the theme was the issue and found that there was no “Edit” link.

Another round of googling and I came across this on

Disable File Editing
The WordPress Dashboard by default allows administrators to edit PHP files, such as plugin and theme files. This is often the first tool an attacker will use if able to login, since it allows code execution. WordPress has a constant to disable editing from Dashboard. Placing this line in wp-config.php is equivalent to removing the ‘edit_themes’, ‘edit_plugins’ and ‘edit_files’ capabilities of all users:

define(‘DISALLOW_FILE_EDIT’, true);

I changed it to

define(‘DISALLOW_FILE_EDIT’, false);

and Edit menu appeared and I could start the plugins.

Since I will probably forget everything about this in a few days, I added it here, so I can find it again.


Nofollow or Follow

Couple of months ago Google changed part of their nofollow strategy.

What they changed was the way they calculated page rank distribution to outgoing links.

However the main goal of nofollow was to let Google know that a link out of a blog was not to be considered as relevant and should not be counted as such.

The ‘potential’ problem with outgoing links to irrelevant sites is that our blog will be regarded as less focused, it would be a case of Theme Bleeding (*1). The theme loosing relevancy.

With Google’s change of the PR allocation many SEO experts suggested to abandon nofollow altogether, however I think this would cause the undesired effect above.

Still, there is be a better way to resolve the problem of Theme Bleeding (*1). And it would also be effective for any other searchengine that obey the rules in the robots.txt file.

The robots.txt file is a set of rules that tells the search engines what they can index of your site and what they can not.

With robots.txt we can instruct the search engines to skip directories, and that is what we can use for our improved nofollow strategy.

Normally when you write a blogpost and enter a link like <a href = ” http: / / “> the searchengine will follow the link.

To prevent this from happening we will change our link to
<a href = ” redirect/redirect.php?redirect=http : / / “>

The content of redirect.php would be

header(“location : $GET[‘redirect’]”);

and the contents of our robot.txt would be

User-agent: *
Disallow: /r/

You have now implemented a nofollow strategy that works for all search engines. An open question is does Google assign outgoing page rank different when you use robots.txt rather than when there are no rules in robots.txt. I have no idea. I guess it must be tested.

One benefit of the process could be that you are now cloaking your links to affiliate sites, though the fact that the destination url is in the redirect url, may be enough to give away the game.

And trouble with the whole process is that we need to remember to put in our link in the redirect form rather than in the normal form.

If you are using WordPress as your blogging platform and have a lot of existing posts, with affiliate links, then this process can become very boring.

And since I have a few of these blogs, I wrote a wordpress plugin to do the process automatically.

My requirements to the plugin are:

* Automatically change all external links in the blog to redirected ones
* Cloak the links in the process, so the redirection destination is not shown.
* Make it possible to exclude selected links (to pass outgoing PR to sites of choice)
* Reorganize the internal linking in the blog so all postings in one category are linked together. Increase Theme Density (*1)
* send an email with weekly and monthly click through stats in CSV format, so it can be imported into excell.

I have installed version 1 of my plugin on several of my blogs and will test over the next period how the ranking is improved in the search engines.

Does this have your interest?

I plan to package the plugin up and sell it eventually.

However, to do this I will need time to test it on different blogs, with different themes and layouts.

Unfortunately that takes time 🙁 but I shall let you know when it is ready.


You can read more about Theme Bleeding here.


Changing Existing WordPress Blogs Into Silo Structures

The advantage of a blog is surely that it is easy to add content.

You can optimise the blog a bit, using categories and titles in the url, but the linking inside a standard wordpress blog is, to say the least, a bit chaotic.

The best way would be is postings were linked together on the categories (topics) rather than on the date of publication.

To achieve this I wrote a wordpress silo plugin that will reorganise the linking between the posts dynamically. This means when I add a new post like the present it will automatically be inserted in the row of links for the categories.

silo structure of blog

So now it is only to see how the search engines will react to this.