Ok let's get this in the right order.
You do NOT re-write "dynamic" URLs to "static looking" ones. It is actually
the other way around.
The "static" alias is redirected internally to the REAL URL that delivers the content.
User agents make a HTTP request to the server for
, the server loads and reads the .htaccess (shorthand for h
) conditions and rules then "instructs" the useragent to make another HTTP request for the actual URL and sends a HTTP response code for the real URL to the user agent.
.htaccess has no means of reading the documents to determine what the "title" is, your site navigation has to output the alias (friendly name) then your htaccess rules have to "know" how to re-request the true URL.
You need to read up on mod_alias
directives and Apache's tutorial on htaccess
Please login or register to view this content. Registration is FREE
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
Last edited by chrishirst; 05-13-2012 at 09:58 AM..