Reputation: 477
I am trying to create links like example.com/parameter
which leads to example.com?id=parameter
or example.com/index.php?id=parameter
using php
I searched alot about this and could not find a reference. all I need is the name of this technique so I can search for it.
Upvotes: 1
Views: 209
Reputation: 577
You need to create an .htaccess
file to rewrite your URL's, there are loads of tutorial out there, take a look at this article
Upvotes: 1
Reputation: 132098
You use URL Rewriting like mod_rewrite, but the design pattern is called a front controller
Upvotes: 1
Reputation: 16999
Check out mod_rewrite example. It's called URL rewriting or clean URLs.
Upvotes: 1
Reputation: 17099
This technique is called URL rewriting. The most common way of doing this is using Apache's mod_rewrite
module (you can Google that).
Upvotes: 0