Continuing our review of htaccess files, today we’ll examine how to use mod_rewrite to create pretty URLs.
mod_rewrite rules are the power of apache which lets you to do magic withredirection. Using mod_rewrite rule you can create SEO friendly URL’s, forward specific request to any other domain, restrict access to webpages or website based on user agent and much more.
One of the best things I love Apache web server is that it instantly enables you to share files and resources via plain web directory index listing without having to spend time making any fancy web pages to serve them. However, there are times when you need to hide things out. To disable web directory […]