Posts Tagged with 'htaccess'

WordPress and Website Owners Do You have Directory Listing Enabled?

Call it my negligence or anything else but since the day I setup this website, I did not care to go back and check if I had taken care to disable directory listing on all the folders in my website. For those who are wondering what Directory Listing is, a simple explanation could be that with Directory Listing enabled, your web server will list or show all the files and folder within a folder that does not has an index

Continue Reading

Blog Web Hosting: 5 Points to Consider Before Buying a Hosting Account

Many of our readers have sent emails from time to time asking for help with various aspects of blogging, blog hosting and blog hosting software. One of the most common mistakes, that we observed, most of them were making was not to check what their blog web hosting company was offering before they purchased an account with them. This article will take you through some of the most common features that you must check before you decide to host your

Continue Reading

Apache mod_rewrite Examples

Welcome! This page contains information about mod rewrite, 6 most common mod_rewrite examples (below) to help you write search engine friendly URLs (SEO) and also some steps to check whether mod_rewrite is enabled on the web server that is hosting your website just in case mod_rewrite doesn’t work for you. Read on…
One of the many sophisticated and powerful modules in Apache is mod_rewrite. It’s used for URL manipulation, also known as URL rewriting. It’s very powerful but very complicated in

Continue Reading

Beginners guide to .htaccess file with examples – Part II

I hope you have gone through the examples listed in first part of this tutorial. If not, it’s here – [Beginners guide to .htaccess file with examples].
In this part, we will cover more examples with .htaccess file.
Presenting custom error pages
Use .htaccess file to present users with your custom pages for 401 [Authorization Required], 403 [Forbidden], 404 [not found] and 500 [Internal Server Error].
Syntax:
ErrorDocument < error-code > < location -of-custom-page>
Examples:
ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
You

Continue Reading

Beginners Guide to .htaccess File with Examples

htaccess file allow us to make configuration changes on a per-directory basis. htaccess file works in Apache Web Server on both Linux/Unix and Windows operating system. This article has some basic .htaccess examples, such as htaccess redirect, to get you started with .htaccess right away. Just copy and paste the lines mentioned in this post below, with or without any modification, in your .htaccess file and it should work.
There are several things that developers, site owners and webmasters can do

Continue Reading

Categories

RSS feed