I want to my adress look like this: www.example.com/112112/example
Where 112112 is a data, that I want to work with in a php script. How to do this? For some reasons, I dont want to the adress look like www.example.com?id=112112
I want to my adress look like this: www.example.com/112112/example Where 112112 is a data,
Share
You can use url rewrite to achieve the binding from http://www.example.com/112112/example to http://www.example.com?id=112112
For Apache webserver, you will find here a guide: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html