Friendly urls are urls created from an optimized structure where the user can easily enter them into your browser and simple way to access a particular page. It is undoubtedly one of the items that are taken more into consideration in the usability of a website or web application, thus are essential in any development project.

Product pages on an e-commerce, for example, it is normal that they present a structure where it takes the product code in the URL so that from it is accessing product data in the database, it is because web programming languages ​​are stateless, this means that they do not keep states of variables and each new access to a page variables are “clean”. For variables that can move between pages parameters are passed through the URL, so it is common to see in some applications urls containing various information. In the case of products, the product code is passed in the URL exactly for these issues. We go to a practical example to understand better, check below:

To access information from the sandwich X 101 code is used, this code is mostly the product code in the database. The code is passed through the URL in what we call absolute URL and thus the product page brings data sandwich.

www.myecommerce.com.br/product.php/?cod=101

As shown in the above URL, the product code is passed through parameter “cod”, then later in the programming code that can be used to load product data by programming the server.

Thinking the user side, it would be impossible for him from accessing this page directly, after all he does not know the exact code of X sandwich, so to make life easier that same user applies the concept of Friendly URL.

www.myecommerce.com.br/product/sandwich-x

A much simpler way, the user can now access the page directly without the need to know the exact code of the product.

Using URLs provides many benefits, besides facilitating the lives of the users leaves the internal linking structure much more logical and that counts for points including having a better placement in search engines like Google, for example. Only that often demand its implementation development hours and even some advanced technical knowledge as it is necessary not only to implement the logic, but also work on controls related to access. It is very common to see friendly urls working, but taking the user to the wrong pages within the application or website, so it is important to test and analyze their development very well.

friendly-url

In the new version 7.1, Scriptcase brings to you more this feature, your WEB application now has the ease of implementation of this item as important, do not waste hours of development implemented Friendly URLS, create them in a simple and quick as only Scriptcase offers. Download now the free version of this Scriptcase and enjoy more benefit that our tool available to you.

You might also like…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.