In this post, we will see how to use .htaccess to create search engine friendly URLs. Using .htaccess, mapping dynamic pages to static address is easy and this helps search engines to index the pages fast, effective and strong.
Mod_Rewrite URLs for Search Engines .htaccess / URL Rewrite
Mod_Rewrite is a module in Apache webservers that allows you to manipulate URL's. In this tutorial, we are going to cover using Mod_Rewrite and regex to increase hits to your site from search engines (like Google) by making them search engine friendly.
Introduction to .htaccess .htaccess / General Guides
We introduced you to .htaccess and some of its useful features. In this part we will show you how to use the .htaccess file to implement some of these.
htaccess: Stopping "page not found" errors .htaccess / Error Handling
How to use an .htaccess file to automatically redirect requests for files that may have moved following a site redesign. This really useful technique will stop your users getting "page not found" errors after bookmarking pages on your site that no longer exist. Also solves problem of search engines that haven't caught up yet with your new site structure.
Introduction to .htaccess .htaccess / General Guides
.Htaccess is a small text file that control configuration aspects of an Apache web server. Most people are familiar with the .htaccess file in relation with the ability to restrict access to a directory via password protection. However, .htaccess can do a lot more than password protection. .Htaccess is an extremely powerful configuration tool that can customize the way your web site behaves and how your web server handles requests.
Editing .htaccess .htaccess / General Guides
.htaccess is an abbreviation for Hypertext Access; the default name for Apache's directory-level configuration file, which enables customizing the configuration directives i.e. the parameters defined in the main configuration file. However, the configuration directives need to be in .htaccess context and the user needs appropriate permissions to edit the file. The directives apply to the documents in all the directories and the subdirectories where the .htaccess file remains located. However, the other .htaccess files in the subdirectories may alter or nullify the effects of the ones in the parent directories.
Using .htaccess in your Web Project .htaccess / General Guides
Apache web servers allow the use of a text file called .htaccess to control certain behaviours within a website. The .htaccess file contains a list of brief instructions which are referred to by the web server prior to responding to a web request.
Control File Defaults in Apache .htaccess / General Guides
Apache allows webmasters to create special files called .htaccess and .htpasswd with which access control and a range of defaults can be managed. This tutorial will first of all show you how to create a .htaccess file, and then how to use it to control error reporting, default filenames, and password protection.