Previously I have written articles on .htaccess, they are:
- Tip: Increase your blog’s chances to get Stumbled(Upon)
- How to redirect traffic that comes from certain URL to another
- Why you should redirect yourblog,com to www,yourblog.com
But since not all of you know how to use and modify .htaccess file on your server, I am writing this basic htaccess tutorial.
What is this (htaccess) file and what does it do?
It is a file for managing directories on the web server (i.e your web hosting). the name htaccess comes from “hypertext access”. With htaccess, you can do many things, like:
- Defining your error documents (eg. 404 errors)
- Password protecting your directories
- Blocking users by IP
- Blocking traffic from certain sites
- Blocking bad bots (eg. spammers)
- Preventing hotlinking of your images
- Redirecting pages to another
- and many more
Where is this file?
.htaccess is a file that is usually found in your root directory. If your web-host allows you to see it, you can see the file together with your other files in your root folder (see below). However sometimes web-hosts do make them hidden (so that you don’t accidentally modify it or delete it).

You can also create different .htaccess files for different sub-folders on your website. It doesn’t necessarily have to be in the root folder. However htaccess directives in the root folder will apply automatically to all sub-folders, so you have to be careful of what you do with it. For example, blocking google.com will be a nightmare to most sites. Especially if you are an e-commerce site that rely on Google traffic.
How to create them?
htaccess files can be created by notepad. Here is a sample htaccess file from my adesdesign.net site.
You can see that in my htaccess file I have defined Error files, and also have redirected adesdesign.net to www. adesdesign,net (with www). As you know URL with and without “www” are considered two different websites to the search engines. Therefore redirecting one to another is very important. Here is how you can do that.
So, creating htaccess file is easy. Just open the notepad, type in your commands and save it as .htacess (yes with dot in front) for the file name and select “all files” for file type as shown in the screenshot to the right. Save.
I hope you find this article useful. Do let me know if you have any questions in the comments section.
Subscribe to RSS: click here.
And another – for things that are already done (completed). After you have created and named them properly, 

Another important thing while creating your to-do items is, to set reminders. Usually for weekly tasks or tasks that repeat often I just set one reminder. But for the things that happen once a year, or once in 6 months etc, I will set two reminders. One is, one week before the task, and another, one day before the task. 








Normally in WP there will be one title throughout your blog, even on individual post pages it will only show the blog title as the title of the page. This is not good for Search Engines.
As usual there is a fix for it, and it’s pretty simple to implement. It’s not a plugin, you just have to replace the existing “title” tag with the “new code” that will make this all happen.
Do you hate when the picture that you post inside the blog post sticks to the text? Would you like to have that nice empty space around your pictures?




Recent Comments