Category Archives: Wordpress Tips & Guides

How to exclude a sub-folder from WordPress control?

How to exclude a sub-folder from WordPress control?

Here is a quick fix for those who have come across this problem and looking for a solution to stop WordPress from redirecting.

If you have WordPress website with a sub folder that needs to be outside the control of WordPress then this little fix will get rid of your headache.

This requires editing the .htaccess file either from your ftp account/cpanel or via the WordPress dashboard with admin login. If you don’t know how to edit your .htaccess file from within your WordPress then search for plugins that allow you to edit this file.

It is a simple change and most websites have already a default .htaccess file.
Within the htaccess file locate the following code:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Change the following line from this

RewriteRule . /index.php [L]


RewriteRule ./ /index.php [L]

and that is pretty much all you need to do. It was a life saver for me.
I wanted to use this so that I can password protect a private use folder.
I use this particular folder to store personal documents that I can view from any place or computer and I need to provide valid user login details.
If you’re using CPANEL you can set this up in the “Directory Privacy” icon.

Have a great day!

WordPress error: Unable to create directory uploads. Is its parent directory writable by the server?

The dreaded error:

Unable to create directory uploads. Is its parent directory writable by the server?

I’ve got my hands wrapped around my head and telling myself “how to fix this, how to fix this, how to fix this…”. After a few moments of self talk, some disillusionment and finally over to Google search landed me on a couple of sites that had given supposedly clear solutions. But, you know what even Google has lost it’s touch and provides search results that are so old it’s just not funny anymore.

Anyway, after more thought and thinking and people writing about changing directory permissions to 771 and then some even went far as 777.

Although it’s not the devils number it sure is close enough for any would be sinister hacker to come right through and help themselves.

Improper File Paths

The problem with this type of “directory uploads” has got to do with having proper paths in the settings.

It Silently Happened While Moving WordPress Sites

This week I’ve been working on moving 50 sites from one server to another. It was all done manually and without having access to SSH. I moved some websites across into the same cpanel account and thus the original uploads directory contained a path that was now totally irrelevant to the new uploads directory.

Because of the way I move WordPress sites across to another server – I fully restored the database directly into MySQL using MysqlAdmin application in Cpanel without altering any settings. Hence, the old server settings got transferred to the new server and keeping old server paths which begot this error come alive.

I did not realise it at the time that the error was there waiting to show itself at the right moment (a few moments ago). I should have thought of this while I was recreating the database and the wordpress on the new server. However, WordPress continued to work without a problem until I tried to add a new theme to the site. It then gave me this error. The error also comes up if you try to upload a media file etc. If you have a plugin that does downloads to the site then that also will not work correctly and until you remove the problem.

How to fix the “Unable to create directory uploads. Is its parent directory writable by the server?” error.

To come to the point after that rant here is the simple solution to fixing this error:

Log into your wordpress dashboard and head over to your Settings –> Media page.

On this page you will find an entry for the uploads directory “if it is set”. Otherwise it will not appear if everything is working fine.

It’s a weird problem and I’ve come across this a few times in the past.

If there is a setting for the uploads directory or path then simple erase it and save the settings.

Let us know below in the comments section if this fixed your problem.

That’s all, cheers!


WordPress Advantages over Traditional Websites

The Power of WordPress and Why You Should Have Your Website Built On Top of it.

WordPress is a great platform to have a website, a blog, a fun site, a business site and for that matter any type of website. If you can see a website on the web then it can have the underlying WordPress engine to run that website.

Moving your existing site to WordPress is going to take some work but it’s not going to cost a lot in the long term. As a matter of fact you will save money and time in the future.

Here are some of the key attributes that make up WordPress such an engine to use on a website.

  • It is has paved the way for a new evolution of websites.
  • There is a small learning curve that is involved in getting to speed with creating pages and posts on the website.
  • Once the first hurdle is made the rest is easier.
  • It is built with a secure backend. You will need login credentials to login and alter content. It makes it easy to edit the site from anywhere around the world.
  • Security can be increased with added plugins that do a great job at it too.
  • Changes to your site is immediate. You can make an instant change there and than.
  • If you can use word processing software like Microsoft Word then you can create pages and posts just as easily.
  • In the long term you will save money on parts and services – because there really is not much work to be done here.
  • Adding new posts/pages is easy and editing existing ones are just easier. You can do 80% of the work yourself after having the site setup.
  • Your site is consistent throughout and the look and feel of the site is uniform.
  • The menu system can be changed as simple as moving and adding relevant posts and pages to the structure.
  • Do you want to schedule posts or pages for future release – well, you can do that too, and quite simply.

You can read the rest here

This article was brought to you by Expert Web Media designs websites for small to medium sized businesses. We can port existing sites over to WordPress. Contact us for your WordPress requirements.

How To Protect a Web Directory with .htaccess

Protecting a folder or a directory on your website is easier than you may think with htaccess.

FTP Program

It really involves one little file to be uploaded via your FTP program or

Creating a .htaccess file

We need to create a dot htaccess file “.htaccess” in the directory we want to protect. The .htaccess file will affect the current folder it is in, and all sub-folders.

This method will work if you know something about your IP.

.htaccess files are a feature of Apache and similar web servers.

Finding Your IP

To findout your IP just go to a search engine and type in “what is my IP” in the search query.

You will find that by clicking anyone of those active listings the sites that provide an IP will return to you the IP you’re connecting with.

Dynamic IPs versus Static

There are some ISP’s (internet service providers) who provide a dynamic IP. This means you are allocated a differnt IP each time your ADSL modem makes a connection with your ISP. With these types of ADSL connections you will eventually need to use your proxy’s IP or enter a broader coverage of IPs that you are likely to receive from your ISP.

For example lets say you IP is shown as

Each time you’re connected you may receive any one of these IP range ie. –

In this case we will need this information to create the correct entries within our .htaccess file

Here’s the basic entries that will need to be entered in the .htaccess file, there should be no leading spaces within the htaccess file.

Order Deny,Allow
Deny from all
Allow from 123.123.123

If on the other hand your IP pool encompassed a wider range

i.e, –

Then the entrie to encode would be something like


So your overall .htaccess file would be

Order Deny,Allow
Deny from all
Allow from 123.123.122
Allow from 123.123.123
Allow from 123.123.124

This type of protection will stop any foreign IPs from even getting a peek at the directory even if they know the links.

I use this method to stop any IPs from trying to login to my login forms on my sites. This is a great way with very low overhead on the server to deter would be breakins to the backend of your wordpress sites.

It makes a lot of bots scratch their heads as to why their algorithm does not work.

Cheap and powerful way to secure a directory from external users.

Manually Moving a WordPress Site from one Server to Another

Moving a WordPress site from one server to another is a task that requires your hands to get dirty and play around with site software.

Firstly, the task is easier when you are moving a site from one domain to another if both of these domains are hosted on the same server.

It gets a little hairy if the sites are hosted on different hosts. The difficulty arises due to both sites using different server software or software that has different versions.

Most large hosting companies use custom Panels and usually don’t update as often as smaller hosting companies.
Updates tend to introduce errors for existing sites. This is another topic and we’ll just leave it at that.

The steps to follow are easy to follow and need a little bit of technical knowledge.
If you’re new to MySQL, PHP, phpmyadmin, CPanel or you don’t have the prerequisite knowledge for any of these then the task will be a hard one for you. But, it is not impossible since once upon a time I was also a novice and did not know what a hosting was. We all go through that path to learn and educate ourselves.

Talking of education it is almost free to educate yourself in many technical areas. Just Youtube any topic that interests you and you have 100’s of people who have shared their knowledge. Just like this article.

What you will need for this are: CPanel Hosting and WordPress. It is possible to move a WordPress to another Panel type but that is not covered here.

Here’s the steps in general. Details further down.

On the Site you are going to duplicate:

  1. Make a backup of your existing website and put that aside using CPanel Backup Procedure
  2. Compress and download the content directory with Filemanager and any other custom files and directories on the server.
  3. Log into PhpMyAdmin within CPanel and export the database for the site.

On the New Site You are Going To Create the Site

  1. Log into CPanel and Upload the “Content” from step (1) directory to the root “public_html” folder.
  2. Rename the original “content” to “content–” and then uncompress the file you’ve just uploaded.
  3. Open phpMyAdmin and import the database from step (3).

Not finished – Hands going to get dirty here

  1. Editing the Options table in the WordPress Database and fixing settings in wp-config.php file.
  2. Refresh new site and you should have the site moved without any problems.

I would like to say that it took me less time to do the above procedure than to write this article so far.

There are many plugins and tools to do this automatically but I find it easier to do this manually allowing me total control of the whole process.

Here are the finer details of moving a WordPress Site using CPANEL.

Coming soon.