Pretty URL


Today, a lot of web-content is dynamic, meaning that the page you see does not physically exist on the server. Instead of this, the page is put together on the fly by a server-side script. A common way is the method for passing data to the script via the query string. Then, the result is that the final links to your pages can end up complicated and unfriendly, as for example:

http://yourdomain.com/articles/show.php?category=8&article=145&page=3


In order to convert these complex dynamic URLs into easier to read, static URLs such as:


http://yourdomain.com/articles/show.php?category=8&article=145&page=3, it is recommended to use the concept of “pretty URLs”

 

 

Usually, the first format is referred to as “ugly” and the second as “pretty” for the sake of clarity and to save unnecessary repetition and so it will be done in this article. With regards to this technique, these terms are commonly used.


 
            Login



 Remember me

Lost Password?
Register