Archive for the ‘Tutorials’ Category
wp-content\plugins\fuzzy-seo-booster\seoqueries.php on line 507
Last Updated on Wednesday, 10 March 2010 10:15 Written by Simon Nicol Friday, 27 November 2009 12:36

I’ve always had problems with this plugin and until recently I’ve never actually seen it working, but I’ve now discovered that the problem is with IIS6 & IIS7 -
If you are using the Fuzzy SEO for plugin WordPress with IIS6 or IIS7 you will get this error: wp-content\plugins\fuzzy-seo-booster\seoqueries.php on line 507
as soon as you try to activate the Fuzzy SEO plugin. It’s a great idea and a nice little plug-in as long as you’re using Apache. I have posted MOGMartin the developer of Fuzzy to inform hom of the problem with IIS so hopefuly there might be an update for this soon (20th March 2010). Will keep you posted.
Simon
Tags: seo, wordpress | Posted under Articles & Reviews, Tutorials, wordpress | 2 Comments
IIS6 Compression for PHP – How to Compress CSS with GZip Tutorial
Last Updated on Wednesday, 25 November 2009 02:20 Written by Simon Nicol Wednesday, 18 November 2009 03:06
Having just learned that Google will be looking at website optimization as a criteria to influence search engine rankings beginning in 2010. It’s time for every web designer to hone their skills at several optimisation techniques. Read more: IIS6 Compression for PHP – How to Compress CSS with GZip Tutorial
Tags: IIS, Optimization | Posted under Articles & Reviews, Donate, Hints n' Tips, Tutorials | 1 Comment
IIRF Drupal, WordPress and IIS6 – How to get them working first time – Guaranteed!
Last Updated on Monday, 28 December 2009 03:10 Written by Simon Nicol Friday, 13 November 2009 01:37
If you’ve just downloaded IIRF – Ionic Shades friendly URL rewriter, but you can’t quite get get it running here’s a really easy to follow walkthrough to get your site up and running. There’s also a solution for WordPress to.
(Yes, I trawled the Internet to and none of the code I could find worked – This code will, first time Guaranteed!)
This is a complete walk-through/tutorial to get Ionic Shades IIRF clean and friendly URL rewriter up and running in just a few minutes (in fact the URL’s are so friendly I think they’re starting to interbreed – but that’s another story).
This post is specifically written for Windows 2003 Server and it has a complete and working example of the code you need to use for your IsapiRewrite4.ini file. If you just need the IsapiRewrite4.ini code you can skip to the end and just copy n’ paste, but this post might make a useful check list.
I know I’m not talking to idiots, but after the number of websites I’ve visited that provide dis-information / wrong information / code that simply doesn’t work. I thought I’d cover absolutely every angle – leaving no stone unturned, so that this post can become a sensible benchmark for people wanting to get IIRF easily up and running. Once you’ve done this a few times you’ll be able to get a new IIS website up and running with IIRF in about 20 seconds – literally!
This tutorial will allow you to host multiple websites on IIS6, whether they be Drupal (any version) or WordPress (any version) or both. I’m hosting over 40 sites on my Windows 2003 server and IIRF is rock solid, completely free and had I been suckered into useing ISAPI_Rewrite3 it would of cost $3,960! (£2374)
Create a directory on your system and arbitrarily name it ‘ISAPI‘. Don’t place it within your websites folder, but either one directory lower, or on another partition.
Right click on the newly created ISAPI folder and select Properties > Security tab > Add.
Now click on the Advanced button. Like so…

You’ll now see the Advanced dialogue box. Select Object Types

And just tick the box that says Computers

And then click OK.
Next click on the Find Now button, scroll down the list until you find IIS_WPG and IUSR_YourComputerName

(Use CTRL to make multiple selections – I did say earlier that I know you’re not stupid, but this tutorial is not just for Drupal developers, it’s also for WordPress users – LOL! Remember this website is WordPress and it’s helping you out right now so R.E.S.P.E.C.T)
Now click OK. and then OK again to add those names you have just selected
You’re now back at the Security tab, select the computer user IIS_WPG and give it the following permissions – no more, no less, it’s a security thing… Read & Execute, List Folder Contents, Read.

And now select the user Internet Guest Account – IUSR_YourComputerName and give it the following permissions:
Modify, Read & Execute, List Folder Contents, Read, Write.
Oy, this tut is taking me forever. I do hope you leave me a comment when your site is up and running.
(or maybe click on a Google Ad banner – Eeek! I didn’t just say that…)
Now click OK.
Right, that’s your folder permissions all done. If you want to use IIRF with multiple websites, just create a folder inside your ISAPI folder and call it yourdomainname and place the files IsapiRewrite4.dll and IsapiRewrite4.ini in there.
Drupal (all versions) IsapiRewrite4.ini code. Yes this code really does work. It’s running right now on Windows 2003 server for my Astrophysics website http://www.manonmars.co.uk in fact if you click on the link you’ll see the URL get re-written to http://manonmars.co.uk
Drupal
(all versions)
RewriteCond %{HTTP_HOST} ^(www\.manonmars\.co\.uk).*$ [I]
RedirectRule ^/(.*)$ http://manonmars.co.uk/$1 [I,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(?!favicon.ico$)([^?]*)(?:\?(.*))?$ /index.php?q=$1&$2 [L]
If you have a dot com, then it’s a simple modification to this:
RewriteCond %{HTTP_HOST} ^(www\.yourdomainname\.com).*$ [I]
RedirectRule ^/(.*)$ http://yourdomainname.com/$1 [I,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(?!favicon.ico$)([^?]*)(?:\?(.*))?$ /index.php?q=$1&$2 [L]
WordPress
(all versions)
RewriteCond %{HTTP_HOST} ^(caspianit\.co\.uk).*$ [I]
RedirectRule ^/(.*)$ http://www.caspianit.co.uk/$1 [I,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ /index.php/$1 [L]
Again, if you have a dot com, it’s a simple modification to this:
RewriteCond %{HTTP_HOST} ^(yourdomainname\.com).*$ [I]
RedirectRule ^/(.*)$ http://www.yourdomainname.com/$1 [I,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ /index.php/$1 [L]
Just make sure you have your IsapiRewrite4.dll and IsapiRewrite4.ini in the same folder. You won’t have any trouble at all, this code will work first time. If there’s any chance you have a problem, re-boot your server. There is probably another way of doing this without re-booting, but I don’t know what it is.
And now last, but by no means least:
IIS
Just run your Internet Information Services (IIS) Manager. Open your websites folder and select the website that you’d like clean / friendly URL working on.
Right click on your website and select Properties.

Now go to the ISAPI Filters tab and click the Add button.

Under Filter name: put some text in (this text is arbitrary, but it’s useful to put something appropriate in such as Ionic Shade’s IIRF). Then click on the Browse button and locate the file IsapiRewrite4.dll which is in your ISAPI folder.

And then click OK.
You know what? You’re done. That’s it, all finished. Will it work? YES IT WILL. Will you have any problems? NO YOU WON’T. If for any reason you don’t have immediate success, the only thing you will need to do is to re-boot your server.
I would like to thank the man who is so cool, even his own Mother knows him only as Ionic Shade… for writing IIRF, it’s absolutely great, it’s powerfull and it’s completely free. Though I’m sure he would appreciate a small donation – as might I (hint, hint). But if you’re poor and can’t afford it, no problem whatsoever. I’m glad to of helped!
Happy Web Designing!
Simon.
Tags: clean url, drupal, IIRF, Ionic Shade, ISAPI_Rewrite, wordpress | Posted under Articles & Reviews, Donate, Drupal Tutorials & Troubleshooting, Hints n' Tips, Tutorials, wordpress | 4 Comments
IIRF Wordpress – URL Rewriting for IIS6.0
Last Updated on Tuesday, 17 November 2009 12:03 Written by Simon Nicol Tuesday, 6 October 2009 11:36
Firstly – appologies to everyone who visited this blog over the last couple of days because my URL Rewriting was all wonky. Now it’s working again thank God (and a few handy websites) and back to normal. Thanks for your patience.
If you need to find out how to install IIRF on Windows have a look at this post first. It’s a complete walk-through from start to finish that will get IIRF up and running on IIS6 in no time at all. (This post is now pretty much redundant as the walk-through goes in to far more detail for both WordPress and Drupal installations than this post does.
This post is about how to get IIRF working on IIS6 running the fabulous WordPress.
Obviously you will need to change the domain name from CaspianIT to your own domain. I found parts of this code on a blog posting by John Sheehan, thank’s John! I did find that the code on John’s blog didn’t quite work for me, but there was some code on one of the comments on other blogs that when combined worked perfectly. You can read John’s blog posting here.
*Update*
I thought I would come back to show you the latest modifications to my IsapiRewrite4.ini file, this is the script that is running right now to deliver this very page you are reading right now – this is what it does and I think it will probably be suitable for majority of bloggers needs – thus the update.
RewriteCond %{HTTP_HOST} ^(caspianit\.co\.uk).*$ [I]
RedirectRule ^/(.*)$ http://www.caspianit.co.uk/$1 [I,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ /index.php/$1 [L]
The above script will change any page from an http://caspianit.co.uk request to a http://www.caspianit.co.uk
The reason I decided to go with the addition of the www instead of without is because the administration pages won’t work without the www! Yes I could put further conditions that would check for the ‘wp-admin’ and then not to rewrite the URL, but rather than complicate things further it’s easier just to go with the ‘www’ bit. Another reason is because if you’re using the XMLSiteMap plugin, it will write all our URL’s with www. attached to the URL.
One the second line the [I,R=301] does this: The I (must be a capital ‘I’) tells IIRF to no be case sensitive (which is quite ironic having to be a capital I – lol) and the R=301 tells the search engines that this is a permanent Redirect (301) to this URL. Using the R=301 will help your rankings in the search engines because Google et all will quite happily crawl both the http://www.yourdomain.com/yourpage AND http://yourdomain.com/yourpage and treat them as two completely separate pages – and then mark you down for having duplicate content – doh!
For the vast majority of you who don’t have a .co.uk domain name (or at least is you have a .com or similar) change the first line to the following:
RewriteCond %{HTTP_HOST} ^(yourdomainname\.com).*$ [I]
And that should do it. Obviously there are many different configurations but the script above should suit most WordPress installations. I think IIRF is great, it’s not only FREE it’s also powerful and it doesn’t have ridiculous licensing constraints on it. It may take a tiny bit of effort to set up but really it’s not a lot more than other ISAPI Re-writers and it doesn’t cost $99!
I hope this works for you.
Simon
Tags: .htaccess, free url rewriter, IIRF, ISAPI Rewrite, mod_rewrite, wordpress | Posted under Articles & Reviews, Tutorials | No Comments
How to reset the bios on an Acer TravelMate 4060
Last Updated on Tuesday, 23 June 2009 01:20 Written by Simon Nicol Friday, 5 June 2009 05:21
Ask the Experts:
It’s quite simple. If you’ve forgotten the password to get into the BIOS all you have to do is open up the largest panel on the bottom of the TravelMate, it’s the same one that covers the RAM and WiFi card, just toward to back of the Laptop you will see a small chrome covered battery. Just wedge this out working round the bit of plastic on the bottom of the case that would otherwise make this an easier task.
Once the battery has been removed, just wait for a few seconds and then pop it back in. Voila! You should now be able to boot your system up and change the settings in the BIOS or do whatever it is you wanted to do.
Posted under Laptop Repair, Tutorials | No Comments
Hot Topics
- Creating a Drupal 6 custom login form - Step by Step tutorial.
- WordPress Contact Form 7 & WP-Mail-SMTP problem solved
- imagecache wrong path - SOLVED!
- Adobe Contribute CS4 - cannot verify your connection Information.
- IIRF Drupal, WordPress and IIS6 - How to get them working first time - Guaranteed!
- Drupal - The selected file... could not be uploaded. Only JPEG, PNG and GIF images are allowed
- Learning About Drupal
- Feeling sick after watching IMAX - Avatar
- Wordpress widgets not saving or dragging?
- How to take Ownership of a Drive, Folder or File in Windows 7
- 7129/6105195 Edward Leedskalnin's anti-gravity - How he built Coral Castle.
- Why do I need to keep resetting my router?
- IIS and Drupal - Enable Clean URL's
- IIRF Wordpress - URL Rewriting for IIS6.0
- Windows 7 Problems.
- Drupal mailhandler smtp localhost error
- Is it Moore's Law or the Microsoft Inverse Square Law?
- Contact
- Drupal Gmail Module - Solved.
- IIS7 - No HTTP redirect icon
