views:

261

answers:

3
A: 

search for url rewrite on google.

here is a guide from apache

smoove666
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Mark
+5  A: 

mod_rewrite is the apache module that allows this to occur. Other web servers have their own implementations.

For a beginners guide, check out this blog post.

Matthew Vines
+2  A: 

Might be a bit complicated if you don't know where to begin... you have to rewrite the URLs with something like this

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /index.php?url=$0 [L,QSA]

And then when you go to a URL like http://www.bankcharges.com/bank-charges-advice/, your server will actually call up http://www.bankcharges.com/index.php?url=bank-charges-advice/. And then in index.php you can handle that query however you want (usually by pulling something from the database). Start by learning mod_rewrite.

Mark