Author Archive q292u

Byq292u

WORDPRESS: How to disable all active plugins, without access to the dashboard..

See my earlier post as to why I needed to do this..

My site was down. Dead. No access to the admin functions. The problem was a plugin gone bad (when I tried to disable it).

So, I needed to disable plugins, but couldn’t get into the admin panel.

The excellent support guys at Unlimited Web Hosting came up with this ingenious solution:

Here’s what you do: use CPANEL or PLESK to access the WordPress database of your site directly. It’ll be something like phpmyadmin. Details vary with web hosting firms. If in doubt, ask yours.

Browse the WP_OPTIONS table. Look for a record called “active_plugins”.
Copy the contents of this field into notepad, and save it, just in case.
Now go back to the database, and EMPTY the contents of “active plugins”, and save it. (you can always restore it from the copy you made).

Now access your site. It should come back up, but with no plugins running, so it’ll be weird. Now go into admin as usual, and re-enable all plugins one-by-one, EXCEPT the one that caused the problem.
I’d DELETE that one..

** DISCLAIMER. If you try this solution, and it messes things up, that’s your problem. I take no responsibility for it. It worked for me. **

** If it all goes wrong, simply restore the database from your backup. You DO have a backup, right? **


Byq292u

DIGI AUTO LINKS | SERVER MELTDOWN!

Last week, I started playing with the excellent DIGI AUTO LINKS (DAL) wordpress plugin.

It’s an all-singing, all-dancing backlink-building system, which uses WordPress Pingbacks.

I had it installed on 4 sites, and I’d noticed that things were running slowly, with the occasional “Internal System Error” thrown in for good measure.

So I contacted the excellent support people at Unlimited Web Hosting to see what was going on.. Unusually, they wanted to RING ME.. unheard of!

I was tied up with other things for several hours, so when I finally got free, I checked my sites, and found that THREE had been suspended, (for server-hogging, I found out later..)

I worked out that FEEDWORDPRESS (FWP) was creating batches of posts that DAL was trying to process instantly, resulting in server meltdown.

We fixed the problem by pausing the DAL cron jobs, bringing the sites back up one at a time, and deactivating the DAL plugins. Normal servive resumed.

CONCLUSION: DAL doesn’t work for me.

It’s an excellent product, and would work fine on a normal blog, where there is a NORMAL level of posts. THAT doesn’t describe my sites..

Anyway, no worries, as there’s a full guarantee with DAL. I got a full refund.

DIGI AUTO LINKS (DAL)

UNLIMITED WEB HOSTING

Related External Links

Byq292u

Eliminate 404 errors! | Conserve Link Juice

Earlier today, I saw, and was impressed by a brilliant idea:
Why not trap all 404 errors (wrong URL), and redirect to a page related to what was typed in?
So there is no “404 error” page, and search engines don’t think there’s a dead link.

Initially, I thought “redirect 404 errors to homepage”. That’d work, but the visitor would probably not get what they were looking for. Search engines would be happy, though.

So I thought: why not redirect to a page related to what the visitor typed as the URL? You could use tags and categories to help in this.

There’s a PAID-FOR plugin that does this. It costs $97 for a multi-site license! 🙁

So, I had a look around, and found the “Smart 404” WordPress plugin.. Which does exactly what I described above. It misses *some* keywords, but it’s pretty damn good, and it’s free.

All my main sites now use it..


Byq292u

SETTING UP CRON JOBS IN PLESK

My web hosts Unlimited Web Hosting use the PLESK system rather than CPANEL.
There’s no direct access to the Unix Shell, so you can’t directly use Unix CRON commands.

The solution is in PLESK itself. Select Domains, then the domain you want to add a job to. Now find “Scheduled Jobs”, and select a “System User” – probably the FTP user.
Click “Add Scheduled Job”.
In “Minutes”, add the Minutes you want the job to run, eg “15,30,45,0” to run every 15 minutes.
In “Hours”, add the number(s) of the hours you want the job to run, eg “4,8,12,16,20”, or “*” for ALL hours.
Same applies for the “Day” and “Week” fields.

So, for example, if you want to run a task twice an hour, every hour, every day, use the following:
Put “00,30” in the Minutes field, and put “*” in all the other fields. Simple, but not immediately obvious.

I now have proper CRON jobs running my feedwordpress systems, and also “DIGI AUTO LINKS“. I’ve timed them to minimise cpu use..

Minutes:


Byq292u

Digi Auto Links Plugin

I’ve taken the plunge and actually BOUGHT a plugin.
It’s called DIGI AUTO LINKS, and what it does is use wordpress’s pingback system to build links between my posts and related posts on other websites.
It’s automated, and runs by a cron job.
It has the useful side-effect of adding loads of relevant tags to my posts, as well..

Right Now, you can get this great plugin for 66% discount, but I’m not sure for how long.. DIGI AUTO LINKS – DISCOUNT PRICE

So don’t complain if you’ve already missed the discount..


Byq292u

Digi Auto Links Plugin

I’ve taken the plunge and actually BOUGHT a plugin.
It’s called DIGI AUTO LINKS, and what it does is use wordpress’s pingback system to build links between my posts and related posts on other websites.
It’s automated, and runs by a cron job.
It has the useful side-effect of adding loads of relevant tags to my posts, as well..

Right Now, you can get this great plugin for 66% discount, but I’m not sure for how long.. DIGI AUTO LINKS – DISCOUNT PRICE

So don’t complain if you’ve already missed the discount..


Byq292u

Twitter Marketing

One of my sites has a MASSIVE number of followers on Twitter.
I’ve decided to try and leverage these followers by sending them the occasional affiliate advert. All I need to do is create a post about it, containing the appropriate link, and it will get tweeted via feedburner.
That’s not instantaneous though, so I’ve re-installed Twitter Tools* so that I can post immediately to Twitter when I create the post. The post will then get re-tweeted slightly differently when feedburner picks it up.
Anyone subscribing to RSS or e-mail via feedburner will also receive the adverts.. Result.

I’ve also added a Twitter box on the homepage, which displays the website’s last few Tweets.. and users can Tweet from there as well..

The first advert going out is for Unlimited Web Hosting, who host ALL of my sites. I REALLY rate them highly, so I have no qualms about recommending them.

* Not as easy as it sounds – I had to register as a Twitter developer, create a Twitter Application for the website, and go through the authentication process to make it work..


Byq292u

Twitter Marketing

One of my sites has a MASSIVE number of followers on Twitter.
I’ve decided to try and leverage these followers by sending them the occasional affiliate advert. All I need to do is create a post about it, containing the appropriate link, and it will get tweeted via feedburner.
That’s not instantaneous though, so I’ve re-installed Twitter Tools* so that I can post immediately to Twitter when I create the post. The post will then get re-tweeted slightly differently when feedburner picks it up.
Anyone subscribing to RSS or e-mail via feedburner will also receive the adverts.. Result.

I’ve also added a Twitter box on the homepage, which displays the website’s last few Tweets.. and users can Tweet from there as well..

The first advert going out is for Unlimited Web Hosting, who host ALL of my sites. I REALLY rate them highly, so I have no qualms about recommending them.

* Not as easy as it sounds – I had to register as a Twitter developer, create a Twitter Application for the website, and go through the authentication process to make it work..